New Chart.js beta version launched
41–50 of 64 posts
Re: New Chart.js beta version launched
#42Would someone who's familiar with chart.js do a quick comparison between other popular charting libraries? I've mostly used rickshaw and d3.
Re: New Chart.js beta version launched
#43Re: New Chart.js beta version launched
#44Earlier quoted context omitted.
SVG is a good solution too, but it can really suffer performance-wise, especially on mobile, tablet and when animating svg node positions.
Canvas is bitmap-based, while SVG is vector. If you need to print the chart SVG is going to look a lot better. Also, if you pinch-zoom the chart, SVG is going to look better. Canvas doesn't support animation -- you have to code it yourself. SVG performance is quite good unless you have thousands of elements, which a chart isn't going to have.
What do you mean?
Re: New Chart.js beta version launched
#45Earlier quoted context omitted.
Just from a cursory glance, it appears that Chartjs is entirely free and you can do what you want with it, while Highcharts is not.
It would be nice if this distinction was stated unambiguously on the front page here's the license if you were looking for it like I was https://github.com/nnnick/Chart.js/blob/master/LICENSE.md
Re: New Chart.js beta version launched
#46I've used Chart.JS for quite a few big projects but I always found it lacking in some crucial features (hover/tap events & legends)
Re: New Chart.js beta version launched
#47Earlier quoted context omitted.
Don't forget Highcharts... http://www.highcharts.com
Big fan of Highcharts. Like that you can export charts to a png. Big deal for me, don't think chart.js offers anything like that?
Re: New Chart.js beta version launched
#48Earlier quoted context omitted.
Canvas is bitmap-based, while SVG is vector. If you need to print the chart SVG is going to look a lot better. Also, if you pinch-zoom the chart, SVG is going to look better. Canvas doesn't support animation -- you have to code it yourself. SVG performance is quite good unless you have thousands of elements, which a chart isn't going to have.
> Canvas doesn't support animation -- you have to code it yourself. What do you mean?
Whereas SVG has actual objects, that you can apply items like animateTransform, animateMotion etc to them directly, in a declarative style.
Re: New Chart.js beta version launched
#49At work, we use Google Charts to chart data, then send images of those charts to users via email, inline. We are told that this functionality will be deprecated in the API some time next year. Anyone have an idea of how to mitigate that? Emails dont support javascript so not sure how to get around this. Just for some clarity, if you happen to use Sendgrid, they do the same thing. Google chart images in an email.
All we do is grab the SVG source with JS, post it back to the server, and get the image back (after it is scaled/watermarked/optimised). This setup has worked well for us for some years now. Further we can easily interchange charting libraries with on concern about their native exporting options because we handle the rendering ourselves.
[1] https://xmlgraphics.apache.org/batik/tools/rasterizer.html
Re: New Chart.js beta version launched
#50Earlier quoted context omitted.
> Canvas doesn't support animation -- you have to code it yourself. What do you mean?
The obvious. That canvas is just a set of pixels with colors (a bitmap image). To get animation, you have to explicitly change them every X milliseconds. Whereas SVG has actual objects, that you can apply items like animateTransform, animateMotion etc to them directly, in a declarative style.