Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello,

can anyone here help me out of this situation ?

i am trying to plot lines on high charts . it works fine on Google chrome,IE9 but not working for IE10. below is the code for plotting lines.


C#
xAxis: {
    maxZoom: 60 * 60 * 1000, // one hour
    title: {
        text: 'Hours'
    },
    type: 'datetime',
    labels: {
        formatter: function () { return Highcharts.dateFormat('%H', this.value); }
    },
    plotLines: [{
        value: startDate,
        width: 4,
        color: 'red'
    },
    {
        value: endDate,
        width: 4,
        color: 'green'
    }]
},



i am supplying the startDate and endDate in milliseconds as the x-axis is of type:- datetime .

Thanks.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900