Sir,
I have a dataset with 'N' columns. But i want to assign only one cloumn in X axis and One Column to Y axis. How to do it? Does my Datasource assigned to Chart control should have only those columns or it can contain many???
Thanks
R.Vasanth
There are different data requirements for different chart types. Columns can be excluded from the chart's datasource by using the following:chart.Data.IncludeColumn(numericColumnIndex, false)For the most common chart types (Column, Line) the first string column is automatically picked for the X axis or can be specified by RowLabelsColumn property. For Scatter charts, you can specify ColumnX and ColumnY columns explicitly.
Alternatively, you can filter your data with a data view and use it as the chart's datasource.