datamember field being overwriten when saving a template
Posted: Fri Jun 24, 2005 7:18 am
TCHART .NET V2 seems to have a problem when saving a template.
I create a chart which has series with a datatable as the datasource, I save the template into my database.
See the DataMember field from the YValues property of my series before I save the template.
- YValues {Steema.TeeChart.Styles.ValueList} Steema.TeeChart.Styles.ValueList
Capacity 0 Integer
Chart Nothing Steema.TeeChart.Chart
Container Nothing System.ComponentModel.IContainer
Count 0 Integer
DataMember "ALLOC" String
DateTime False Boolean
DefaultCapacity 0 Integer
First 0.0 Double
Item <cannot view indexed property> Double
Last <error: an exception of type: {System.IndexOutOfRangeException} occurred> Double
When I want to see the chart again, I read the template from my database , now see the DataMember from the YValues property
- YValues {Steema.TeeChart.Styles.ValueList} Steema.TeeChart.Styles.ValueList
Capacity 0 Integer
Chart Nothing Steema.TeeChart.Chart
Container Nothing System.ComponentModel.IContainer
Count 600 Integer
DataMember "Y" String
DateTime False Boolean
DefaultCapacity 0 Integer
First 463.45 Double
Item <cannot view indexed property> Double
Last 492.09454 Double
There is something overwriting DataMember for both XValues and Yvalues.
This has only started with V2. The ability to record datasource information accurately in the template is vital to my application. A quick response to this query would be very much appreciated, as I will have to revert back to V1 if this can't be resolved.
I create a chart which has series with a datatable as the datasource, I save the template into my database.
See the DataMember field from the YValues property of my series before I save the template.
- YValues {Steema.TeeChart.Styles.ValueList} Steema.TeeChart.Styles.ValueList
Capacity 0 Integer
Chart Nothing Steema.TeeChart.Chart
Container Nothing System.ComponentModel.IContainer
Count 0 Integer
DataMember "ALLOC" String
DateTime False Boolean
DefaultCapacity 0 Integer
First 0.0 Double
Item <cannot view indexed property> Double
Last <error: an exception of type: {System.IndexOutOfRangeException} occurred> Double
When I want to see the chart again, I read the template from my database , now see the DataMember from the YValues property
- YValues {Steema.TeeChart.Styles.ValueList} Steema.TeeChart.Styles.ValueList
Capacity 0 Integer
Chart Nothing Steema.TeeChart.Chart
Container Nothing System.ComponentModel.IContainer
Count 600 Integer
DataMember "Y" String
DateTime False Boolean
DefaultCapacity 0 Integer
First 463.45 Double
Item <cannot view indexed property> Double
Last 492.09454 Double
There is something overwriting DataMember for both XValues and Yvalues.
This has only started with V2. The ability to record datasource information accurately in the template is vital to my application. A quick response to this query would be very much appreciated, as I will have to revert back to V1 if this can't be resolved.