Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net & .Net Compact Framework
 Real-Time Graphics Tools for .Net (VB and C#)
 Change color of RTSimpleSingleValuePlot

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

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

* Forum Code is ON
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
quinncurtis Posted - 21 Mar 2013 : 12:02:13
Ive been using the toolkit and adding some great charts to our app.

I would like to be able to change the line color of an existing RTSimpleSingleValuePlot that is already displaying in a real-time chart. I have tried using the SetColor() API, but the line color doesnt change. Any suggestions?

1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 21 Mar 2013 : 12:03:14
You must be calling SetColor on the wrong object. You need to call it on the SimpleLinePlot object the RTSimpleSingleValuePlot is based on,

            SimpleLinePlot lineplot2 = new SimpleLinePlot(pTransform2, null, attrib2);
            rtPlot2 = new RTSimpleSingleValuePlot(pTransform2, lineplot2, NASDAQChannel);

	// Change the line color

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