Releases (251)
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)
layerchart@2.6.1
layerchart@2.6.0
Minor Changes
-
feat(Contour): Stroke unfilled contours in the bands' colors when no
strokeis given (#934) -
feat(Frame|Grid|Axis|Highlight): Draw an
isometricchart's back walls, their gridlines (<Grid z>), a height axis (<Axis placement="back">), and highlights at a point's height (#934) -
feat: Support
zheights on anisometricchart — boxes (Rect,Cell,Calendar,BarswithvalueAxis="z"), floatingCircle,Text,LabelsandArcLabel,Linestems, and extrudedPolygon,Path,GeoPath,Contour,Pie,AreaandSpline(#934) -
breaking(Chart|Spline|Area): Rename the
zgrouping channel tog(ex.<Spline g="id">), freeingzfor a third position (#934) -
feat(TransformContext): Switch
modewithout remounting the chart (#934) -
feat(Chart): Support
view={isometric}to draw the plot area as a floor seen at an angle, turned withisometric({ rotate, tilt })or by dragging (transform={{ drag: 'rotate' }}), withviewporttext facing the viewer (#934) -
feat(Ellipse): Support
rotateto turn the ellipse about its center (#934)
Patch Changes
-
fix(TransformContext): Zoom in / out about the middle of the plot area, and center a
canvaszoom 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
angleaxis' 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
xory(#934) -
fix(BrushContext): Draw and measure the brush through a
canvaspan / zoom (#934) -
fix(TooltipContext): Account for
transform.mode: 'canvas'pan / zoom in bisect modes and'data'tooltip placement (#934)
layerchart@2.5.2
Patch Changes
- fix(ArcChart|AreaChart|BarChart|LineChart|PieChart|ScatterChart): Support
bind:ref, andbind:contexton the.svg/.canvasvariants (#930) (#931)
layerchart@2.5.1
Patch Changes
-
fix(Tooltip): Keep a flipped tooltip inside the container (or window) when flipping overflows the other edge (ex. a start-aligned tooltip wider than half a narrow chart opened past its left edge) (#924)
-
fix(TooltipContext): Keep a tooltip locked from
onclickon touch (a tap'spointerleaveprecedesclick, and its pending hide cleared the data under the lock), and hide it once unlocked if the pointer left while locked (#924)