layerchart@2.0.0-next.45
Pre-releaseMajor Changes
- feat: New docs site (#449)
Minor Changes
-
breaking: Extract
Pathprimitive component fromSplinefor better separation of concerns (#659) -
breaking: Rename simplified charts
renderContextprop tolayer(#659) -
breaking: Change
defaultChartPadding(axis, legend)todefaultChartPadding({ axis, legend })and support overrides (ex.defaultChartPadding({ left: 50 })) (#659)
Patch Changes
-
feat(Chart): Support passing explicit
widthandheightinstead of requiring parent dimensions (#659) -
feat: Support global settings (layer type, debug, etc) (#659)
-
feat(Layer): Allow
typeto be optional, fallbacking back tosettings.layertype (#659) -
feat(Chart|Svg|Html): Support passing
clipprop to hide overflown content (#659) -
feat(Circle|Rect): Support passing children snippet for Html layers (#659)
-
feat(Layer): Support showing chart and full frame boundaries with
settings.debug(#659) -
fix(Threshold): Properly clip
abovesnippet (resolving 1/2 width clipping issues when using Spline) (#659) -
fix(AnnotationRange|TooltipContext|Highlight): Fix using interval scales with reversed data (ex. xReverse) (#659)
-
fix(Canavs): Support
styleattribute (#659) -
fix(Rect): Support rounded (rx/ry) in Canvas layers (fixes #481) (#659)
-
fix(Bar): Fix browser lockup when switching between group and stack layouts (#659)
-
fix(Bar): Fix bar rounding direction when using xReverse/yReverse with interval scales (#659)
-
fix(Text): Support explicit "\n" and set line-height (to match svg/canvas) for html layers (#659)
-
feat(Chart): Support
classprop (#659) -
refactor: Move contexts to separate
$lib/contextsmodule (#659) -
refactor: Removed lodash-es dependency (#659)