Search found 3 matches
- Wed Sep 27, 2006 2:24 pm
- Forum: JFreeChart
- Topic: How to show the points of the values in XYLine chart
- Replies: 4
- Views: 13208
well... if you are using a XYItemRenderer it doesn't work, because that renderer knows nothing about the methods setSeriesShapesVisible and setShapesFilled. Your IDE (Eclipse, JBuilder or whatever) should tell you this by saying sth like "method is undefined for the type XYItemRenderer ". Try using ...
- Fri Sep 15, 2006 8:35 am
- Forum: JFreeChart
- Topic: How to show the points of the values in XYLine chart
- Replies: 4
- Views: 13208
to show the points do sth. like this:
instead of using Rectangle to show your points, you can use Ellipse2D, or other geom-objects as well.
greets M.
Code: Select all
renderer.setSeriesShape(0, new Rectangle(-2, -2, 4, 4));
renderer.setSeriesShapesVisible(0, true);
renderer.setShapesFilled(true);
greets M.
- Mon Aug 21, 2006 10:39 am
- Forum: JFreeChart
- Topic: Timeseries-points at the edge are partly displayed
- Replies: 3
- Views: 4342
well,
for me it worked with setting the setAutoRangeMinimumSize:
after zooming out it has the same size than before.
for me it worked with setting the setAutoRangeMinimumSize:
Code: Select all
double upperBound = rangeAxis.getUpperBound();
double lowerBound = rangeAxis.getLowerBound();
rangeAxis.setAutoRangeMinimumSize((upperBound - lowerBound));