Repository navigation
Releases
layerchart@2.11.0
Minor Changes
-
feat(Chart): Add
perspectiveandorthographicviews for 3D layers (ex.@layerchart/webgl) (#985) -
feat(Chart): Add
MarkInfo.zExtent, so a mark's own heights widen an automaticzDomain(#985) -
feat: Export
binCells,binGrid, andisScaleLinearfor drawing marks in other layers (ex.@layerchart/webgl) (#985) -
feat(TransformContext): Add
rotationExtent(orrotateExtent/tiltExtent) to limit how far a drag turns aviewor globe, and pass the turnedrotationtoconstrain(#985)
Patch Changes
-
fix(TransformContext): Don't zoom in on the double click two quick drags make (#985)
-
fix(Highlight): Follow a
domainpan or zoom at once rather than springing after it (#985) -
fix(Axis): Space ticks evenly along every axis of an
isometricchart, rather than wider alongx(#985) -
fix(Chart): Turn a panned
isometricview about what's in the middle rather than the floor's center (#985) -
refactor(isometric): Rename the view's
impltoisometric, andIsometricImpltoIsometric(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
quadtreetooltip once adomainpan or zoom settles, rather than at every step (#985) -
fix(TransformContext): Zoom on a slightly diagonal
shiftscroll (ex. a trackpad swipe) rather than panning adomainsideways (#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
Minor Changes
- feat: New
@layerchart/webglpackage, 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.0
Minor Changes
- chore: Require Svelte
^5.57.0, using Svelte'screateContextin place of runed'sContext(#969)
Patch Changes
layerchart@2.9.2
layerchart@2.9.1
Patch Changes
- fix(Chart): Facet a series' own
dataso each panel shows only its rows (#964)
layerchart@2.9.0
Minor Changes
-
feat(Bin): Add
Binmark grouping points into hexagon, square, or triangle cells (#953) -
feat(GeoBin): Add
GeoBinmark grouping points into hexagon, square, or triangle cells tiling the sphere (#953) -
feat(Image): Add
zto raise images off anisometricfloor (#953) -
feat(Chart): Add
backToFront(items, at)to the chart context, ordering items for drawing on anisometricfloor (#953) -
feat: Add
ztoEllipse,Points,Group, andAnnotationPoint,z1/z2toLink, andztoCirclein pixel mode, to raise them off anisometricfloor (#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/yPaddingon anisometricchart 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
projectiontransform where the projection'srotate,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
Patch Changes
- fix(TransformContext): Support
shift+ scroll zoom when the browser reports it as horizontal (deltaX) (#948)
layerchart@2.8.0
Minor Changes
-
feat(AnnotationLine|AnnotationPoint|AnnotationRange): Accept a
labelsnippet 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
Minor Changes
-
feat(Axis): Add
domainto label the chart's scale in other units, such as a secondary axis (#941) -
feat(TooltipItem): Add
seriesKeyto simplify setting the label, color, and value from a series (#941)
Patch Changes
-
fix(Axis): Only drop the last tick of an
xInterval/yIntervalaxis when it falls on the domain's end (#941) -
fix(Axis): Label
scaleUtc()ticks in UTC when noformatis given (#941) -
fix(BarChart): Place a grouped series in its own sub-band when its
valueis an accessor or a field other than itskey(#941) -
fix(AreaChart|BarChart|LineChart|ScatterChart|PieChart|ArcChart|Layer): Render server-side with
ssrinstead of overflowing the stack (#940) (#943)