Jump to content

Need help with chart.js time series chart


bernhard
 Share

Recommended Posts

Can anybody please help me getting this chart.js work? 😐 

https://jsfiddle.net/baumrock/f96483en/1/

It should look like this example in the docs, but I can't just copy the code of the docs over because I don't have all those util functions on my setup. Maybe someone could explain how I can make those docs examples work on my laptop as well?

https://www.chartjs.org/docs/latest/samples/scales/time-max-span.html

Link to comment
Share on other sites

Thx, unfortunately that does not help. That's now a regular line chart having "stupid" axis that are not aware of the date (having wrong sort order and wrong distance).

Also I'd really need some help how to use all the examples in the docs and how I can customize them for my needs... The installation section (https://www.chartjs.org/docs/latest/getting-started/installation.html) does not help me either - I have no idea about all those module packer systems. I've tried to do some research but it did not help..

Maybe someone can give me pointers in the right direction 🙂 thanks!

Link to comment
Share on other sites

Thx. But how do I integrate them in my project (for testing and playing around with the chart.js samples)?

My javascript level is unfortunately not the best, so I'm overwhelmed by all those new module/import/export stuff and how to use it 😞 

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...