Search found 487 matches

by John Matthews
Tue May 14, 2019 4:00 am
Forum: JFreeChart
Topic: A different dataset
Replies: 1
Views: 1937

Re: A different dataset

Several examples are examined here.
by John Matthews
Fri Apr 26, 2019 3:29 am
Forum: JFreeChart
Topic: extending JFreeChart
Replies: 0
Views: 5854

Re: extending JFreeChart

To learn what ChartEntity was clicked, add a ChartMouseListener to your ChartPanel, for example; dragging a point is examined here.
by John Matthews
Thu Apr 11, 2019 5:11 pm
Forum: JFreeChart
Topic: Graph Time and Point label distorted
Replies: 8
Views: 5110

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

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

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

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

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

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

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

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

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

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.