layerchart@0.79.4
Patch Changes
- fix: Properly handle
nullfill/stroke when creating objectId for canvas reactivity (c96c76f)
null fill/stroke when creating objectId for canvas reactivity (c96c76f)feat(Labels): Support passing data and x / y accessor overrides (c5b297c)
feat(Points): Support passing x / y accessor overrides (8ea6f12)
fix(AreaChart|BarChart|LineChart|ScatterChart): Hide labels and points when toggling selected series from legend. . Add getLabelsProps and getPointsProps slot props, useful when override slot (5602e04)
fix(AreaChart): Fix labels placements when using seriesLayout="stack" (5602e04)
class to after recent refactor to handle reactive canvas styling (b025d19)fix(getComputedStyles): Ignore transition classes to allow immediate reading of css values (ex. transition-opacity affecting opacity-10) (#339)
fix(render): Multiply fillOpacity by overall opacity for fill to support opacity classes (ex. opacity-10) (#339)
fix: Memoize creating canvas gradients to improve reactivity detection (#339)
visibleSeries as slot props (along with series) to enable filteirng custom tooltip implementations (slot override) (12a8068)879898a)feat(TooltipContext): Support lockable tooltips, useful for interactive elements / dense data. Control using <Chart tooltip={{ locked }}> (#333)
feat(Tooltip): Support passing pointerEvents to enable clickable tooltip content. Useful with locked tooltips (#333)
feat(TooltipHeader): Support passing value and format (similar to TooltipItem) to simplify overrides from simplified charts (#335)
feat(AreaChart|BarChart|LineChart|ScatterChart): Enabling passing props={{ tooltip: { header: { format: ... } } }} (#335)
feat(BarChart): Add <BarChart props={{ tooltip: { hideTotal: true } }}> to hide total (useful for some group series use cases) (#335)
mode, onClick) when passing additional props to simplified charts (ex. <AreaChart tooltip={{ locked }}>) (#333)