Hi,
I have a simple application which has one line series and a ScrollPager tool.
I can fill my line series with data and afterwards, save my chart to a file (without data).
I restart my application and press the load button to prepare my chart with the file I saved before.
When I add data to the chart (using the Data button), no data points are drawn. If I look with the Editor, I can see that the ScrollPager tool still uses my line series.
What's wrong or missing?
I added my application as attachment.
DaVinci.
Loading *.tee with ScrollPager not working
Loading *.tee with ScrollPager not working
- Attachments
-
- ScrollPagerSaveLoad.zip
- (16.76 KiB) Downloaded 617 times
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Loading *.tee with ScrollPager not working
DaVinci,
The reason the data is not being drawn is because you have set "IncludeData" to false. If you set it to true, which is default, all should work as expected, e.g.
Thank you.DaVinci wrote:I added my application as attachment.
The reason the data is not being drawn is because you have set "IncludeData" to false. If you set it to true, which is default, all should work as expected, e.g.
Code: Select all
private void loadButton_Click(object sender, EventArgs e)
{
tChart1.Import.Template.Load(filename);
}
private void saveButton_Click(object sender, EventArgs e)
{
tChart1.Export.Template.IncludeData = true;
tChart1.Export.Template.Save(filename);
}
Best Regards,
Christopher Ireland / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |