LayerChart

Releases (230)

Patch Changes

  • 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)

Minor Changes

  • fix: Improve canvas reactivity for all primatives (Arc, Area, Circle, Spline, etc) (#339)

Patch Changes

  • 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)

Minor Changes

  • breaking(AreaChart|LineChart): Change default stroke width to 1 instead of 2 (be7e002)

Patch Changes

  • fix: Do not override default classes (ex. highlight series opacity) when providing other classes (c928a6a)

Minor Changes

  • 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)

Patch Changes

  • fix: Retain default tooltip context props (ex. mode, onClick) when passing additional props to simplified charts (ex. <AreaChart tooltip={{ locked }}>) (#333)

Patch Changes

  • fix(AreaChart): Respect selected series (legend) when showing tooltip total (b59485d)

  • fix(TooltipContext): Fix event bubbling causing incorrect pointer coordinates when determine chart bounds. Fixes tooltip showing when hovering over portions of legend items (d620535)

Previous
Page 13 of 23
Next
Edit this page