Search found 8 matches

by jesse
Fri Jan 26, 2007 6:18 pm
Forum: JFreeChart
Topic: Click on Legend To Hide Series
Replies: 3
Views: 5732

The problem with that is when you toggle a series' visibility, the legend's entry gets hidden too. How can you click on the entry to show the series again? I can only guess there is a setting to allow a series to be hidden without hiding the legend entries.
by jesse
Thu Dec 14, 2006 11:49 pm
Forum: JFreeChart
Topic: Click on Legend To Hide Series
Replies: 3
Views: 5732

Click on Legend To Hide Series

Has anyone tried to hide a series by clicking on its legend entry?

I could only think of adding hide JCheckboxes on the chart's right click menu that toggled the visibility.

Is there a better way to do this?
by jesse
Wed Dec 06, 2006 6:32 pm
Forum: JFreeChart
Topic: Setting the series visbility
Replies: 4
Views: 5338

Thanks for the info and the quick reply.
by jesse
Wed Dec 06, 2006 6:19 pm
Forum: JFreeChart
Topic: Setting the series visbility
Replies: 4
Views: 5338

I went through some of the code to see what happens when setSeriesVisible is changed. All of them inherit AbstactRenderer's setSeriesVisible. setSeriesVisible calls notifyListeners.

I don't see which objects are listed as listeners.

Can anyone shed some light on this???
by jesse
Wed Nov 29, 2006 11:03 pm
Forum: JFreeChart
Topic: Setting the series visbility
Replies: 4
Views: 5338

I am having the same issue http://www.jfree.org/phpBB2/viewtopic.php?t=11819. However, I'm not getting much in the way of help.
by jesse
Wed Nov 29, 2006 8:13 pm
Forum: JFreeChart
Topic: Visibel of CategoryItemRenderer
Replies: 5
Views: 4738

Does anyone have any idea on this? In addition to the BarChart, I am trying to hide a series in StackedBarChart. JFreeChart chart = ChartFactory.createStackedBarChart( "", // chart // title "Workspace", // domain axis label "TB", // range axis label createDiskspaceDataset(), // data PlotOrientation....
by jesse
Fri Nov 17, 2006 9:03 pm
Forum: JFreeChart
Topic: Visibel of CategoryItemRenderer
Replies: 5
Views: 4738

I am using ChartFactory.createBarChart to create a bar chart and chart.getCategoryPlot().getRenderer(); to get the Renderer. The bar renderer is org.jfree.chart.renderer.category.BarRenderer.

Thanks.
by jesse
Fri Nov 17, 2006 7:18 pm
Forum: JFreeChart
Topic: Visibel of CategoryItemRenderer
Replies: 5
Views: 4738

Still True?

I tried this again today and it didn't work. Is it still true that CategoryItemRenderer.setSeriesVisible() is not implemented?