CAYdenberg / hypocube

Composable, responsive, React-based data visualization
https://hypocube.livingpixel.io
MIT License
0 stars 1 forks source link

Legend using SVG <use> element #47

Open CAYdenberg opened 3 years ago

CAYdenberg commented 3 years ago

Line and Bar series create a hidden element that draws a data point with the same style as it has on the chart. A could then import it using the element and show it anywhere in the app.

Need to refresh my mind a bit about how works first - sizing of the marker might be a small issue.