Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Java
 QCRTGraph for Java
 Multiple needle meter

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
dldudley Posted - 02 Jun 2010 : 08:13:44
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.
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 02 Jun 2010 : 10:15:51
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);

Quinn-Curtis Forums © 2000-2018 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07