You can use label formatter and return value, inluding dateFormat


If you used an array of date time x and y for data points in the series, you need to use Date.UTC() to convert the time to universal time first. And the type property isn't inside the title property.

So try this

xAxis: {
    title: {
        text: 'Year',
    type: 'datetime'
yAxis: {
    title: {
        text: 'Rating'
series: [{
    data: [
    {% for item in graph_data %}
        name: '{{item}}',
        x: Date.UTC({{item.year}}, month, date),
        y: {{item.rating}}
    {% endfor %}


Related Query

More Query from same tag