T O P I C R E V I E W |
soundar |
Posted - 02 Dec 2012 : 02:39:55 I need to draw 5 plots on the primary y axis to one scale and 3 plots on the secondary y axis to a different scale. Is this possible using RTAutoScrollGraph? Is there an example I can refer to?
How do I an axis title (and other properties) for the y2 axis title (different from the yaxistitle)? |
1 L A T E S T R E P L I E S (Newest First) |
quinncurtis |
Posted - 02 Dec 2012 : 11:47:58 The example program RTStockDisplay demonstrates how to combine different coordinate systems in the same real-time chart. You will need one scroll frame for each unique coordinate system, so in your case it sounds like you will need two scroll frames: one with three RTProcessVar objects attached to it, and the other with two.
You add a second y-axis title the same way you add the first. AxisTitle yAxisTitle2 = new AxisTitle(yaxis2, theFont, "YAxis2"); yAxisTitle2.SetYJust(ChartObj.JUSTIFY_MIN); chartVu.AddChartObject(yAxisTitle2);
The call to SetYJust is required to bottom justify a title placed to the right of the axis labels.
|
|
|