LayerChart

Releases (204)

layerchart@0.77.0

layerchart@0.77.0

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)

layerchart@0.76.1

layerchart@0.76.1

Patch Changes

  • fix: Do not override default Legend selected item classes when providing other classes (879898a)

layerchart@0.76.0

layerchart@0.76.0

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)

layerchart@0.75.1

layerchart@0.75.1

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)

layerchart@0.75.0

layerchart@0.75.0

Minor Changes

  • feat(AreaChart|BarChart|LineChart|PieChart|ScatterChart): Add Legend integration (highlight & filter) (#329)

  • feat(AreaChart|LineChart): Highlight series (desaturating other series) while hovering over point on series (#329)

  • feat(Highlight): Add onPointEnter and onPointLeave event callbacks (#329)

  • feat(Legend): Add onPointerEnter and onPointerLeave event callbacks (#329)

  • feat(Legend): Support classes.item(item) (#329)

  • feat: Add profile prop to all simplified charts to log initial render performance using console.time (#330)

Patch Changes

  • docs: Add performance examples for different data structures (for further investigation) (#330)

  • fix(Area|Spline): Reactively recreate internally x/y accessors when props/context change. Fixes AreaChart legend filter support (#329)

  • fix(Legend): Add z-index: 1 to stack above tooltip contexts (band rects, voronoi) to allow pointer events (click/hover) (#329)

layerchart@0.74.0

layerchart@0.74.0

Minor Changes

  • breaking(Bar|Bars): Replaced inset: number prop with insets: Insets | undefined. (#321)

    To migrate from inset to insets replace inset = n with:

    • insets = { x: n / 2 } if orientation="vertical"
    • insets = { y: n / 2 } if orientation="horizontal"
  • feat(BarChart): Add stackPadding prop, which adds a padding between stacked bars. (#321)

layerchart@0.73.0

layerchart@0.73.0

Minor Changes

  • feat: Support passing props.tooltip to all simplified charts, applying to Tooltip.Root, Tooltip.Item, etc (58d70fc)

layerchart@0.72.2

layerchart@0.72.2

Patch Changes

  • fix(BarChart): Compatibility with Svelte 3/4 after accidental introduction of typescript in markup (59dc772)

layerchart@0.72.1

layerchart@0.72.1

Patch Changes

  • fix: Compatibility with Svelte 3/4 after accidental introduction of typescript in markup (bec9207)

layerchart@0.72.0

layerchart@0.72.0

Minor Changes

  • feat: Add onTooltipClick callback event for all simplified charts (AreaChart, BarChart, LineChart, PieChart, and ScatterChart) (#322)

  • feat(BarChart): Add onBarClick callback event (useful for multi-series charts) (#322)

  • feat(AreaChart|LineChart): Add onPointClick callback event (useful for multi-series charts) (#322)

  • feat(PieChart): Add onArcClick callback event (#322)

  • feat(Bars): Add onBarClick callback event (#322)

  • feat(Highlight): Add onAreaClick, onBarClick, and onPointClick callback events (#322)

Patch Changes

  • fix(BarChart): Fix Tooltip handling with separate series data (6708650)
Previous
Page 11 of 21
Next
Edit this page