Releases: techniq/layerchart
[email protected]
Patch Changes
- feat(Highlight): Set CSS
cursor: pointer
on hover when point hasonpointclick
set. Works for both svg and canvas rendering contexts (e9894cc
)
[email protected]
[email protected]
Patch Changes
- fix(BrushContext): Ignore clicks outside of chart bounds. Fixes clicking on legend item resetting brush (
2863519
)
[email protected]
Patch Changes
- fix(Canvas): Explicitly set
willReadFrequently:false
for hit canvas to resolve pixel artifacts between fill and stroke with the same color (4831fd0
)
[email protected]
[email protected]
Patch Changes
-
fix(AreaChart|LineChart|ScatterChart): Clip
belowMarks
,aboveMarks
,highlight
,labels
, andpoints
slots when brushed/zoomed (883d1d3
) -
feat: Add
renderCircle
to simplify rendering circles to canvas (instead of usingrenderPath
) (c728af0
) -
feat(Canvas): Add Logger integration (
d88ee43
) -
fix: Update
rgbColorGenerator
andgetColorStr
to support alpha channel (rgba) (796f029
) -
fix(canvas render): Always paint fill when explicitly defined (
rgb(0,0,0)
would match the default computedStyles color and be ignored) (9d3ba48
)
[email protected]
Patch Changes
- fix(Highlight): Pass all
bar
props to underlyingBar
(aligning withlines
andpoints
) (2a153ea
)
[email protected]
Patch Changes
- fix(Canvas): Properly setup
pointerdown
event (allowinge.stopPropagation()
) (579d771
)
[email protected]
Patch Changes
-
fix(AreaChart|LineChart): Only define
onpointerclick
on Highlight if provided to chart (coordinate with recent Highlight change) (81ddcbe
) -
fix: Add
BrushContext
to top-level exports (useful for types) (5005c18
) -
fix(Highlight): Do not propagate
pointerdown
event toBrushContext
ifonclick
is provided (0c35ba9
) -
feat(Circle): Add
onpointerevent
event callback (0ecb9e3
)