Releases (228)
layerchart@0.70.1
Patch Changes
- fix: Use relative import instead of alias to fix npm usage (
9c4a07a)
layerchart@0.70.0
Minor Changes
-
feat: Improve Canvas implementation with render registration system including synchronized invalidation / redrawing (#295)
-
feat: Support Canvas context for most primatives (Arc, Area, Circle, Group, Line, LinearGradient, Rect, Spline, and Text). Also updates components using these primatives (Axis, Bar, Grid, Rule, and more) (#295)
-
feat: Update all simplified charts to support
renderContextprop to switch between Svg (default) and Canvas (AreaChart, BarChart, LineChart, PieChart, and ScatterChart) (#295) -
feat: Add
renderPathData()canvas util to simplify rendering SVG path data onto canvas context with CSS variable and class support (#295) -
feat: Add
renderRect()canvas util to simplify rendering rectangles onto canvas context with CSS variable and class support (#295) -
feat: Add
renderText()canvas util to simplify rendering text onto canvas context with CSS variable and class support (#295) -
feat: Add
ComputedStylescomponent to easily resolve classes / CSS variable values (useful when working with ) (#295) -
feat(Canvas): Support
centerprop (similar toSvg) to translate children to center (useful for radial layouts) (#295) -
breaking(LinearGradient|RadialGradient): Rename
urlslot prop togradient. Improves name, especially within canvas context (#295) -
breaking(GeoPath): Simplify render prop use case by leveraging renderPathData() (ex. HitCanvas) (#295)
-
breaking: Reduce likihood of clipping for Canvas-rendered simplified charts by increasing default padding (and add top)) (#295)
Patch Changes
layerchart@0.60.3
Patch Changes
- Remove
posthog-jsfromdependencies(onlydevDependenciesfor docs) (0d72288)
layerchart@0.60.2
layerchart@0.60.1
layerchart@0.60.0
layerchart@0.59.6
Patch Changes
- fix(Legend): Fix reactivity when scale/data changes. Fixes #289 (
0dea00b)
layerchart@0.59.5
layerchart@0.59.4
Patch Changes
- fix(ChartContext): Remove last
@layerstack/utils/arrayimport (6b88925)