Page 1 of 1

webchart export not saving series labels

Posted: Wed May 06, 2009 11:52 pm
by 13051546
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.

Posted: Thu May 07, 2009 1:43 pm
by yeray
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.