Minor Changes
-
feat(ChartGroup): Add
<ChartGroup>andChartGroupStateto synchronize the tooltip/highlight, brush selection, zoom domain, and series highlight/visibility across charts (#901) -
feat(Chart): Add
fx/fyfaceting, drawing the chart once per distinct value into a grid of panels that share the position scales (#901) -
feat(Chart): Add
seriesLayout="auto"(default) with automatic stacking when applicable (ex. Area, Bars). Can still pass explicitseriesLayout(ex.overlap,group,stack) when needed (#901) -
feat(Bar|Bars): Accept a per-row accessor for
fillOpacity,strokeWidth, andopacity, matchingRectandCircle(#901) -
feat(Spline|Area): Resolve
stroke,fill,opacity, andclassper line/area (and segment). A string naming a data property now resolves through the chart's color scale, like other primitives (ex.Circle) (#901) -
feat(Chart): Default the color scale to the colors declared on
series, so marks match their legend swatch (#901) -
feat(Legend): Support ordinal
cscale similar toseriesincluding highlight and filter capability. An ordinal scale now draws labelled swatches rather than a color ramp — passvariant="ramp"for the old appearance (#901) -
feat(Tooltip): Add
tooltip.show({ point, value, data })to control tooltip programmatically (buttons, keyboard events, etc.) (#901) -
feat: New Brush component to manually position, useful for multiple / independent brushes (ex. parallel coordinates). Also includes new
brushableattachment andbrushGesturehandler for even more granular control ofBrushState(#901) -
feat(AnnotationPoint|AnnotationLine|AnnotationRange): Support
seriesKeyprop to associate an annotation with a series, positioning points and lines on its stacked segment (#901) -
feat(Chart): Add
idprop, applied to the root element and identifying the chart within aChartGroup(#901) -
feat(Rect): Support
refin html layers and forwardpointerdownin canvas layers (#901) -
feat(Spline|Area): Add
zaccessor to draw one line/area per distinct value, defaulting tostroke/fill/c(#901) -
feat(Spline): Support
seriesKeyprop to follow that series' stacked top (#901) -
feat(Chart): Add
transform.initialDomainto open a chart zoomed to a range (#901)
Patch Changes
-
fix(BrushContext): Fix clearing on double-clicking the selection (root select-all was immediately undoing) (#901)
-
fix(PieChart): Stop drawing a cartesian grid behind the arcs when using
series(#901) -
fix(Chart): Stack each
x1sub-band separately, so grouped-and-stacked bars no longer share one running total (#901) -
fix(Chart): Apply
zoomToBrush()when called before the chart mounts or when the scale clamps toscaleExtent(#901)