dear,
I Have the folowing problem, I'm using the same data for more types of charts and have the folowing construction:
First of all I have my custom series class defined as:
public class CustomSeries : Steema.TeeChart.Styles.Series
{...}
I fill this with data using functions like: Add(datetime, double)..
And next I would like to insert this data in one of my fastline series...
// Create fastline
Steema.TeeChart.Styles.FastLine fastLine = new Steema.TeeChart.Styles.FastLine();
// Add my custom series (CustomSeries : Steema.TeeChart.Styles.Series
)
fastLine.Add(cvp.CustomSeries);
// And add it to our chart control
this.teeChartControl.Series.Add(fastLine);
The problem:
As soon I add my custom serie to fastchart the data is not presented in fastline but does exists in cvp.CustomSeries
Please help,
Danny
public Void Add(Steema.TeeChart.Styles.Series)
-
- Site Admin
- Posts: 1349
- Joined: Thu Jan 01, 1970 12:00 am
- Location: Riudellots de la Selva, Catalonia
- Contact:
Hello!
You might need to cast your object to the series type, e.g.
You might need to cast your object to the series type, e.g.
Code: Select all
fastLine.Add((Steema.TeeChart.Styles.Series)cvp.CustomSeries);
Thank you!
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/
Christopher Ireland (Steema crew)
Please be aware of the newsgroup archives:
http://www.teechart.net/support/search.php
http://groups.google.com
http://codenewsfast.com/