Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Tools for Microsoft .Net
 Real-Time Graphics Tools for .Net (VB and C#)
 RtAutoScrollGraph question
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

soundar

51 Posts

Posted - 02 Dec 2012 :  02:39:55  Show Profile  Reply with Quote
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)?

quinncurtis

1586 Posts

Posted - 02 Dec 2012 :  11:47:58  Show Profile  Reply with Quote
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07