layerchart@2.0.0-next.63
Minor Changes
-
feat(Dodge): Add Dodge component for deterministic non-overlapping layout (#862)
-
feat(Waffle): Add Waffle component for countable-cell visualizations (#864)
-
feat(Pattern): Add
rectsshape definition for tile patterns for rendering one or more rectangles per pattern tile (#864) -
feat(Text): Add
fontSizeprop with auto-derivedcapHeight(#862)
Patch Changes
-
fix(Chart): Don't compute
[undefined, undefined]domain whenseriesis metadata-only (#449) -
fix(canvas): Resolve
currentColorforfill/stroke(and other style props) (#449) -
fix(Pattern): fix alignment and sharply render on high-DPI displays when using Canvas layers (#864)
-
fix(downloadImage / getChartImageBlob): Fix image download (container sizing and text clipping) (#449)
-
fix(Spline): Allow CSS class
opacityto fade lines on the Canvas layer.Splinewas always passingopacity={1}to the underlyingPathwhen no series fade was active, which becameconstantStyles.opacity = 1in the canvas renderer and shadowed the value resolved from a user'sclass(e.g.class="opacity-20"). Now skip passingopacitywhen the computed series fade is the no-fade default, so the class can take effect — matching SVG behavior where CSS class rules override the presentation attribute. (#449) -
fix(Image): Stop disabling pointer events by default (#862)
-
fix(Circle, Text): Inherit chart accessors by default in data mode (#862)
-
fix(Rect): Support non-uniform
cornersin data/edge mode (#449)