I use the following code and I get the result shown in the attached file "Chart1" but I would have expected the result shown in the attached file "Chart2". What am I doing wrong??
I'm using TeeChart Pro .Net v2010 version 4.1.2012.2283 on VS C# 2010 .NET framework 4, Windows application, on Win7
Code: Select all
private void test()
{
Steema.TeeChart.Styles.FastLine fastline1 = new Steema.TeeChart.Styles.FastLine(tChart1.Chart);
this.tChart1.Series.Add(fastline1);
fastline1.Add(2000, 400, Color.Red);
fastline1.Add(2100, 380, Color.Red);
fastline1.Add(2200, 360, Color.Red);
fastline1.Add(2300, 340, Color.Red);
fastline1.Add(2400, 320, Color.Red);
fastline1.Add(2300, 300, Color.Red);
fastline1.Add(2200, 280, Color.Red);
fastline1.Add(2100, 260, Color.Red);
fastline1.Add(2000, 240, Color.Red);
}