|
How to put null values for area chart |
Posted by Dilip Agarwal on Aug-03-2013 11:58 |
|
Hi Peter, When I plot Stacked Area chart then when data point for a value is null then it
just fill the previous point to next available point, Watch this in attached PNG at time 8 to
16. But I expect that it should not fill that if null occurs. Should I pass any thing else
instead null in the data array for that or any thing else required.
|
Re: How to put null values for area chart |
Posted by Dilip Agarwal on Aug-05-2013 15:27 |
|
Hi, I try cd.NoValue but this does not help , it just treat it as to hide this point and just attach previous point to next point. Bu I want to blank the period for which data was not available so if null value occur then it should be blank. Please tell me how can I do this. |
Re: How to put null values for area chart |
Posted by Peter Kwan on Aug-06-2013 00:19 |
|
Hi Dilip,
If you are using VB6, VBScript or VBA, please use cd.NoValue so that ChartDirector knows there is a gap. For an area chart, the default gap color is cd.SameAsMainColor, which means the gap will be colored using the normal fill color. If you would like to "blank" the period, you may set the gap color to cd.Transparent.
Call layer.setGapColor(cd.Transparent)
Hope this can help.
Regards
Peter Kwan |
Re: How to put null values for area chart |
Posted by Dilip Agarwal on Aug-06-2013 21:09 |
|
Thanks Peter, It works. |
|