Releases (253)

layerchart@2.10.1

layerchart@2.10.1

Patch Changes

  • fix(Brush): Style the region and handle cursors with CSS instead of Tailwind classes (#991)

  • chore: Replace tailwind-merge with clsx (~42 KB smaller) (#991)

layerchart@2.10.0

layerchart@2.10.0

Minor Changes

  • chore: Require Svelte ^5.57.0, using Svelte's createContext in place of runed's Context (#969)

Patch Changes

  • fix(dagre): Publish type declarations for dagreGraph, dagreAncestors, and dagreDescendants (#969)

  • chore: Exclude tests, benchmarks, and screenshots from the published package (1.5 MB → 550 KB packed) (#969)

  • fix: Remove the runed dependency so npm installs work with both SvelteKit 2 and 3 (#969)

layerchart@2.9.2

layerchart@2.9.2

Patch Changes

  • perf(Chart): Batch mark registration so mounting many marks no longer scales with the square of the mark count (#971)

  • fix(Html): Clip at the chart's edge, as the SVG layer does, so content in the padding or panned and zoomed into view is no longer cut off (#982)

layerchart@2.9.1

layerchart@2.9.1

Patch Changes

  • fix(Chart): Facet a series' own data so each panel shows only its rows (#964)

layerchart@2.9.0

layerchart@2.9.0

Minor Changes

  • feat(Bin): Add Bin mark grouping points into hexagon, square, or triangle cells (#953)

  • feat(GeoBin): Add GeoBin mark grouping points into hexagon, square, or triangle cells tiling the sphere (#953)

  • feat(Image): Add z to raise images off an isometric floor (#953)

  • feat(Chart): Add backToFront(items, at) to the chart context, ordering items for drawing on an isometric floor (#953)

  • feat: Add z to Ellipse, Points, Group, and AnnotationPoint, z1 / z2 to Link, and z to Circle in pixel mode, to raise them off an isometric floor (#953)

  • feat(Layer): Clip SVG and HTML layers by default when the chart has a transform, as panning and zooming carry content past its edges (#953)

Patch Changes

  • fix(Image): Share loaded images across canvas Images, so one remounted or given a loaded URL draws it at once instead of flickering (#953)

  • fix(Rect): Shade isometric box sides by how far they turn, rather than snapping between two shades (#953)

  • fix(Chart): Measure xPadding / yPadding on an isometric chart against the floor laid flat, so padding stays the same share of the floor as the view turns (#953)

  • fix(Legend): Label a threshold scale's ramp with its thresholds, and give its swatches one per color labelled with the range it covers (#953)

  • fix(Chart): Start a projection transform where the projection's rotate, scale, translate, or fit place it, rather than jumping once the transform loads, and keep a globe's roll while dragging (#953)

layerchart@2.8.1

layerchart@2.8.1

Patch Changes

  • fix(TransformContext): Support shift + scroll zoom when the browser reports it as horizontal (deltaX) (#948)

layerchart@2.8.0

layerchart@2.8.0

Minor Changes

  • feat(AnnotationLine|AnnotationPoint|AnnotationRange): Accept a label snippet and a mark snippet (line, circle, rect) to render custom markup (#946)

  • feat(Tooltip): By default place above a finger or pen instead of below, and expose tooltip.pointerType (#927)

Patch Changes

  • fix(Tooltip): Fix tooltip pointer location when pinch-zoomed, or when wider than the chart (#927)

layerchart@2.7.0

layerchart@2.7.0

Minor Changes

  • feat(Axis): Add domain to label the chart's scale in other units, such as a secondary axis (#941)

  • feat(TooltipItem): Add seriesKey to simplify setting the label, color, and value from a series (#941)

Patch Changes

  • fix(Axis): Only drop the last tick of an xInterval / yInterval axis when it falls on the domain's end (#941)

  • fix(Axis): Label scaleUtc() ticks in UTC when no format is given (#941)

  • fix(BarChart): Place a grouped series in its own sub-band when its value is an accessor or a field other than its key (#941)

  • fix(AreaChart|BarChart|LineChart|ScatterChart|PieChart|ArcChart|Layer): Render server-side with ssr instead of overflowing the stack (#940) (#943)

layerchart@2.6.1

layerchart@2.6.1

Patch Changes

  • fix(TransformContext): Don't click what a pan, rotate, or pinch is released over (#936)

  • fix(Chart): Don't ease an isometric view's angles while dragging (#936)

  • fix(Chart): Ease an isometric view added after the chart was created, starting it at its own angles (#936)

layerchart@2.6.0

layerchart@2.6.0

Minor Changes

  • feat(Contour): Stroke unfilled contours in the bands' colors when no stroke is given (#934)

  • feat(Frame|Grid|Axis|Highlight): Draw an isometric chart's back walls, their gridlines (<Grid z>), a height axis (<Axis placement="back">), and highlights at a point's height (#934)

  • feat: Support z heights on an isometric chart — boxes (Rect, Cell, Calendar, Bars with valueAxis="z"), floating Circle, Text, Labels and ArcLabel, Line stems, and extruded Polygon, Path, GeoPath, Contour, Pie, Area and Spline (#934)

  • breaking(Chart|Spline|Area): Rename the z grouping channel to g (ex. <Spline g="id">), freeing z for a third position (#934)

  • feat(TransformContext): Switch mode without remounting the chart (#934)

  • feat(Chart): Support view={isometric} to draw the plot area as a floor seen at an angle, turned with isometric({ rotate, tilt }) or by dragging (transform={{ drag: 'rotate' }}), with viewport text facing the viewer (#934)

  • feat(Ellipse): Support rotate to turn the ellipse about its center (#934)

Patch Changes

  • fix(TransformContext): Zoom in / out about the middle of the plot area, and center a canvas zoom without resetting its scale (#934)

  • fix(GeoPath): Start a tweened map shape as itself rather than rising from a baseline (#934)

  • fix(Axis): Size an angle axis' ticks by its circle rather than the chart's width, so a continuous angle scale's tick count no longer changes with width (square charts get more ticks) (#934)

  • fix(Link): Draw links whose ends share an x or y (#934)

  • fix(BrushContext): Draw and measure the brush through a canvas pan / zoom (#934)

  • fix(TooltipContext): Account for transform.mode: 'canvas' pan / zoom in bisect modes and 'data' tooltip placement (#934)

Previous
Page 1 of 26
Next