Profile Picture

Using BindingList as datasource X axis

Posted By Dan Schubel 14 Years Ago
Author
Message
Dan Schubel
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)Forum Newbie (2 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 2, Visits: 1
I am setting the data source for a line chart to a Bindinglist of custom objects like this:
nChartControl1.DataBindingManager.AddBinding(0, 1, "Values", TableIVT.rowList, "im");

This works fine but how can I specify which property to supply the X coordinates?
It appears to use the 1st property by default.
I am looking for a way to specify both x and y values at design time and run time.

The properties of my object are:
public int point;
public Double time;
public Double vf;
public Double im;
public Double vu;
public Double sig;
public Double ach;
public int ierange;

Suppose I want to plot vf versus time???





Similar Topics


Reading This Topic