Javascript chart library that can execute the y axis & # 8594; Time and x axis ---> Date

I am looking for a Javascript chart library that can create charts where there is time on the Y axis and date on the X axis.

I have a review here:

http://en.wikipedia.org/wiki/Comparison_of_JavaScript_charting_frameworks

But if someone knows something that I would like to hear :-)

Welcome and thank you in advance!

Marco

+5
source share
1 answer

ZingChart can easily handle this. Scale objects take Unix time values ​​(in milliseconds) as values, and the transform object can be used to convert Unix time to a more human-readable format using tokens that are visible in this demo and on this document page . This Epoch Converter is a useful tool for converting to Unix time.

Here's a sample scale-x configuration from a jsfiddle demo:

"scaleX": { "min-value": 1373045400000, "step": "day", "transform": { "type": "date", "all": "%d %M %Y", "item": { "visible": false }, "guide": { "visible": true } } }, 

I am on the ZingChart team, so let me know if you need more help.

+4
source

Source: https://habr.com/ru/post/1216022/


All Articles