trend line problem
Posted: Fri Aug 06, 2010 12:10 pm
Hi Steema team!
Please help us to fix problem with drawing trend line: it is not drawing in right part of the chart.
We use v4.0.2009.42281 (in v2010 we see the same problem).
We need instructions how to fix it in the sources.
Here is a code (draw line after pushing button):
and example screenshort in the attach.
Thank you.
Please help us to fix problem with drawing trend line: it is not drawing in right part of the chart.
We use v4.0.2009.42281 (in v2010 we see the same problem).
We need instructions how to fix it in the sources.
Here is a code (draw line after pushing button):
Code: Select all
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Line line = new Line();
line.FillSampleValues();
tChart1.Series.Add(line);
DrawLine tool = new DrawLine();
tChart1.Tools.Add(tool);
tool.Series = line;
tool.EnableDraw = true;
tool.EnableSelect = true;
}
}
Thank you.