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)
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)
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)
@layerstack/utils with improved metric number formatting (#449)@layerstack/utils with improved metric number formatting (71920fc)props.rect (#449)breaking(AnnotationLine|AnnotationPoint): Change labelOffset into explicit labelXOffset and labelYOffset for greater control (aligns with AnnotationRange) (#492)
fix(HighlightKey): Define set() with arrow function to solve current access when passed directly (#449)
fix: Improve memory leak caused by detached DOM increase when using Canvas rendering due to sometimes still rendering Svg components (ex. <g> vs <Group>) (#490) (#490)
breaking(Bar): Rename bar prop to data to better represent usage (#449)
feat: Add Annotation components (AnnotationPoint, AnnotationLine, AnnotationRange) (#458)
feat: Integrate annotations into simplified charts (#458)
feat(Pattern): Simplified definitions via lines/circles props (issue #472) (#458)
feat(Pattern): Canvas support (#458)
feat(BarChart): Radial support (vertical and horizontal) (issue #469) (#458)
feat(Arc/Text): Arc path labels with inner/outer/middle placement and smart flipping (issue #7) (#458)
feat: New ArcChart component (#458)
feat: New Connector component (issue #11) (#458)
feat: Add Layer component to easily switch between Svg, Canavs, and Html layers (#458)
refactor: Remove LayerCake dependency (issue #432) (#458)
fix(ForceSimulation): Restore performance to at/near Svelte 4 performance (issue #451) (#458)
fix(ScatterChart): Support color scales based on value (such as threshold) (#458)
fix(Highlight): Support radial area (issue #112) (#458)
feat: Add classes for underlying element styling (#458)
fix: Resolves "Target div has zero or negative height" console warning (issue #291) (#458)
fix(Text): Respect font weight when canvas rendered (#458)