LayerChart

Releases (220)

layerchart@0.58.0

layerchart@0.58.0

Minor Changes

  • feat(Pie): Add sort prop to specify sorting comparator, or pass null to disable default sorting (56f84b5)

  • feat(Legend): Add onClick when using variant="swatches" (7629194)

Patch Changes

  • fix(ScatterChart): Reactively rebuild chartData when series is updated (ad04197)

layerchart@0.57.0

layerchart@0.57.0

Minor Changes

  • feat(PieChart): Add placement prop to conveniently position chart left or right (useful with legends). Resolves #271 (7498738)

layerchart@0.56.0

layerchart@0.56.0

Minor Changes

  • feat(PieChart): Support center={false} to disable default centering, enabling explicit/absolute positioning with props.group (bb241d5)

layerchart@0.55.0

layerchart@0.55.0

Minor Changes

  • feat: Add Marker support for Spline, Line, and Link (and components which use these) (#267)

  • feat: Add Marker component for drawing arrowheads or polymarkers on Line, Spline, etc (#267)

  • feat(Brush): Add labels prop and slot to enable showing values beside each handle (#265)

  • breaking: Use camelCase (aboveMarks, etc) instead of kebob case (above-marks) slot names to fix Svelte 5 {#snippet} compatibility (#269)

Patch Changes

  • fix: Render axis slot after/above marks (Bars, Lines, etc) which has no visible difference with current examples, but enables placing axis labels on top of marks (c10452e)

  • fix(Brush): Do not convert Date domain instances to number when performing arithmetic (#265)

layerchart@0.54.1

layerchart@0.54.1

Patch Changes

  • docs: Use Svelte 5 (#260)

  • docs: Replace svelte-preprocess with vitePreprocess (#260)

  • fix(Grid): Add {#each} keys to fix transitions (4b14a2e)

  • fix(Rule): Fix reactivity issue with dynamic data not hiding rule when outside x/y range (cb9cb03)

  • fix(BarChart): Only show 0 baseline rule based on direction (not both axis) (129163e)

layerchart@0.54.0

layerchart@0.54.0

Minor Changes

  • feat: New Grid component (improved band scale and radial support) (#252)

  • feat: Simplify overriding marks for AreaChart, BarChart, LineChart, and ScatterChart, useful for gradients and motion (#252)

  • feat(Chart): Expose tooltipContext and geoProjection context stores for external access (#252)

  • feat(Rule): Add xOffset/yOffset support (#252)

  • feat(Axis): Use Rule for rule and grid lines to simplify implementation and support passing full props (#252)

  • feat(Labels): Add value accessor prop to override which value to display (different axis, etc) (#252)

  • feat(Axis): Support radial tick marks (angle) (#252)

  • feat(BarChart): Support using color (c) scale to change color based on value (#252)

  • breaking(Tooltip.Root): Default xOffset/yOffset to 0 unless using 'pointer' mode (only changes data mode default) (#252)

Patch Changes

  • fix(Legend): Disable whitespace wrapping by default (#252)

  • fix(Tooltip.Root): Align data snapped to band/bar center (instead of edge) (#252)

  • fix: Pass color accessor (c) and scale (cScale) as slot props for simplified charts (AreaChart, etc) (#252)

  • fix(Chart): Fix types when passing readonly string[] color ranges (i.e. d3-scale-chromatic schemes) (#252)

  • fix(Axis): Middle align 12 o'clock (0/360deg) tick label (#252)

  • fix(Axis): Respect tickLength when positioning tick label/text (#252)

  • fix(Simplified charts): Use color scale for Legend when using single (default) series (#252)

  • fix(TransformContext): Only disable touchmove default (i.e. scrolling) when enabled (canvas/manual) and pointer events are not disabled (#252)

  • docs: Copy Date data as new Date(...) to clipboard (#253)

  • docs: Stringify example data to clipboard on demand (#253)

  • docs(PieChart): Add examples for using d3-scale-chromatic schemes and interpolators (#252)

layerchart@0.52.0

layerchart@0.52.0

Minor Changes

  • breaking: Only show 0 baseline by default instead of always drawing axis line for simplified charts (LineChart, etc) (#248)

  • feat: Add stackExpand and stackDiverging series layouts for AreaChart and BarChart (#248)

  • feat: Add legend support (prop and slot) to all simplified charts (#248)

  • feat(Rule): Support radial charts (x/angle and y/radius) (#248)

  • feat(Legend): Add orientation prop (#248)

  • feat(Axis): Support passing class and classes (root/label) (#248)

  • feat(Legend): Add variant prop with ramp (default) and swatches (#248)

Patch Changes

Previous
Page 16 of 22
Next
Edit this page