Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/annotation-stacked-point.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/bar-style-accessors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/brush-component.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/brush-context-dblclick-clear.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chart-group.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/chart-id.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/cscale-series-colors.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/facets.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/legend-c-scale.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/pie-chart-grid.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/rect-ref-pointerdown.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/series-layout-auto.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spline-area-class-prop.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spline-area-z.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/spline-stack.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stack-groups.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tooltip-show-value.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/transform-initial-domain.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/zoom-to-brush.md

This file was deleted.

44 changes: 44 additions & 0 deletions packages/layerchart/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,49 @@
# LayerChart

## 2.3.0

### Minor Changes

- feat(ChartGroup): Add `<ChartGroup>` and `ChartGroupState` to synchronize the tooltip/highlight, brush selection, zoom domain, and series highlight/visibility across charts ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Chart): Add `fx` / `fy` faceting, drawing the chart once per distinct value into a grid of panels that share the position scales ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Chart): Add `seriesLayout="auto"` (default) with automatic stacking when applicable (ex. Area, Bars). Can still pass explicit `seriesLayout` (ex. `overlap`, `group`, `stack`) when needed ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Bar|Bars): Accept a per-row accessor for `fillOpacity`, `strokeWidth`, and `opacity`, matching `Rect` and `Circle` ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Spline|Area): Resolve `stroke`, `fill`, `opacity`, and `class` per line/area (and segment). A string naming a data property now resolves through the chart's color scale, like other primitives (ex. `Circle`) ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Chart): Default the color scale to the colors declared on `series`, so marks match their legend swatch ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Legend): Support ordinal `c` scale similar to `series` including highlight and filter capability. An ordinal scale now draws labelled swatches rather than a color ramp — pass `variant="ramp"` for the old appearance ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Tooltip): Add `tooltip.show({ point, value, data })` to control tooltip programmatically (buttons, keyboard events, etc.) ([#901](https://github.com/techniq/layerchart/pull/901))

- feat: New Brush component to manually position, useful for multiple / independent brushes (ex. parallel coordinates). Also includes new `brushable` attachment and `brushGesture` handler for even more granular control of `BrushState` ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(AnnotationPoint|AnnotationLine|AnnotationRange): Support `seriesKey` prop to associate an annotation with a series, positioning points and lines on its stacked segment ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Chart): Add `id` prop, applied to the root element and identifying the chart within a `ChartGroup` ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Rect): Support `ref` in html layers and forward `pointerdown` in canvas layers ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Spline|Area): Add `z` accessor to draw one line/area per distinct value, defaulting to `stroke` / `fill` / `c` ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Spline): Support `seriesKey` prop to follow that series' stacked top ([#901](https://github.com/techniq/layerchart/pull/901))

- feat(Chart): Add `transform.initialDomain` to open a chart zoomed to a range ([#901](https://github.com/techniq/layerchart/pull/901))

### Patch Changes

- fix(BrushContext): Fix clearing on double-clicking the selection (root select-all was immediately undoing) ([#901](https://github.com/techniq/layerchart/pull/901))

- fix(PieChart): Stop drawing a cartesian grid behind the arcs when using `series` ([#901](https://github.com/techniq/layerchart/pull/901))

- fix(Chart): Stack each `x1` sub-band separately, so grouped-and-stacked bars no longer share one running total ([#901](https://github.com/techniq/layerchart/pull/901))

- fix(Chart): Apply `zoomToBrush()` when called before the chart mounts or when the scale clamps to `scaleExtent` ([#901](https://github.com/techniq/layerchart/pull/901))

## 2.2.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/layerchart/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"license": "MIT",
"repository": "techniq/layerchart",
"homepage": "https://layerchart.com",
"version": "2.2.0",
"version": "2.3.0",
"scripts": {
"dev": "pnpm package:watch",
"build": "svelte-package",
Expand Down
Loading