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#)
 Transparent background for RTBarIndicator

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
soundar Posted - 16 Mar 2010 : 16:09:54
Is there a way to make the background of the RTBarIndicator graph transparent? For example on page 28 of QcRTGraphNetManual.PDF (Revision Date 1/27/2006 Rev. 1.6) I want the black area to be transparent and only the green (the value of the graph) to show up. Because I have an image in the background.
Thanks.
4   L A T E S T    R E P L I E S    (Newest First)
quinncurtis Posted - 19 Mar 2010 : 10:30:46
Do not add any Background objects for the PLOT_BACKGROUND.

//Background background = new Background(pTransform1, ChartObj.PLOT_BACKGROUND, Color.Gray);
//chartVu.AddChartObject(background);

Set the barplots IndicatorBackgroundEnable property to false

RTBarIndicator barplot = new RTBarIndicator(pTransform1, EngineRPM1, barwidth, barbase, attrib1, barjust, barorient);
barplot.IndicatorBackgroundEnable = false;
.
.
.

This removes the bar indicator background, rather than just make it transparent.
soundar Posted - 18 Mar 2010 : 22:30:20
I should have also mentioned that the image is part of ChartView (ChartImage control)
soundar Posted - 18 Mar 2010 : 21:41:47
Maybe I was not clear in my question. I am unable to attach an image to this post - only a url to an image it seems.

http://www.screencast.com/users/LoadstarSensors/folders/Web%20site/media/0b91376d-e0c9-4f50-9111-736ba0aa4ae7
quinncurtis Posted - 17 Mar 2010 : 10:25:31
The background of a UserControl derived object cannot be transparent. This is a limitation of .Net UserControl objects. So if your image is underneath your ChartView window, the background of the ChartView cannot be made transparent, and the image will not show through. But, if your image is actually placed in the ChartView, using our ChartImage class, you can have the image show through. So, which is it?

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