4 ms·
Will you add SVG support?
by NetOpWibby 7y ago
Will you add SVG support?
- leeoniya 7y agothe reason this lib is both small and fast is because it does not use svg. if you need svg, there are plenty of great charting libs that have svg backends. don't get me wrong, i love svg, but the performance is much worse.
- NetOpWibby 7y agoI shall await the minimal charting library that uses SVG!
- amenod 7y agoI made it - and quickly rewrote it to use canvas. With many points the performance of SVG is simply not acceptable. On the other hand, for canvas they are just pixels (once they are drawn) - no difference in performance if they are white or green. Note that I love SVG and still use it for the axes and the layers above the chart, but it has too much overhead to be used for drawing the chart values.