Search found 15 matches

by colomb
Thu Sep 17, 2020 8:48 pm
Forum: JFreeChart
Topic: JFreeChart v1.5.0
Replies: 1
Views: 4520

Re: JFreeChart v1.5.0

See this answer: http://www.jfree.org/forum/viewtopic.php?f=3&t=117097&p=178292&hilit=setMinimumDrawWidth#p178309 Set the minimum and maximum draw height and width of the chart panel: chartPanel.setMinimumDrawHeight( 0 ); chartPanel.setMinimumDrawWidth( 0 ); chartPanel.setMaximumDrawHeight( Integer....
by colomb
Fri Oct 18, 2019 4:37 pm
Forum: JFreeChart
Topic: Chart rendering with Windows 10 Scaling and Java 11
Replies: 1
Views: 8443

Re: Chart rendering with Windows 10 Scaling and Java 11

Reading through the documentation and code explains the zoom selection rendering differences. It would be nice still to be able to turn on buffering on systems that use scaling with HiDPI monitors.
by colomb
Fri Oct 18, 2019 4:23 pm
Forum: JFreeChart
Topic: Why my characters are so ugly?
Replies: 4
Views: 8934

Re: Why my characters are so ugly?

This is a feature where the ChartPanel keeps an offscreen image as a buffer for the charts it draws. Unfortunately it doesn't work well with retina displays, so for better output quality you should disable the buffering via the constructor. This also appears to be an issue with Windows 10 display s...
by colomb
Wed Jul 03, 2019 3:14 pm
Forum: JFreeChart
Topic: Continuous tooltip
Replies: 1
Views: 4841

Re: Continuous tooltip

1. Have you tried setting the dismiss delay, ChartPanel.setDismissDelay()? 2. If you search the board, you'll find some suggestions on finding the nearest point. Here is one version: private ChartEntity findNearestEntity( ChartMouseEvent event ) { ChartEntity entity = event.getEntity(); if( ( Object...
by colomb
Tue Jul 02, 2019 3:10 pm
Forum: JFreeChart
Topic: Chart rendering with Windows 10 Scaling and Java 11
Replies: 1
Views: 8443

Chart rendering with Windows 10 Scaling and Java 11

I'm looking into moving from Java 8 to Java 11. I'm running Windows 10 with a monitor that has scaling turned on at 125%. Under Java 8, charts render nicely, but under Java 11, it appears all the elements in the chart are scaled by the 1.25 making them look terrible. Turning windows scaling off fixe...
by colomb
Tue Jun 04, 2019 4:06 pm
Forum: JFreeChart
Topic: Series shape rendering doesn't respect SeriesRenderingOrder
Replies: 2
Views: 6194

Re: Series shape rendering doesn't respect SeriesRenderingOrder

John,

Yup, the StandardXYItemRenderer does respect the rendering order for both the shapes and the lines. Thank you!
by colomb
Fri May 31, 2019 12:20 am
Forum: JFreeChart
Topic: Series shape rendering doesn't respect SeriesRenderingOrder
Replies: 2
Views: 6194

Series shape rendering doesn't respect SeriesRenderingOrder

Example: There are two series in the XYSeriesCollection. Both represent the same line, but one has more point defined between the endpoints. The series with more points is added to the collection after the one with fewer points. The one with fewer points is rendered with a stroke. I would expect the...
by colomb
Fri Dec 04, 2015 4:31 am
Forum: JFreeChart
Topic: Extending renderes, axis, etc
Replies: 0
Views: 5747

Extending renderes, axis, etc

When extending JFreeChart objects like ValueAxis and XYLineAndShapeRenderer, how important is it ensure that any added fields are serializable and that equals()/hashcode() take them into consideration? I recently ran some JFreeChart code through findbugs and was surprised at how many warnings were g...
by colomb
Tue May 15, 2012 3:27 pm
Forum: JFreeChart
Topic: chart.setNotify() and dataset changes
Replies: 4
Views: 5606

Re: chart.setNotify() and dataset changes

Thanks, that all makes sense.

Any idea why DefaultCategoryDataset doesn't have a method that allows you to add values without calling fireDatasetChanged()?
by colomb
Fri May 11, 2012 5:20 pm
Forum: JFreeChart
Topic: chart.setNotify() and dataset changes
Replies: 4
Views: 5606

chart.setNotify() and dataset changes

I'm seeing some puzzling behavior. I have a chart with one TimeTableXYDataset with 10 series in it. I update the chart clearing the dataset then iterating over an internal datastructure and adding points back into the dataset. Chart updating seemed a little slow so I wrapped the dataset modification...
by colomb
Thu May 10, 2012 3:01 pm
Forum: JFreeChart
Topic: How to use auto range without invisible series?
Replies: 7
Views: 7538

Re: How to use auto range without invisible series?

Wow, that was quick. Thank you.
by colomb
Wed May 09, 2012 9:37 pm
Forum: JFreeChart
Topic: How to use auto range without invisible series?
Replies: 7
Views: 7538

Re: How to use auto range without invisible series?

David,

It appears XYBarRenderer ignores that flag. It overrides findRageBounds(). Is this an oversight or intentional? Thanks,
by colomb
Fri Jun 05, 2009 5:22 pm
Forum: JFreeChart
Topic: Change point shape on hover
Replies: 1
Views: 2737

Re: Change point shape on hover

bump.

I'm surprised, has no one tried to do this, or am I missing some obvious basic support in JFreeChart that does this?
by colomb
Fri May 29, 2009 8:13 pm
Forum: JFreeChart
Topic: Change point shape on hover
Replies: 1
Views: 2737

Change point shape on hover

I'd like to change the shape of a point when the mouse is hovering over it. Any suggestions on how to do this?