help,

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
xQuant
Newbie
Newbie
Posts: 3
Joined: Wed Mar 19, 2008 12:00 am

help,

Post by xQuant » Wed Apr 08, 2009 4:05 am

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

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Post by Sandra » Wed Apr 08, 2009 8:42 am

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply