Search found 513 matches

by John Matthews
Fri Jun 08, 2012 7:43 pm
Forum: JFreeChart
Topic: how to get cursor position in scatter phot
Replies: 3
Views: 3599

Re: how to get cursor position in scatter phot

Sorry, I don't understand the phrase "position in digit on cursor movement." Do mean perhaps a tooltip or label?
by John Matthews
Thu Jun 07, 2012 1:31 pm
Forum: JFreeChart
Topic: how to get cursor position in scatter phot
Replies: 3
Views: 3599

Re: how to get cursor position in scatter phot

You can enable trace for either one or both axes, as shown here.
by John Matthews
Thu Jun 07, 2012 1:21 pm
Forum: JFreeChart
Topic: Mouse Zoomable in Gnatt chart
Replies: 7
Views: 6697

Re: Mouse Zoomable in Gnatt chart

Looking closer, it seems that setMouseWheelEnabled() was introduced in v1.0.13. Why not upgrade to the current version?
by John Matthews
Thu Jun 07, 2012 1:17 pm
Forum: JFreeChart
Topic: Density Plots?
Replies: 1
Views: 2652

Re: Density Plots?

I'd look at XYBlockRenderer with a suitable PaintScale.
by John Matthews
Sun Jun 03, 2012 8:18 pm
Forum: JFreeChart
Topic: Problems while adding LogAxis to a StackedBarChart
Replies: 2
Views: 3884

Re: Problems while adding LogAxis to a StackedBarChart

The StackedBarRenderer has a default base of zero, the logarithm of which is negative infinity. A base of one works: private void scaleRangeAxisLogarithmic(JFreeChart chart) { CategoryPlot plot = (CategoryPlot) chart.getPlot(); StackedBarRenderer r = (StackedBarRenderer) plot.getRenderer(); r.setBas...
by John Matthews
Sun Jun 03, 2012 4:11 pm
Forum: JFreeChart
Topic: Mouse Zoomable in Gnatt chart
Replies: 7
Views: 6697

Re: Mouse Zoomable in Gnatt chart

This seems to work:

Code: Select all

chartPanel.setMouseWheelEnabled(true);
by John Matthews
Thu May 31, 2012 6:54 pm
Forum: JFreeChart
Topic: Mouse Zoomable in Gnatt chart
Replies: 7
Views: 6697

Re: Mouse Zoomable in Gnatt chart

When I right-click on a ChartPanel enclosing a ChartFactory made Gantt chart, I can zoom in on the range (date axis). I don't think you need to do anything special to get that feature.
by John Matthews
Sat May 26, 2012 4:46 pm
Forum: JFreeChart
Topic: doSaveAs() for text
Replies: 8
Views: 6565

Re: doSaveAs() for text

See also What Applets Can and Cannot Do. Alternatively, consider Java Web Start for deployment.
by John Matthews
Sat May 26, 2012 4:39 pm
Forum: JFreeChart
Topic: HeatMaps with JFreeChart
Replies: 2
Views: 6624

Re: HeatMaps with JFreeChart

Cross-posted here.
by John Matthews
Sat May 26, 2012 4:27 pm
Forum: JFreeChart
Topic: error about JFreechart
Replies: 2
Views: 3647

Re: error about JFreechart

There's an illustrated discussion here.
by John Matthews
Wed May 16, 2012 5:09 am
Forum: JFreeChart
Topic: XYChartBartdemo3 without dinamic xyseries in Demo Collection
Replies: 1
Views: 2723

Re: XYChartBartdemo3 without dinamic xyseries in Demo Collec

An example of creating an IntervalXYDataset with seven data items is shown here.
by John Matthews
Mon May 14, 2012 6:12 am
Forum: JFreeChart
Topic: x-axis overlap
Replies: 3
Views: 3688

Re: x-axis overlap

Cross-posted here.