Search found 6 matches

by kreska
Wed Dec 19, 2018 11:36 am
Forum: JFreeChart
Topic: Adding Tooltip to the XYLine chart
Replies: 3
Views: 9245

Re: Adding Tooltip to the XYLine chart

Could you post the effect of this code with and without adding tooltips line? I don't see any difference.
by kreska
Wed Dec 19, 2018 11:25 am
Forum: JFreeChart
Topic: Impossible to change order of legend items???
Replies: 10
Views: 17747

Re: Impossible to change order of legend items???

So when this method is used? If it cannot be used like I imagine.
by kreska
Tue Dec 11, 2018 12:13 pm
Forum: JFreeChart
Topic: Impossible to change order of legend items???
Replies: 10
Views: 17747

Re: Impossible to change order of legend items???

The problem is they are not sorted ascending. They are sorted in addition order.
by kreska
Wed Nov 28, 2018 12:45 pm
Forum: JFreeChart
Topic: zero value
Replies: 1
Views: 4641

Re: zero value

For each entry you add, you need to check if the value is 0 and if so, not add it.

For line thickness, get renderer from the chart and call

Code: Select all

renderer.setBaseStroke(new BasicStroke(2.0f));
renderer.setAutoPopulateSeriesStroke(false);
by kreska
Wed Nov 28, 2018 11:38 am
Forum: JFreeChart
Topic: Impossible to change order of legend items???
Replies: 10
Views: 17747

Re: Impossible to change order of legend items???

Hi,

I'm trying to use this method in following way:

Code: Select all

chart.getLegend().setSortOrder( SortOrder.ASCENDING )
but it does not seem to change anything.

Could you please describe what should be done for this to work?

I have XYPlot with DateAxis.
by kreska
Tue Nov 13, 2018 12:53 pm
Forum: JFreeChart
Topic: inheritance hierarchy for dataset classes
Replies: 4
Views: 9120

Re: inheritance hierarchy for dataset classes

@tblackwell necro? what about that: I have this problem now ( ͡° ͜ʖ ͡°)
and this topic is the only result in Google when pasting this exception... so... up? :)

EDIT: just for the reference, I think that may help the ones who will get here from Google: viewtopic.php?t=9840