DEV Community

loading...

Discussion on: Charts library in JavaScript

Collapse
pedrohba1 profile image
Pedro Bufulin

I think that Chart.js is the easiest one to use.
You just declare an object and change it's properties

Collapse
elcotu profile image
Daniel Coturel Author

Hi Pedro, thanks for your answer.
The only thing with ChartJS is that it doesn't have Gantt chart.

Collapse
pedrohba1 profile image
Pedro Bufulin

Maybe you can use python with plotly to render the charts? I know plotly has way more resources for plotting charts

Even though it is not javascript, I think it shouldn't be hard to make python and javascript work together

Thread Thread
elcotu profile image
Daniel Coturel Author

I'll give it a shot if I cant't find something that works out of the box. This is because the website is already built in PHP with CakePHP and I don't want to make the backend too sophisticated.

Thread Thread
pedrohba1 profile image
Pedro Bufulin

I had a great problem doing charts in javascript too. The Chart.js didn't do what I wanted out of the box. Had to make a lot of changes in it, which ended in a pretty big and messy code