Search found 513 matches

by John Matthews
Fri Jan 04, 2013 10:59 pm
Forum: JFreeChart
Topic: Smooth Spline
Replies: 8
Views: 7875

Re: Smooth Spline

I was able to reproduce your finding by setting autoSort to false in the XYSeries used to construct the renderer. Because your data does not represent a function, you can get a somewhat better result by dividing the set into pieces that are; for example, points 1-4 and points 4-12 are pictured below...
by John Matthews
Thu Jan 03, 2013 2:08 am
Forum: JFreeChart
Topic: Smooth Spline
Replies: 8
Views: 7875

Re: Smooth Spline

Have you tried setSeriesShapesFilled(false) or setBaseShapesVisible(false)?
by John Matthews
Thu Dec 27, 2012 11:10 pm
Forum: JFreeChart
Topic: JFreeChart is stealing focus
Replies: 3
Views: 3789

Re: JFreeChart is stealing focus

I don't see how this can be caused by JFreeChart. Both MemoryUsageDemo (1 Hz) and DTSCTest (10 Hz) update quietly in the background as I type. Can you post an sscce that exhibits the problem you describe?
by John Matthews
Tue Dec 25, 2012 6:06 pm
Forum: JFreeChart
Topic: Is it possible to get JUnit source ?
Replies: 2
Views: 2835

Re: Is it possible to get JUnit source ?

JUnit is a common dependency; installation is platform dependent. Off-topic, humorous quote from the FAQ : Some developers have argued in favor of putting the tests in a sub-package of the classes under test (e.g. com.xyz.test). The author of this FAQ sees no clear advantage to adopting this approa...
by John Matthews
Tue Dec 18, 2012 11:22 am
Forum: JFreeChart
Topic: Documentation To Install JFree in netbeans
Replies: 1
Views: 2543

Re: Documentation To Install JFree in netbeans

Please consider citing the resources that you found most helpful. This Q&A has some helpful illustrations.
by John Matthews
Fri Dec 14, 2012 3:17 pm
Forum: JFreeChart
Topic: Category Axis Label Length Problem
Replies: 3
Views: 4460

Re: Category Axis Label Length Problem

As an alternative, look for setCategoryLabelPositions() in the BarChartDemo1 source.
by John Matthews
Fri Dec 14, 2012 3:07 pm
Forum: JFreeChart
Topic: JFreeChart capacity and response time.
Replies: 1
Views: 2246

Re: JFreeChart capacity and response time.

For thousands of series, consider a JTable with a TableModel that reflects the visibility of each series. The default renderer/editor for a column of type Boolean.class is a JCheckBox . A CellEditorListener could setSeriesVisible() in the editingStopped() implementation. Also look for well-defined s...
by John Matthews
Fri Dec 07, 2012 4:29 am
Forum: JFreeChart
Topic: Bug - AutoRange in TimeSeriesChart
Replies: 13
Views: 14826

Re: Bug - AutoRange in TimeSeriesChart

I see a similar result with this variation that updates day three of a time series each time a button is pressed. http://i.imgur.com/20Elhl.png import java.awt.EventQueue; import java.awt.event.ActionEvent; import java.util.Random; import javax.swing.AbstractAction; import javax.swing.JButton; impor...
by John Matthews
Sun Nov 18, 2012 12:47 am
Forum: JFreeChart
Topic: Jfreechart
Replies: 1
Views: 2052

Re: Jfreechart

I'm not sure what you mean, but the series names appear in the legend and the tool tip of BarChartDemo1. The source is included in the distribution.
by John Matthews
Fri Nov 16, 2012 10:16 pm
Forum: JFreeChart
Topic: Unevenly distributed minor tick marks [JFreeChart 1.0.14]
Replies: 2
Views: 4371

Re: Unevenly distributed minor tick marks [JFreeChart 1.0.14

Fails similarly using the RegularTimePeriod s Month and Quarter , but not Year , Week , Day , Hour , Minute or Second . import java.awt.Color; import java.awt.Dimension; import java.awt.EventQueue; import java.text.SimpleDateFormat; import java.util.Random; import org.jfree.chart.ChartFactory; impor...
by John Matthews
Tue Nov 13, 2012 12:24 am
Forum: JFreeChart
Topic: How do I make the circle smooth?
Replies: 2
Views: 3811

Re: How do I make the circle smooth?

You might try hiding the shapes, which are visible by default:

Code: Select all

dpir.setShapesVisible(false);
by John Matthews
Mon Nov 12, 2012 11:58 pm
Forum: JFreeChart
Topic: Dynamic XY Plot
Replies: 1
Views: 2112

Re: Dynamic XY Plot

This example adds data to an XYSeries in an XYSeriesCollection each time a button is pressed.