Hi,
I see that all examples use DataTable as the Data Source of Chart.
First, is it possible to use BindingList, and assign it to the DataSource of Chart?
If possible, how can we specify both x and y axis of the Chart? I have a binding source, which has two columns (X and Y), and each row represents a distinct set of X and Y that should be plotted as one line graph.
I have tried assiging my bindinglist to the data source of the chart, but everytime I did it, it only set the y axis, and x axis was not. (I don't even get what column from the binding list that the chart plotted as y axis)
Many Thanks in Advance
Set the ChartType to ScatterChart and ScatterChart.ConnectWithLines = true.
A line chart has either time or just strings on the x-axis, whereas a scatter chart has numeric x and y axes.
With you answer above - does this imply I can use a Line chart for plotting numeric vs date Information ? I am using IBinding List and have swapped the axis but cannot see how I tell the chart to derive my x-axis from a particular column (DateTime). Can you advise ? Thanks in advance