Export chart with a null value

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Glenn F. Henriksen
Newbie
Newbie
Posts: 52
Joined: Tue Mar 04, 2003 5:00 am

Export chart with a null value

Post by Glenn F. Henriksen » Thu Feb 03, 2005 11:06 am

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

Pep
Site Admin
Site Admin
Posts: 3295
Joined: Fri Nov 14, 2003 5:00 am
Contact:

Post by Pep » Thu Feb 10, 2005 9:57 pm

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.

Post Reply