Several of the Chart Types indicate this can be done but don't provide any insight. Does anyone have an example of switching between different columns in data table for axis labels ?
Thanks
Hello schradg1,
I`m not sure that I understand well your requirements and final goals, but one possible approach to switch between different column`s data could be:
Option 1: Using ultraChart1.Data.SwapRowsAndColumns =true;
Option 2: To assign a new Column/Row labels through methods:
ultraChart1.Data.SetColumnLabels()
ultraChart1.Data.SetRowLabels()
Option 3 : Using DataBind methods and specify which column to be for labels and values. For example:
NumericTimeSeries series1 = new NumericTimeSeries();
series1.Label ="test";
series1.DataBind(dt,"Period", "Value", "Period");
series1.PEs.Add(new PaintElement(Color.Red));
Let me know if you have any questions, or if you think that I misunderstand your requirements.
Regards
If you need any additional assistance don’t hesitate to ask.