- For a CategoryPlot, you should use a CategoryAnnotation implementation.
- This example illustrates a number of zoom functions; see the ChartPanel source for the corresponding implementations.
Search found 513 matches
- Tue Apr 02, 2019 1:43 am
- Forum: JFreeChart
- Topic: Shapes on Area Chart
- Replies: 5
- Views: 8767
Re: Shapes on Area Chart
[[/list]
- Sun Mar 31, 2019 9:07 am
- Forum: JFreeChart
- Topic: Shapes on Area Chart
- Replies: 5
- Views: 8767
Re: Shapes on Area Chart
- Looking the annotations, e.g. XYShapeAnnotation or XYPointerAnnotation.
- Use the zoom and pan features mentioned here as needed.
- Sat Mar 30, 2019 12:01 pm
- Forum: JFreeChart
- Topic: Move column label outside (Horizontal Bar Chart)
- Replies: 1
- Views: 5539
Re: Move column label outside (Horizontal Bar Chart)
Cross-posted here.
- Fri Mar 29, 2019 1:16 am
- Forum: JFreeChart
- Topic: Series trend lines on bar chart with Category Dataset
- Replies: 1
- Views: 5101
Re: Series trend lines on bar chart with Category Dataset
Maybe something like OverlaidBarChartDemo1?
- Tue Mar 19, 2019 5:19 pm
- Forum: JFreeChart
- Topic: Graph Time and Point label distorted
- Replies: 8
- Views: 14257
Re: Graph Time and Point label distorted
Can you use SlidingCategoryDataset, or similar?
- Tue Mar 19, 2019 5:14 pm
- Forum: JFreeChart
- Topic: Question about timestamp values ?
- Replies: 1
- Views: 4998
Re: Question about timestamp values ?
Have you looked at ChartFactory.createTimeSeriesChart(), aut seq.?
- Thu Mar 07, 2019 3:53 am
- Forum: JFreeChart
- Topic: Problem while loading
- Replies: 4
- Views: 8393
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....
- Wed Feb 27, 2019 6:13 pm
- Forum: JFreeChart
- Topic: Graph Time and Point label distorted
- Replies: 8
- Views: 14257
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...
- Tue Feb 26, 2019 8:53 pm
- Forum: JFreeChart
- Topic: Ignore missing values
- Replies: 1
- Views: 4195
Re: Ignore missing values
You might look at SegmentedTimeline, although it is no longer supported.
- Fri Feb 22, 2019 12:08 am
- Forum: JFreeChart
- Topic: Broken auto-range in stacked area charts: StackedXYAreaRenderer(2) ignore dataBoundsIncludesVisibleSeriesOnly property
- Replies: 1
- Views: 4388
Re: Broken auto-range in stacked area charts: StackedXYAreaRenderer(2) ignore dataBoundsIncludesVisibleSeriesOnly proper
It might help to post a short example or cite a demo that reproduces the problem. Is this pull request relevant?
- Tue Feb 12, 2019 1:04 pm
- Forum: JFreeChart
- Topic: setContentPane miss
- Replies: 11
- Views: 17518
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.
- Sat Feb 09, 2019 10:16 am
- Forum: JFreeChart
- Topic: setContentPane miss
- Replies: 11
- Views: 17518
Re: setContentPane miss
You can test your existing version like this:
The current release is cited here.
Code: Select all
$ cd /jfreechart/lib
$ java -cp jfreechart-1.0.19.jar:jcommon-1.0.23.jar org.jfree.chart.demo.BarChartDemo1
- Fri Feb 08, 2019 5:20 pm
- Forum: JFreeChart
- Topic: setContentPane miss
- Replies: 11
- Views: 17518
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.
- Fri Feb 08, 2019 2:22 pm
- Forum: JFreeChart
- Topic: setContentPane miss
- Replies: 11
- Views: 17518
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.
- Fri Feb 08, 2019 3:40 am
- Forum: JFreeChart
- Topic: setContentPane miss
- Replies: 11
- Views: 17518