3 ms·
I've used plotly.js the last months (about 3 or 4), the needs of my application are basic: pie chart, bar chart and line chart. I first tried Chart.js, very ea
by joelbugarini 11y ago
I've used plotly.js the last months (about 3 or 4), the needs of my application are basic: pie chart, bar chart and line chart.
I first tried Chart.js, very easy to work with, but some situations make me change to plotly:
-The user needed numbers to be outside the pie chart when the space is limited.
-The user print the chart so svg is better than canvas for this purpose
Plotly has plenty of configuration options and is well documented on https://plot.ly/javascript/reference/ https://plot.ly/javascript/reference/ but for me, the most useful part is the playground (You need a plotly account). You can make your layout for a chart, view the JSON layout object and apply it on your project.
The experience has been positive to me.
- etimberg 11y agojoelburgarini I'm one of the maintainers of Chart.js. Version 2 (currently in a beta release, https://github.com/nnnick/Chart.js/tree/v2.0-dev https://github.com/nnnick/Chart.js/tree/v2.0-dev) supports multiple x or y axes.
- joelbugarini 11y agoYou are right, i've edited the comment to clarify.