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()
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();