PDA

View Full Version : Connect only continuous points in Line Chart using ExtJS 3.1



Bendtner52
1 Aug 2011, 2:32 AM
Hello,
I'm currently developing a line chart using ExtJS 3.1, and in the data that i'm using, i sometimes have missing data : fore example i have data looking like :
{week : '01', views : '230', clicks : '102'},{week : '02', views : '', clicks : '202'},{week : '03', views : '40', clicks : '82'},
When i create the chart, all the missing data ends up with (default) 0 and i'd like to only connect continuous points in order to have a good representation, and "skip" the undefined ones.
Do you know how should i proceed?

I hope i made myself clear :),

Thanks in advance

Bendtner52
2 Aug 2011, 12:23 AM
Actually i managed to do it, by replacing all missing data by "null" :)