Search found 470 matches

by John Matthews
Thu Apr 11, 2019 5:11 pm
Forum: JFreeChart
Topic: Graph Time and Point label distorted
Replies: 8
Views: 901

Re: Graph Time and Point label distorted

FourW Support wrote:Currently we are using DefaultCategoryDataset.
For crowded bar charts, I use SlidingCategoryDataset. Alternatively, consider switching to XYDataset and use SymbolAxis.
by John Matthews
Wed Apr 03, 2019 5:12 pm
Forum: JFreeChart
Topic: Shapes on Area Chart
Replies: 5
Views: 192

Re: Shapes on Area Chart

The API suggests that you override getItemShape().
by John Matthews
Tue Apr 02, 2019 1:43 am
Forum: JFreeChart
Topic: Shapes on Area Chart
Replies: 5
Views: 192

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: 192

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: 901

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: 121

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: 483

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: 901

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: 317

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: 1053

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: 1053

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: 1053

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.