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? |