Releases (225)
layerchart@2.0.0-next.14
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 usevisitorsinstead ofvalue) (#523)
layerchart@2.0.0-next.13
Patch Changes
-
feat: Support passing
FormatConfig(ex.{ type: '...', options: { ... } }) anywhereFormatTypeis supported to simplify custom formatting (ex.variant) (#521) -
feat: Support passing
PeriodTypeCodestrings for simplified date formatting and reduce imports. Example:format={PeriodType.Day}is nowformat="day". Also supported with config object for passing additional options (ex.format={{ type: 'day', options: { variant: 'long' } }}). Supported for allformatprops include Axis, Labels, Legend and Tooltip. (#521)
layerchart@2.0.0-next.12
layerchart@2.0.0-next.11
Patch Changes
- fix(Axis): Fix multiline month when day tick does not align on first of month (#517)
layerchart@2.0.0-next.10
Patch Changes
- fix(Tooltip): Use standard CSS classes (non-tailwind) for root element to simplify some usage (including shadcn-svelte) (#511)
layerchart@2.0.0-next.9
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
tickSpacingprop (#508) -
fix(Text): Apply
dominant-baselineto<textPath>instead of<text>to fix Safari. Fixes #507 (#508) -
feat(Text): Support explicit word wrapping with
\ncharacter (#508)
layerchart@2.0.0-next.8
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)
layerchart@2.0.0-next.7
layerchart@2.0.0-next.6
Patch Changes
- fix: Update dependencies, notable
@layerstack/utilswith improvedmetricnumber formatting (#449)