Search found 513 matches
- Sun Sep 20, 2020 2:43 pm
- Forum: JFreeChart
- Topic: Intercept coordinates displayed on scatter plot when mouse over
- Replies: 1
- Views: 4035
Re: Intercept coordinates displayed on scatter plot when mouse over
Yes, add a ChartMouseListener, for example.
- Sat Sep 19, 2020 1:42 pm
- Forum: JFreeChart
- Topic: Excel Export
- Replies: 1
- Views: 5426
Re: Excel Export
No, ChartUtils (formerly named ChartUtilities) includes methods to save a chart to a File, as well as a stream.
- Thu Sep 17, 2020 11:55 pm
- Forum: JFreeChart
- Topic: Combining JDBCXYDatasets in one graph
- Replies: 1
- Views: 4525
Re: Combining JDBCXYDatasets in one graph
JDBCXYDataset can hold multiple series by including additional columns in the query.
- Sun Sep 13, 2020 2:55 am
- Forum: JFreeChart
- Topic: How Do You Use jfreechart In A Java Program?
- Replies: 2
- Views: 5215
Re: How Do You Use jfreechart In A Java Program?
Start with the demo programs.
- Mon Sep 07, 2020 11:52 pm
- Forum: JFreeChart
- Topic: How can I add some shapes in Ganntt Chart with Java?
- Replies: 1
- Views: 3360
Re: How can I add some shapes in Ganntt Chart with Java?
Have you looked at a custom CategoryAnnotation, seen among the org.jfree.chart.annotations?
- Mon Sep 07, 2020 11:45 pm
- Forum: JFreeChart
- Topic: Data visualization
- Replies: 1
- Views: 3387
- Mon Jul 27, 2020 7:42 pm
- Forum: JFreeChart
- Topic: Returning the data displayed in the line chart current view
- Replies: 1
- Views: 4039
Re: Returning the data displayed in the line chart current view
Examine the chart's XYPlot to learn the current range of the desired axis: Range domain = chart.getXYPlot().getDomainAxis().getRange(); Range range = chart.getXYPlot().getRangeAxis().getRange(); Use the range values to iterate over the dataset. DatasetUtils illustrates typical iteration schemes.
- Sat Apr 04, 2020 8:23 pm
- Forum: JFreeChart
- Topic: Time Series Chart - Date Axis Question
- Replies: 7
- Views: 35238
Re: Time Series Chart - Date Axis Question
Another alternative: add a suitable pattern to your SimpleDateFormat, perhaps D or E.
- Fri Apr 03, 2020 12:53 am
- Forum: JFreeChart
- Topic: Efficient way to update live graphs
- Replies: 3
- Views: 5241
Re: Efficient way to update live graphs
The List<V> passed to process() affords you the opportunity to cache an arbitrary number of values of type V for a bulk update. Extending a suitable subclass of AbstractDataset will allow you to control when to notify listeners.
- Thu Apr 02, 2020 5:42 pm
- Forum: JFreeChart
- Topic: Efficient way to update live graphs
- Replies: 3
- Views: 5241
Re: Efficient way to update live graphs
Update the chart's dataset in your implementation of SwingWorker::process , illustrated here . From the SwingWorker::publish API, "multiple invocations to the publish() method might occur before the process() method is executed. For performance purposes all these invocations are coalesced into one i...
- Wed Mar 18, 2020 12:15 am
- Forum: JFreeChart
- Topic: Time Series Chart - Date Axis Question
- Replies: 7
- Views: 35238
Re: Time Series Chart - Date Axis Question
One alternative: add a second domain axis with a different date format.
- Thu Dec 19, 2019 11:01 pm
- Forum: JFreeChart
- Topic: How to draw tens of thousands of data in seconds
- Replies: 2
- Views: 5065
Re: How to draw tens of thousands of data in seconds
Cross-posted here.
- Tue Nov 19, 2019 4:51 pm
- Forum: JFreeChart
- Topic: shift point
- Replies: 1
- Views: 4254
- Mon Nov 18, 2019 11:35 am
- Forum: JFreeChart
- Topic: How to Apply Pattern to Bar Chart
- Replies: 1
- Views: 4619
Re: How to Apply Pattern to Bar Chart
As suggested here, you might look at returning a TexturePaint from your DrawingSupplier.
- Sun Nov 17, 2019 5:51 pm
- Forum: JFreeChart
- Topic: Chart Dimensions
- Replies: 1
- Views: 4259
Re: Chart Dimensions
In Swing, use a ChartPanel, a subclass of JPanel. Several size control approaches are examined here.