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 & .Net Compact Framework
 Real-Time Graphics Tools for .Net (VB and C#)
 RTMultiValueAnnunciator Issue
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bhossein

4 Posts

Posted - 23 Jun 2005 :  12:56:49  Show Profile  Reply with Quote
Hello,

I am evaluating this software (RT Graphics Tools for .Net) for possible use at the company for which I work. However, I have run into a small issue. I am attempting to use the RTMultiValueAnnunciator Class to display six RTStringPanelMeter and six RTNumericPanelMeter classes associated with six RTProcessVar classes.

I am having no problem displaying the PanelMeters how and where I want them; but the appropriate background colors are not showing up on the bars upon which they reside.

I am instantiating a ChartAttribute array with six different colors (red, orange, yellow, green, blue, purple) and then passing the array as an argument when I instantiate the RTMultiValueAnnunciator class.

I want each bar to display a different background color. However, the color of the sixth element in the array is shown for all six bars (i.e. they are all purple; if I change purple to green, they are all green).

Is this a known problem, or am I doing something wrong?


Thank you,

B. Hosseininejad
bhosseininejad@dufercofarrell.com

quinncurtis

1164 Posts

Posted - 23 Jun 2005 :  13:37:20  Show Profile  Reply with Quote
What you describe appears to be a bug. We will investigate further and update the software, including the trial version, on July 1, 2005. If we come up with any new information regarding this issue we will post it on this thread.
Go to Top of Page

quinncurtis

1164 Posts

Posted - 23 Jun 2005 :  14:04:44  Show Profile  Reply with Quote
In the meantime your can set the color attribute of a specific annunciator cell after the RTMultiValueAnnuciator has been created.



ChartAttribute []attribArray = {attrib0, attrib1, attrib2, attrib3, attrib4, attrib5};

RTMultiValueAnnunciator annunciator = new RTMultiValueAnnunciator(pTransform1, processVarArray, numcols, numrows, attribArray);
	
annunciator.SetSegmentAttributes(0, attrib0);
annunciator.SetSegmentAttributes(1, attrib1);
annunciator.SetSegmentAttributes(2, attrib2);
annunciator.SetSegmentAttributes(3, attrib3);
annunciator.SetSegmentAttributes(4, attrib4);
annunciator.SetSegmentAttributes(5, attrib5);
Go to Top of Page

bhossein

4 Posts

Posted - 23 Jun 2005 :  14:37:55  Show Profile  Reply with Quote
Thank you very much for the help.
Go to Top of Page

bhossein

4 Posts

Posted - 23 Jun 2005 :  14:52:42  Show Profile  Reply with Quote
I'm sorry, but the SetSegmentAttributes methodology doesn't appear to be working either.

Regards,
B. Hosseininejad
Go to Top of Page

quinncurtis

1164 Posts

Posted - 23 Jun 2005 :  18:58:33  Show Profile  Reply with Quote
You're right. It worked for us because of another change we made to the
DLL. Wait until July 1 and download the trial version again and it will be fixed in the DLL.
Go to Top of Page

bhossein

4 Posts

Posted - 24 Jun 2005 :  08:37:08  Show Profile  Reply with Quote
OK. Thank you again for the help.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Quinn-Curtis Forums © 2000-07 Quinn-Curtis, Inc. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.07