Quinn-Curtis Forums
Quinn-Curtis Forums
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Tools for Microsoft .Net
 Real-Time Graphics Tools for .Net (VB and C#)
 Real Time Graphs - disable/enable line plots

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
kluden Posted - 29 Jun 2005 : 14:08:29
I am planning to use your real time graph product to display a number of parameters.

There will be a number of gas concentrations displayed (similar to your ScrollApplication1 example, but with about 10 lines). I would like to be able to selectively hide each concentration without losing the data. As an example, I could have a button for each concentration that toggles between 'display' and 'hide'. Operating any button will either hide or display the historical line and continue updating as new data is acquired.

My first thoughts were to change the line colour to that of the background, but I have not been able to find a method for changing the line colour in real time.

Can you suggest some practical approaches?

kluden

kluden
1   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 29 Jun 2005 : 14:39:15
You can disable a plot object using the ChartObjEnable property. See question #4 in the FAQ's, http://www.quinn-curtis.com/QCChart2DCFFAQs.htm.

Using the objects in the ScrollApplication1 example program:

ChartAttribute attrib1 = new ChartAttribute (Color.Yellow, 3,DashStyle.Solid);
SimpleLinePlot lineplot1 =  new SimpleLinePlot(pTransform1, null, attrib1);
lineplot1.SetFastClipMode( ChartObj.FASTCLIP_X);
RTSimpleSingleValuePlot solarPanelLinePlot1 = new RTSimpleSingleValuePlot(pTransform1,lineplot1, currentTemperature1);
chartVu.AddChartObject(solarPanelLinePlot1);
.
.
.
// Disable - hide - the plot at some point		
solarPanelLinePlot1.ChartObjEnable = ChartObj.OBJECT_DISABLE;.
.
.
.
// Enable - show - the plot at some point
solarPanelLinePlot1.ChartObjEnable = ChartObj.OBJECT_ENABLE;

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