Hi,
I'd like to bind my Buisness Object Collection to winChart, doing it like that:grid.DataSource = myCollection;
How to select what field shall be used on simple bar chart in X, and what field on Y axis ?
I found many DataTable examples but I'd like to avoid creating dynamically dTable if can bind to Buisness Object collection (I believe it is possible)
Many thanks for any advices !
Hello Maciej,
Currently the UltraChart automatically plots all public numeric properties of any business object it's bound to. If you want to control which properties get plotted, you could create a NumericSeries and add one NumericDataPoint to the series for each item in the collection. If you have more than one numeric property of the business object that you want plotted, you could also use an XYSeries, an XYZSeries, or a FourDimensionalNumericSeries. See the following link for more information.
http://help.infragistics.com/NetAdvantage/WinForms/2010.3/CLR2.0/?page=Chart_Series_Collection.html