Please download this:
http://193.145.251.126/pnp/files/GRSfIL ... croll2.zip
Steps to reproduce:
- Button1
- Button addcustom
- Button buttonaddserie
- Button refresdata
- Button save
- Button open
Cannot load exported chart
-
- Guru
- Posts: 1603
- Joined: Fri Nov 15, 2002 12:00 am
Re: Cannot load exported chart
You forget to manage *both* custom axes.wakeup wrote:Please download this:
http://193.145.251.126/pnp/files/GRSfIL ... croll2.zip
Code: Select all
private void refreshPageScroller()
{
for (int i = 0; i < tChart1.Series.Count; i++)
{
tChart1.Series[i].CustomVertAxis = null;
tChart1.Series[i].VertAxis = Steema.TeeChart.Styles.VerticalAxis.Left;
}
mt.SubChartTChart.Clear();
mt.Series = tChart1.Series[0]; //it is futile assigning more than one series here
for (int i = 0; i < tChart1.Series.Count; i++)
{
tChart1.Series[i].CustomVertAxis = tChart1.Axes.Custom[i];
}
}
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 |
Re: Cannot load exported chart
Thanks a lot! Now it runs.