Search found 5 matches

by Dave Fowler
Tue Sep 04, 2007 9:57 am
Forum: .NET
Topic: Template.Save/Load and GetSeriesMark
Replies: 7
Views: 4682

Hi Dave, If chart variable is visible or declared in the same method as the foreach statement then I don't see why it shouldn't work. I can break your example code, too, by changing the LoadChart() method as follows: private void LoadChart() { //retrieve the session stored Chart tmpChart = (MemoryS...
by Dave Fowler
Tue Sep 04, 2007 9:36 am
Forum: .NET
Topic: Template.Save/Load and GetSeriesMark
Replies: 7
Views: 4682

Hi, Thanks for your replies. I found the problem but I'm not sure why it makes a difference. My original code: Steema.TeeChart.Chart chart = chtPareto.Chart; chart.Import.Template.Load(tmpParetoChart); foreach(Steema.TeeChart.Styles.Series series in chart.Series) { ... } By changing the foreach stat...
by Dave Fowler
Mon Sep 03, 2007 3:55 pm
Forum: .NET
Topic: Template.Save/Load and GetSeriesMark
Replies: 7
Views: 4682

Hi Dave, Exporting TeeChart into a native file format or a stream doesn't save associated events. You'll need to assign the events again after having loaded the chart. I tried the following code: chart.Import.Template.Load(tmpChart); foreach(Steema.TeeChart.Styles.Series series in chart.Series) { i...
by Dave Fowler
Mon Sep 03, 2007 3:13 pm
Forum: .NET
Topic: Template.Save/Load and GetSeriesMark
Replies: 7
Views: 4682

Template.Save/Load and GetSeriesMark

Using the WebChart component in a WebForms app:

MarkText set in a GetSeriesMark event handler is not saved by a call to Chart.Export.Template.Save() (or it is not loaded by a call to Chart.Import.Template.Load())
by Dave Fowler
Fri Aug 24, 2007 1:40 pm
Forum: .NET
Topic: TeeChart data and Delphi 2006 for ASP.NET vs VS 2003
Replies: 5
Views: 13441

narcis wrote: This is a known issue (TF02011193) which need to be investigated for future releases. In the meantime, the only way is setting chart at run-time.
Any chance of a fix for this?

This is a major problem for anyone designing webforms apps with BDS2006.