Null values in line charts

Posted by user567251 
Null values in line charts
January 26, 2011 02:18PM
Hi,

is it possible to habe NULL (not 0) values in a line chart.

It would be great if I could draw lines which are interupted when I have no data at this time.

Thanks!
Re: Null values in line charts
January 27, 2011 02:38PM
That is not possible, but there is a workaround. Instead of defining a single line, you can create more series. For example:

myChart.setDataArray([[1, 6], [2, 3], [3, 5]]);
myChart.setDataArray([[6, 6], [7, 8], [8, 2]]);

Sabin

--------------------
JS Charts - Created by Smartketer LLC
Re: Null values in line charts
January 27, 2011 02:53PM
Hi Sabin,

will try it... Thanks.

Tino
Sorry, you do not have permission to post/reply in this forum.