@elastic/charts
Advanced tools
Changelog
56.0.0 (2023-04-18)
header
property of TooltipInfo
type was simplified to PointerValue
as to include only relevant properties. This change is propagated to all other types using header
as a TooltipValue
. The TooltipInfo.values
used to conditionally pass only highlighted TooltipValue
s when using a customTooltip
and now always passes all values
.Changelog
54.0.0 (2023-03-09)
integersOnly
prop on axis component (#1958) (93f5497)Layer.fillColor
function now accepts the following signature: (key: Key, sortIndex: number, node: ArrayNode, tree: HierarchyOfArrays) => string;
This exposes a similar set of information but allows us more control over the internals to define/generate the legend. The legend for pie/donut/mosaic/treemap charts is sorted in a hierarchical way even if the legend is flat.
The default highlight strategy used to highlight partition elements when hovering over the legend item has been changed to LegendStrategy.Path
.Changelog
52.0.0 (2023-01-27)
customTooltipDetails
type is now passing details
as props
using a ComponentType
.