[BoxPlot] Zoom display isn't correct for only one BoxPlot

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
SiA
Newbie
Newbie
Posts: 43
Joined: Wed Mar 10, 2004 5:00 am

[BoxPlot] Zoom display isn't correct for only one BoxPlot

Post by SiA » Thu Oct 05, 2006 3:38 pm

We have discovered a defect when we use BoxSeries. When only one BoxSeries is displayed in chart and a zoom is performed on BoxPlot, only half of box is displayed at left of chart (zoomed boxplot is not centered on chart).

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Oct 06, 2006 7:49 am

Hi SiA,

I guess this is because with only one series the bottom axis only has a zero value. Using the code line below makes this work:

Code: Select all

Chart1.Axes.Bottom.SetMinMax(Series1.MinXValue-1,Series1.MaxXValue+1);
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply