bind data to date using Highcharts -


im using highcharts on client side application (i'm using on js back-end calls getting data).

anyway, issue is:

first data series july 2012 - may 2013 second data series may 2012 - may 2013

the issue after loading second data series, using chart.addseries({ name : color: stack: data: })

it move backed first data series may though starting on july.

i trying using date , convert them timestamp not help.

thanks in advance!

the solution came load data first series, second data series. , after having data create highchart.

if have solution can bind date column data, please let me know.

by way, when using data following format works.

this.chart.addseries({ name: 'first data' color: '#' + arr[i].cms.global.graphcolor, stack: 'first stack',
data: [[1,10][2,20][3,10]] }); this.chart.addseries({ name: 'second data' color: '#' + arr[i].cms.global.graphcolor, stack: 'second stack',
data: [[3,10][4,20][5,10]] });


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -