Page 1 of 1

Export chart with a null value

Posted: Thu Feb 03, 2005 11:06 am
by 8119814
I have a chart who contain a null value.
The chart is displayed correctly with the 2 following solutions (I will add a null value at position 11, the X axes is a "time" axes):
1. MyChart.Chart.Series(10).Add(TheTime, 0, Color.Transparent)
2. MyChart.Chart.Series(10).Add()

The problem become when I export this chart to a XML or a text file.
With the case 1, I receive a value = "0" at the position "TheTime".
With the case 2, I receive the value = "11" and a time value = "0" at the position of "TheTime"

I should have in my rapport: value = "NULL" and time = "TheTime".
What can I do ?

Thanks for your contribution

Posted: Thu Feb 10, 2005 9:57 pm
by Pep
Hi Lancer,

I'm afraid the only way to do this would be creating the txt file manually, iterating through all the data in the series and manually save the desired text for Null values.