Search found 40 matches

by benoitx
Tue Aug 08, 2017 12:33 pm
Forum: JFreeChart
Topic: Clicking on Legend
Replies: 5
Views: 6332

Re: Clicking on Legend

Thank you both for you very useful comments.

I think that I will use a mixture of the comments and the Stackoverflow suggestion.

Thank you & regards from London.
Benoit
by benoitx
Mon Aug 07, 2017 5:23 pm
Forum: JFreeChart
Topic: Clicking on Legend
Replies: 5
Views: 6332

Re: Clicking on Legend

A big thank you for your pointers, we are NEARLY there... BUT If I make the series invisible, the LEGEND is also removed... EVEN is I immediately use setSeriesVisibleInLegend to true. I'd like the legend to remain (maybe change its colour)... Why is the legend removed for the invisible series if I s...
by benoitx
Mon Aug 07, 2017 3:56 pm
Forum: JFreeChart
Topic: Clicking on Legend
Replies: 5
Views: 6332

Clicking on Legend

Hello I have looked at the HideSeriesDemo1/2/3 and I was wondering if we could achieve something similar by clicking on the legend itself. https://www.evernote.com/l/AUUxY3xV1LBAp5evz8nH2_GCGhWMCcFVAFQ This is is something quite common with say Highcharts: * click on the legend for a series and the ...
by benoitx
Thu Jul 02, 2009 9:49 am
Forum: JFreeChart
Topic: SpiderWeb does not update when DefaultCategoryDataset change
Replies: 2
Views: 4283

Re: SpiderWeb does not update when DefaultCategoryDataset change

Dear Dave, Thanks for replying to my post. It seems that it DOES update but if the values are very large it does not show them (ie what looks like refreshing the chart) unless I do the following once the dataset is changed. if (chart != null) { SpiderWebPlot plot = (SpiderWebPlot) chart.getPlot(); p...
by benoitx
Wed Jul 01, 2009 1:31 pm
Forum: JFreeChart
Topic: SpiderWeb does not update when DefaultCategoryDataset change
Replies: 2
Views: 4283

SpiderWeb does not update when DefaultCategoryDataset change

Hi I'm using the SpiderWebPlot based on the example "Spider Web Chart Demo 1". I have the following issue which is that, unlike other charts (Bar, timeseries etc), the chart does not refresh itself when I clear the DefaultCategoryDataset and add a new set of data to it. How could I achieve this? Tha...
by benoitx
Tue Jun 02, 2009 3:35 pm
Forum: JFreeChart
Topic: How to change color for negative values in Bar Chart?
Replies: 1
Views: 1884

How to change color for negative values in Bar Chart?

Hi

I'd like to be able to display positive values as green and negative as red (for instance) in a TimeSeries rendered through a Bar Chart.

Is there a class that does this? Would it be a renderer? or a Painter?

Thanks

Benoit
by benoitx
Thu Jan 29, 2009 11:25 am
Forum: JFreeChart
Topic: Surprising change to default behavior of XYBarRenderer
Replies: 11
Views: 8080

Thanks but.. a small shadow issue.

Hi Thanks for this, there was a slight issue with the suggested code: it should be: XYBarRenderer.setDefaultBarPainter(new StandardXYBarPainter()); BarRenderer.setDefaultBarPainter(new StandardBarPainter()); On a standard BarRenderer, we now seem to have a small shadow by default (new also in 1.0.11...
by benoitx
Wed Jan 28, 2009 6:05 pm
Forum: JFreeChart
Topic: BarChart changed from 1.0.9 to 1.0.12
Replies: 1
Views: 1866

BarChart changed from 1.0.9 to 1.0.12

Hi I've recently upgraded from 1.0.9 to 1.0.12 and the Bar Chart look have changed automatically to something of a little 3D effect (white line)... Unfortunately, it is not to the taste of my customers... What would be the easiest way (not downgrading) to revert to the old colour scheme? Thanks a lo...
by benoitx
Fri May 23, 2008 12:38 pm
Forum: JFreeChart
Topic: MouseOverDemo1 disables Tooltips...
Replies: 0
Views: 1817

MouseOverDemo1 disables Tooltips...

Hi I'm trying to use the simple 'highlight' example in MouseOverDemo1 which highlights the contour of a bar in a BarChart. Unfortunately, as soon as I use the MyBarRenderer from the example, the tooltips no longer works. The bar is highlighted but i can no longer see the tooltip that used to show th...
by benoitx
Thu Jan 04, 2007 6:51 pm
Forum: JFreeChart
Topic: Value on the spiderwebplot's plot
Replies: 5
Views: 6440

Yep, could we have it in next version of JFreeChart?

Hi

Just tested the suggested patch and it works nicely on QALab
(Yep, next release of QALab will have a Spider Chart...)

Thanks

Benoit
by benoitx
Thu Nov 09, 2006 5:42 pm
Forum: JFreeChart
Topic: Question of colour...
Replies: 4
Views: 3962

Thanks and suggestion

Hi David, Thanks for the prompt reply. If I understand correctly, I need to change the value of paintSequence with my own. Am I right that it would be easier to subclass if the DefaultDrawingSupplier was defining getters and setters for paintSequence etc. I could then write MyDefaultDrawingSupplier ...
by benoitx
Thu Nov 09, 2006 4:32 pm
Forum: JFreeChart
Topic: Question of colour...
Replies: 4
Views: 3962

Question of colour...

Hi *, Is it possible to avoid certain colours when creating a TimeSeries chart? Assume that we do not know the number of series but that it shall be less than 6 and that we do NOT want yellow (which is typically more difficult to read on a white background). How would one achieve this? Many thanks B...
by benoitx
Mon May 08, 2006 10:15 am
Forum: JFreeChart
Topic: NPE in jFreeChart/jCommon...
Replies: 4
Views: 3878

Thanks

Thanks a lot Thomas.

When will it be released in a jCommon jar? Which version will it be? and will the version be released on iBiblio.org for Maven users?

Thanks

Benoit
by benoitx
Sun May 07, 2006 11:48 pm
Forum: JFreeChart
Topic: NPE in jFreeChart/jCommon...
Replies: 4
Views: 3878

Any progress?

Hi

Any progress on discovering why this happens? I'd rather not modify the jcommon code locally...

many thanks

Benoit
by benoitx
Tue May 02, 2006 11:34 pm
Forum: JFreeChart
Topic: NPE in jFreeChart/jCommon...
Replies: 4
Views: 3878

NPE in jFreeChart/jCommon...

Hi jFreeChart 1.0.1 jCommon 1.0.0, 1.0.2 and 1.0.4 For some reason that I cannot explain, my application is now throwing up some NPE in ObjectUtilities. has anyone experienced this? Why would the getClassLoader(c) return null??? Any suggestion welcomed... Root cause java.lang.ExceptionInInitializerE...