Page 1 of 1

Zoom issues with Area Chart

Posted: Thu Oct 01, 2009 11:26 pm
by 6923298
Hi,

I'm using version 3.5.3498.27367 and seemed to have problems with zooming on an area chart.

As can be seen in the attached gif file, the afterzoom.gif shows additional lines appearing when the initial chart (see beforezoom.gif) is zoomed. Interestingly, when I use

Code: Select all

tChart1.Export.Image.GIF.CopyToClipboard()
, the additional lines disappear on the chart and the resultant gif file.

Part of the codes that I used to plot the chart are as follows:

Code: Select all

tChart1.AutoRepaint = false;
tChart1.Aspect.View3D = false;
tChart1.Series.RemoveAllSeries();
tChart1.Tools.Clear();
tChart1.Legend.Alignment = Steema.TeeChart.LegendAlignments.Bottom;
tChart1.Legend.CheckBoxes = false;
tChart1.Legend.Visible = true;
Steema.TeeChart.Styles.Area area1 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
Steema.TeeChart.Styles.Area area2 = new Steema.TeeChart.Styles.Area(tChart1.Chart);
area1.Stacked = Steema.TeeChart.Styles.CustomStack.Stack;
area2.Stacked = Steema.TeeChart.Styles.CustomStack.Stack;
area1.AreaBrush.Color = Color.FromArgb(255, 0, 75);
area2.AreaBrush.Color = Color.FromArgb(255, 0, 0);
area1.AreaLines.Color = Color.FromArgb(255, 0, 75);
area2.AreaLines.Color = Color.FromArgb(255, 0, 0);
area1.Color = Color.FromArgb(255, 0, 75);
area2.Color = Color.FromArgb(255, 0, 0);

... fill area with data

tChart1.AutoRepaint = true;
tChart1.Invalidate();
Please advise. Thanks.

Re: Zoom issues with Area Chart

Posted: Fri Oct 02, 2009 8:27 am
by 10050769
Hello pw,

I couldn't reproduce your issue. Please you could send us a simple project example that we can reproduce exactly your problem? You can attach your project directly in this thread.

Thanks,