I am retrieving data in the following format
Column1 Column2
0.1 0.2
0.3 0.2
ultraChart1.DataSource = dataSet;
ultraChart1.DataBind();
I get the error: You must include at least one row and two numeric columns in Scatter Chart Appearance - ColumnX and ColumnY
Any suggestions?
You need to add and one text column. You can try something like:
this.ultraChart1.ChartType = Infragistics.UltraChart.Shared.Styles.ChartType.ScatterChart;
DataTable table = new DataTable();
table.Columns.Add("Label", typeof(string));
table.Columns.Add("Column1", typeof(double));
table.Columns.Add("Column2", typeof(double));
table.Rows.Add(new object[ { "a", 0.1, 0.2 });
table.Rows.Add(new object[ { "b", 0.3, 0.2 });
this.ultraChart1.DataSource = table;
this.ultraChart1.DataBind();
Thank you!
How about if you want two different series to show up on a single graph.
ColumnX1 ColumnY1 ColumnX2 ColumnY2
1 0.1 3 0.2.
2 0.2 4 0.3
Is this doable?
Also, how can you hide Column1, Column2 from appearing at the top of the graph (from your example).
Thanks!