Page 1 of 1

help,

Posted: Wed Apr 08, 2009 4:05 am
by 14048671
application no answer when the line have 2 point
- TeeChart for .NET V3.2.2980.19082
- vs2005
- code :
public partial class Form1 : Form
{
private DataTable _Data;
public Form1()
{
InitializeComponent();
_Data = new DataTable();
_Data.Columns.Add("I", typeof(int));
_Data.Columns.Add("f1", typeof(double)); //多头价格
fastLine1.XValues.DataMember = "I";
fastLine1.YValues.DataMember = "f1";
fastLine1.DataSource = _Data;
}
private void simpleButton1_Click(object sender, EventArgs e)
{
_Data.Rows.Clear();
int ii = 2; //ii=2 bug, but other ok
for (int i = 0; i < ii; i++)
{
_Data.Rows.Add(i, Math.Sin((double)i/10) );
}
_Data.AcceptChanges();
fastLine1.CheckDataSource();
}
}

Posted: Wed Apr 08, 2009 8:42 am
by 10050769
Hello xQuant,

I couldn't reproduce your issue, with last version of TeeChart for .NET v3.53371.26406 I recomended that download last version and checked if your application running well. If yet not working please tell him us.


Thanks,