Releases (255)

layerchart@2.11.0

layerchart@2.11.0

Minor Changes

  • feat(Chart): Add perspective and orthographic views for 3D layers (ex. @layerchart/webgl) (#985)

  • feat(Chart): Add MarkInfo.zExtent, so a mark's own heights widen an automatic zDomain (#985)

  • feat: Export binCells, binGrid, and isScaleLinear for drawing marks in other layers (ex. @layerchart/webgl) (#985)

  • feat(TransformContext): Add rotationExtent (or rotateExtent / tiltExtent) to limit how far a drag turns a view or globe, and pass the turned rotation to constrain (#985)

Patch Changes

  • fix(TransformContext): Don't zoom in on the double click two quick drags make (#985)

  • fix(Highlight): Follow a domain pan or zoom at once rather than springing after it (#985)

  • fix(Axis): Space ticks evenly along every axis of an isometric chart, rather than wider along x (#985)

  • fix(Chart): Turn a panned isometric view about what's in the middle rather than the floor's center (#985)

  • refactor(isometric): Rename the view's impl to isometric, and IsometricImpl to Isometric (the old type name kept, deprecated) (#985)

  • fix(Spline, Area): Color by a numeric data key (stroke="value") without splitting into a line per value (#985)

  • fix(TooltipContext): Rebuild a quadtree tooltip once a domain pan or zoom settles, rather than at every step (#985)

  • fix(TransformContext): Zoom on a slightly diagonal shift scroll (ex. a trackpad swipe) rather than panning a domain sideways (#985)

  • fix(Tooltip): Appear at the pointer when shown again (ex. after a drag), rather than gliding from where it was last (#985)

@layerchart/webgl@2.11.0

@layerchart/webgl@2.11.0

Minor Changes

  • feat: New @layerchart/webgl package, drawing data-dense 2D charts and 3D views (perspective, lights and shadows, surfaces, globes, map terrain) with WebGL (#985)

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)

Previous
Page 1 of 26
Next