When comparing Chart.js vs Flot, 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 Flot is ranked 16th. 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 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
Pro Easy to use
Flot provides detailed and well organized documentation that includes plenty of code examples you're free to use. It's fast to customize and add functionality, partially due to its use of jQuery.
Pro Real-time updates
Flot provides live updating with a customizable update time.
Pro Drag to select
Pro Simple configuration
Cons
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.
Con Limited choice of charts
Currently, Flot supports a limited number of chart types (lines, bars, filled area and point chart).