Get the renderer you are you using and then apply the setSeriesVisibleInLegend method.
Daniel
Search found 138 matches
- Mon Sep 18, 2006 7:23 pm
- Forum: JFreeChart
- Topic: How to remove an entity from legend in case of Line chart
- Replies: 2
- Views: 7514
- Wed Jun 28, 2006 7:57 pm
- Forum: JFreeChart
- Topic: Line Chart - bold a certain range grid (the zero line)
- Replies: 4
- Views: 5539
- Tue Jun 27, 2006 5:07 pm
- Forum: JFreeChart
- Topic: What is this thing? Make it go away!
- Replies: 3
- Views: 3453
- Tue Jun 27, 2006 4:55 pm
- Forum: JFreeChart
- Topic: Line Chart - bold a certain range grid (the zero line)
- Replies: 4
- Views: 5539
- Tue Jun 27, 2006 4:30 pm
- Forum: JFreeChart
- Topic: XYSereies and Legend customisation
- Replies: 2
- Views: 3416
- Wed May 31, 2006 8:54 pm
- Forum: JFreeChart
- Topic: Series break in a line chart
- Replies: 4
- Views: 5732
Let me clarify what I said. When there is a domain value (usually horizontal axis) but no range value (usually vertical) axis in a XYPlot, then JFreeChart will render a gap in the line. If you do no have data for a particular period, you will know the domain value. Just use null as the range value f...
- Wed May 24, 2006 8:27 pm
- Forum: JFreeChart
- Topic: How to let the line be painted in any Color EXCEPT red?
- Replies: 1
- Views: 2501
- Wed May 24, 2006 8:23 pm
- Forum: JFreeChart
- Topic: scatterplot and linechart
- Replies: 4
- Views: 5095
JFreeChart does not have a special class for scatter plot. However, you can get the XYLineAndShapeRenderer from your chart using the getPlotRenderer method. Then apply the setShapesVisible and setLinesVisible methods to the renderer to get the plot you want. If renderer is your XYLineAndShapeRendere...
- Wed May 24, 2006 8:11 pm
- Forum: JFreeChart
- Topic: Can I remove a serie that is not visible?
- Replies: 1
- Views: 2441
- Tue May 16, 2006 11:03 pm
- Forum: JFreeChart
- Topic: ValueMarker doesn't show up when outside data value range.
- Replies: 3
- Views: 4224
You can check whether the value of the ValueMarker is bigger than the highest data point. Then apply the setRange method to your axis to set the upperbound to be the larger of either the ValueMarker or the highest data point. This probably isn't the most efficient solution, but it will do what you w...
- Tue May 02, 2006 9:47 pm
- Forum: JFreeChart
- Topic: Series break in a line chart
- Replies: 4
- Views: 5732
- Tue Apr 18, 2006 3:23 pm
- Forum: JFreeChart
- Topic: Series color
- Replies: 5
- Views: 5662
- Fri Apr 07, 2006 8:46 pm
- Forum: JFreeChart
- Topic: Formatting Questions
- Replies: 1
- Views: 2811
- Mon Apr 03, 2006 7:13 pm
- Forum: JFreeChart
- Topic: LABEL FONT PROBLEM.
- Replies: 2
- Views: 3537
- Fri Mar 17, 2006 7:56 pm
- Forum: JFreeChart
- Topic: Is there a way to show legent with out the enclosing box?
- Replies: 4
- Views: 4441