Author |
Topic |
|
roddym
2 Posts |
Posted - 24 Jul 2008 : 22:39:49
|
Hi,
I've had a search on trying to make the ChartView transparent; there is an entry in .Net, but this doesn't help with the Java implementation.
Can the ChartView be made transparent in the real-time Java library?
Thanks, |
|
quinncurtis
1586 Posts |
Posted - 24 Jul 2008 : 23:36:37
|
We don't think so, at least not under Windows. But it may help if we knew exactly what type of transparency you are looking for. Do you want transparency to see through to other JPanel windows added to the same content pane but underneath the ChartView window. Or do you want transparency through the Frame window to the underlying desktop.
What operating system are you using? Transparency seems to be operating system dependent. |
|
|
roddym
2 Posts |
Posted - 25 Jul 2008 : 00:37:43
|
Hi,
Thanks for the quick reply. We are currently using Windows (although that may change in the future), and wish to have transparency to see a background image behind one of more chartviews.
Otherwise, is there an alternative approach to utilising background images for the controls in your library? |
|
|
quinncurtis
1586 Posts |
Posted - 25 Jul 2008 : 08:53:11
|
You can include images as objects in a real-time graph using the ChartImage class, or as the background of a real-time graph, using the Background class. See the Java QCChart2D demo applet at: http://www.quinn-curtis.com/QCChart2DJavaAppletDemo.htm, select the Image tab at the top right. Also, see the QCChart2D manual and the QCChart2D example program ImageCharts. While those examples use static QCChart2D charts, the same classes can be used with real-time charts. This is definitely the way to go, and it will work with all operating systems.
|
|
|
|
Topic |
|
|
|