Page 1 of 1

axis is not cleared when clearing series

Posted: Sat Apr 25, 2009 11:21 pm
by 10551640
I seem to have an issue with 8.0.4 of TeeChart Pro. I load sample values into a chart (with axis values max 500) - have 5 values. This is just so the user can see the chart and advise various attributes. Then when they choose to populate with real data, I clear the series, and use the .add(x,y,color) to add the production information into the chart. Now when they view the chart afterwards, the bars are all shown correctly, but the left and axis are still set to 500, and no axis points above 500, and the bottom axis still contains the original 'label1', 'label2' up to 'label5'.

Please help!

Posted: Mon Apr 27, 2009 8:16 am
by yeray
Hi BrianNuVu,

If you set an axis min and max manually in the "preview", then this axis won't change automatically. So you probably need to force it to be automatic, or set a min and max manually again. And probably happens something similar with your labels.

If you need more precise suggestions, please, send us a simple example project we can run as-is, and we'll try to correct it if we find something wrong or improvable.
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.

Posted: Mon Apr 27, 2009 8:59 am
by 10551640
9348257 wrote:Hi BrianNuVu,

If you set an axis min and max manually in the "preview", then this axis won't change automatically. So you probably need to force it to be automatic, or set a min and max manually again. And probably happens something similar with your labels.

If you need more precise suggestions, please, send us a simple example project we can run as-is, and we'll try to correct it if we find something wrong or improvable.
You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
Leave this with me - seems to be an issue with the CloneSeries procedure - ie: with a simple project it works fine - so must be an issue with my complex project - I will get back to you.. Thanks