Search found 513 matches

by John Matthews
Tue Apr 02, 2019 1:43 am
Forum: JFreeChart
Topic: Shapes on Area Chart
Replies: 5
Views: 8504

Re: Shapes on Area Chart

[[/list]
by John Matthews
Sun Mar 31, 2019 9:07 am
Forum: JFreeChart
Topic: Shapes on Area Chart
Replies: 5
Views: 8504

Re: Shapes on Area Chart

  1. Looking the annotations, e.g. XYShapeAnnotation or XYPointerAnnotation.
  2. Use the zoom and pan features mentioned here as needed.
by John Matthews
Tue Mar 19, 2019 5:19 pm
Forum: JFreeChart
Topic: Graph Time and Point label distorted
Replies: 8
Views: 13761

Re: Graph Time and Point label distorted

Can you use SlidingCategoryDataset, or similar?
by John Matthews
Tue Mar 19, 2019 5:14 pm
Forum: JFreeChart
Topic: Question about timestamp values ?
Replies: 1
Views: 4857

Re: Question about timestamp values ?

Have you looked at ChartFactory.createTimeSeriesChart(), aut seq.?
by John Matthews
Thu Mar 07, 2019 3:53 am
Forum: JFreeChart
Topic: Problem while loading
Replies: 4
Views: 8111

Re: Problem while loading

For reference, I downloaded the relevant JAR files and verified the presence of CategoryDataset : $ jar tf jfreechart-1.0.14.jar | grep CategoryDataset org/jfree/data/category/CategoryDataset.class I then ran BarChartDemo1 , which imports CategoryDataset : $ java -cp jfreechart-1.0.14.jar:jcommon-1....
by John Matthews
Wed Feb 27, 2019 6:13 pm
Forum: JFreeChart
Topic: Graph Time and Point label distorted
Replies: 8
Views: 13761

Re: Graph Time and Point label distorted

Similar artifact pervades the entire image, which suggests that the chart has been resampled , perhaps repeatedly. Verify that you render the image at the largest practical size before downsampling. Verify that you don't inadvertently downsample the image and then upsample the image. Verify that you...
by John Matthews
Tue Feb 26, 2019 8:53 pm
Forum: JFreeChart
Topic: Ignore missing values
Replies: 1
Views: 4038

Re: Ignore missing values

You might look at SegmentedTimeline, although it is no longer supported.
by John Matthews
Tue Feb 12, 2019 1:04 pm
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16769

Re: setContentPane miss

I cited examples using org.jfree.chart.ui.ApplicationFrame, and you mention org.jfree.chart.ChartFrame; both are subclasses of javax.swing.JFrame, which provides setContentPane(). When using either, be sure to construct and manipulate Swing GUI objects _only_ on the event dispatch thread.
by John Matthews
Sat Feb 09, 2019 10:16 am
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16769

Re: setContentPane miss

You can test your existing version like this:

Code: Select all

$ cd /jfreechart/lib
$ java -cp jfreechart-1.0.19.jar:jcommon-1.0.23.jar org.jfree.chart.demo.BarChartDemo1
The current release is cited here.
by John Matthews
Fri Feb 08, 2019 5:20 pm
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16769

Re: setContentPane miss

You appear to be using an earlier version from a time when org.jfree.ui.ApplicationFrame was in a separate library. Either switch to the new version or add the required JAR to your class path, as shown here.
by John Matthews
Fri Feb 08, 2019 2:22 pm
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16769

Re: setContentPane miss

Yes, I am sure; setContentPane() is a method of the JFreeChart class org.jfree.chart.ui.ApplicationFrame . Note that ApplicationFrame is a JFrame , from which it inherits setContentPane() . The JFreeChart class org.jfree.chart.JFreeChart is not a Swing component, and it has no such method.
by John Matthews
Fri Feb 08, 2019 3:40 am
Forum: JFreeChart
Topic: setContentPane miss
Replies: 11
Views: 16769

Re: setContentPane miss

The same fragment works in the demos, either old or new.