webchart export not saving series labels

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
simon
Newbie
Newbie
Posts: 14
Joined: Tue Jan 20, 2009 12:00 am

webchart export not saving series labels

Post by simon » Wed May 06, 2009 11:52 pm

using latest march build of 3.5 .net teechart.

if i have a boxplot series with labels that i assign manually, when i save the chart containing the series/labels to a session using the ch1.export.template.save(memorystream), and reload the chart on a postback using ch1.import.template.load(stream), the labels for the boxplot series are not saved with the chart.

by labels im referring to the x-axis series label that identifies the boxplot.

example
oChart.Axes.Bottom.Labels.Items.Add(oBoxAverage.Position, "LabelNameAndStuff");

it will disappear when reloading the saved chart.

Yeray
Site Admin
Site Admin
Posts: 9612
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Thu May 07, 2009 1:43 pm

Hi simon,

Yes, it seems that the custom labels aren't exported to the stream. I've added it to the wish list to be implemented in further releases (TF02014137).

In the meanwhile I'm afraid that the only solution would be saving your labels (position and text) to an array and read them once the stream is loaded.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply