Search found 4 matches

by Melodioso
Thu Jul 15, 2010 10:25 pm
Forum: JFreeChart
Topic: Zoom out to a specific range?
Replies: 2
Views: 2405

Re: Zoom out to a specific range?

Thanks, I will look into it!
(Seems like lots of people would be interested in an easy way to do this...)
by Melodioso
Thu Jul 15, 2010 9:42 pm
Forum: JFreeChart
Topic: Zoom out to a specific range?
Replies: 2
Views: 2405

Zoom out to a specific range?

Hello, Is there any way to do this? I couldn't find any answers on this board... When building a chart, it's min and max values are stored and the following codes is called to display it nicely: ValueAxis axis = xyplot.getDomainAxis(); axis = xyplot.getRangeAxis(); axis.setRange(min, max); Now, if y...
by Melodioso
Thu Jul 08, 2010 1:29 pm
Forum: JFreeChart
Topic: XYSpline without shapes?
Replies: 7
Views: 9803

Re: XYSpline without shapes?

Answering my own (dumb) question (sorry, kind of tired):

Code: Select all

XYLineAndShapeRenderer renderer = new XYSplineRenderer();
renderer.setSeriesShapesVisible(0, false);
XYPlot xyplot = chart.getXYPlot();
xyplot.setRenderer(renderer);
by Melodioso
Thu Jul 08, 2010 1:21 pm
Forum: JFreeChart
Topic: XYSpline without shapes?
Replies: 7
Views: 9803

XYSpline without shapes?

Hello, Is it possible to create a smooth graph using the XYSpline renderer, but without shapes (little boxes at the data)? Right now, doing this: XYPlot xyplot = chart.getXYPlot(); xyplot.setRenderer(new XYSplineRenderer()); ... creates a nice smoothed line plot. But adding the usual lines to get ri...