Hi
I'm using TeeChart.NET ver. 4.1.2010.8043
Using a line serie with Pointer.Visible = false, the axis.MaximumOffset and axis.MinimumOffset work fine.
Using a line serie with Pointer.Visible = true, the axis.MaximumOffset and axis.MinimumOffset don't work.
The release notes of this version report that bug [TF02014628] is fixed.
Regards
losvil
Axis.MaximumOffset is still incorrect.
Re: Axis.MaximumOffset is still incorrect.
Hello losvil,
I could reproduce your problem and I think that is related with bug [TF02014628] but is not the same. I have added it in bug list with number [TF02015172] and we try to fix it for next maintenance releases of TeeChart .Net. At the moment you can use next workaround using SetMinMax() axes property:
Could you please, check code if works as you want?
I hope will helps.
Thanks,
I could reproduce your problem and I think that is related with bug [TF02014628] but is not the same. I have added it in bug list with number [TF02015172] and we try to fix it for next maintenance releases of TeeChart .Net. At the moment you can use next workaround using SetMinMax() axes property:
Code: Select all
private void InitializeChart()
{
tChart1.Aspect.View3D = false;
Steema.TeeChart.Styles.Line series = new Steema.TeeChart.Styles.Line(tChart1.Chart);
series.FillSampleValues();
series.Pointer.Visible = true;
// Using below line works.
tChart1.Axes.Bottom.SetMinMax(series.MinXValue(), series.MaxXValue());
tChart1.Axes.Bottom.MinimumOffset = 50;
tChart1.Axes.Bottom.MaximumOffset = 100;
}
I hope will helps.
Thanks,
Best Regards,
Sandra Pazos / 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 |