When comparing CanvasJS Charts vs Chart.js, the Slant community recommends Chart.js for most people. In the question“What are the best JavaScript charting libraries? ” Chart.js is ranked 1st while CanvasJS Charts is ranked 11th. The most important reason people chose Chart.js is:
The library contains a set of 6 charts and is 11Kb gzipped, this makes its loading time and page impact low.
Ranked in these QuestionsQuestion Ranking
Pros
Pro Works across devices and browsers
Charts can render across devices including iPhone, iPad, Android, Windows Phone, Desktops, etc.
Pro High performance
Charts can render tens of thousands of data points without any performance issues.
Pro Free for non-commercial use (Creative Commons Attribution-NonCommercial 3.0 License)
Pro Start-up friendly
Offers discounted pricing for start-ups and new companies.
Pro Good commercial pricing
A single developer license for CanvasJS costs $299.
Pro Supports 24 different chart types
Supports 24 different chart types including line, column, bar, spline, area, pie, doughnut, stock charts, etc.
Pro Lightweight and fast
The library contains a set of 6 charts and is 11Kb gzipped, this makes its loading time and page impact low.
Pro Responsive charts
The charts are fully responsive, meaning they resize based on the viewport width.
Pro Clear documentation
The chart.js documentation is well organized and provides detailed information on using each feature.
Pro Plugin support
Many plugins available via NPM and you can easily write your own
Cons
Con No drill-down
There is no drill-down possibilities built in.
Con Non-interactive
Charts lack interactivity features.
Con Cost for commercial use
Con Limited features
Chart.js currently offers only 6 graph types, and lacks the flexibility offered by other options. For example, controlling the display of tooltips is fairly limited.
Con Canvas based
Canvas it bitmap based and shares the same issues as non-vector formats.