ZingChart: How do I format dates (time-series values)?

You'll want to use the format  object and set it to type:'date' .

"scale-x": {
    "max-items": 10,
    "min-value": 1433282400000,
    "transform": {
        "type": "date",
        "all": "%d.%m.%Y
%H:%i",
        "item": {
            "visible": false
        }
    }
},
"series":[
    {
        "values": [
            [1433282400000,25.68],
            [1433286000000,26.41],
            [1433289600000,26.52],
            [1433293200000,26.23],
            [1433296800000,25.77]
        ]
    },

Example: https://demos.zingchart.com/view/ONVC14XT 

Documentation

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us