LayerChart

Releases (204)

[email protected]

[email protected] pre-release

Patch Changes

  • fix(AreaChart|BarChar|LineChart): Use value axis (typically y) property name/accessor for tooltip label if defined as string (ex. <AreaChart x="date" y="visitors"> will use visitors instead of value) (#523)

[email protected]

[email protected] pre-release

Patch Changes

  • feat: Support passing FormatConfig (ex. { type: '...', options: { ... } }) anywhere FormatType is supported to simplify custom formatting (ex. variant) (#521)

  • feat: Support passing PeriodTypeCode strings for simplified date formatting and reduce imports. Example: format={PeriodType.Day} is now format="day". Also supported with config object for passing additional options (ex. format={{ type: 'day', options: { variant: 'long' } }}). Supported for all format props include Axis, Labels, Legend and Tooltip. (#521)

[email protected]

[email protected] pre-release

Patch Changes

  • fix(Group): Default opacity to undefined instead of 1 to allow overriding via class (ex. opacity-20) (#520)

  • fix(Axis): Additional multiline month fix for day ticks (#449)

[email protected]

[email protected] pre-release

Patch Changes

  • fix(Tooltip): Use standard CSS classes (non-tailwind) for root element to simplify some usage (including shadcn-svelte) (#511)

[email protected]

[email protected] pre-release

Patch Changes

  • fix(Axis): Key using tick value instead string representation to support millisecond precision (#508)

  • fix(Axis): Add time duration aware tick value/format support (#508)

  • feat(Axis): Support multiline ticks for time intervals (#508)

  • feat(Axis): Support responsive tick counts via tickSpacing prop (#508)

  • fix(Text): Apply dominant-baseline to <textPath> instead of <text> to fix Safari. Fixes #507 (#508)

  • feat(Text): Support explicit word wrapping with \n character (#508)

[email protected]

[email protected] pre-release

Patch Changes

  • docs: Add non-radial BarChart duration example and improve radial example (#496)

  • fix(BarChart): Improve handling time scale for value axis (ex. xScale for horizontal orientation) (#496)

  • fix(Spline): Only re-draw on data/path changes and not other context (such as width/height). Fixes #504 (#505)

  • docs: Rename "Dot Plot" to "Duration" and add bars example along with points (#496)

[email protected]

[email protected] pre-release

Patch Changes

  • feat(Canvas): Support disabling the hit canavs (useful when animations are playing) (#449)

  • refactor: Update @layerstack/svelte-state and replace remaining @layerstack/svelte-stores usage (media query) (mostly docs related except Canvas) (#449)

Previous
Page 4 of 21
Next
Edit this page