Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
325
UltraWinChart 5.2 How do you plot against Y2 Axis?
posted

 I have a simple datatable with 3 columns (Lable, ActualPrice, ActualVol) I would like to plot ActualPrice column against the Y axis and ActualVol against the Y2 axis. Can anyone let me know how to do this please?

Thanks in advance.

 

Example,

DataTable dt = new DataTable();
dt.Columns.Add(new DataColumn("Label", typeof (string)));
dt.Columns.Add(new DataColumn("ActualPrice", typeof (double)));
dt.Columns.Add(new DataColumn("ActualVol", typeof (double)));

DataRow row = dt.NewRow();
row["Label"] = "L H8 Comdty";
row["ActualPrice"] = 94.0200;
row["ActualVol"] = 23.1950;
dt.Rows.Add(row);
           
row = dt.NewRow();
row["Label"] = "L K8 Comdty";
row["ActualPrice"] = 94.2000;
row["ActualVol"] = 16.5433;
dt.Rows.Add(row);

 Please can someone help me because this is very important? Thanks