Author |
Topic  |
|
soundar
32 Posts |
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. |
|
quinncurtis
1164 Posts |
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? |
 |
|
soundar
32 Posts |
|
soundar
32 Posts |
Posted - 18 Mar 2010 : 22:30:20
|
I should have also mentioned that the image is part of ChartView (ChartImage control) |
 |
|
quinncurtis
1164 Posts |
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. |
 |
|
|
Topic  |
|
|
|