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 Java
 QCRTGraph for Java
 Multiple needle meter
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

dldudley

10 Posts

Posted - 02 Jun 2010 :  08:13:44  Show Profile  Reply with Quote
Slowly but surely, things are starting to gel...

Next, can I display a meter with more than one needle (Or is that just displaying several meters at the same location?)?

Have a situation where I need to display 3 variables with the same comparative scale. The comparison between the indicators is important, so I want to display all 3 meters on the same dial face.

quinncurtis

1585 Posts

Posted - 02 Jun 2010 :  10:15:51  Show Profile  Reply with Quote
You can add as many RTMeterNeedleIndicator objects to a chart as you want. If they reference the same meter frame they will appear in the same meter.

RTMeterNeedleIndicator meterneedle1 = new RTMeterNeedleIndicator(meterframe1, processVar1);
...
RTMeterNeedleIndicator meterneedle2 = new RTMeterNeedleIndicator(meterframe1, processVar2);
...
RTMeterNeedleIndicator meterneedle3 = new RTMeterNeedleIndicator(meterframe1, processVar3);
...

chartVu.addChartObject(meterneedle1);
chartVu.addChartObject(meterneedle2);
chartVu.addChartObject(meterneedle3);
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