Gilbert, You are right, this method works for both Swing and SWT. I found out that my customized renderer causes the problem.
Thanks for the quick response!!
Search found 3 matches
- Thu Jun 19, 2008 3:30 am
- Forum: JFreeChart
- Topic: SWT series visibility
- Replies: 2
- Views: 2496
- Wed Jun 18, 2008 11:03 am
- Forum: JFreeChart
- Topic: SWT series visibility
- Replies: 2
- Views: 2496
SWT series visibility
Hi all:
How to control the visibility of series if the Chart is using SWT instead of Swing? I know there is a mothed called setSeriesVisible() in renderer classes. However, it works for Swing, but not SWT.
Any suggestions are appreciated!!
How to control the visibility of series if the Chart is using SWT instead of Swing? I know there is a mothed called setSeriesVisible() in renderer classes. However, it works for Swing, but not SWT.
Any suggestions are appreciated!!
- Tue Jun 03, 2008 2:09 am
- Forum: JFreeChart
- Topic: popupmenu SWT
- Replies: 2
- Views: 5335
There is a way to change the popup menu by overriding the createPopupMenu() method in the subclass of ChartComposite. protected Menu createPopupMenu(boolean properties, boolean save, boolean print, boolean zoom) { Menu menu = super.createPopupMenu(properties, save, print, zoom); //Then add your menu...