Search found 5 matches

by lemming622
Fri Dec 21, 2018 3:50 pm
Forum: JFreeChart
Topic: Impossible to change order of legend items???
Replies: 10
Views: 6048

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

If need be you could always use presort your datasets with a tree map or the like before adding your dataset to JFreeChart. That way your have control in java for how the map would sort your datasets. Then to extract the datasets out of the map using any one of a number of map looping mechanisms to ...
by lemming622
Fri Dec 21, 2018 3:37 pm
Forum: JFreeChart
Topic: StackedAreaRenderer modeling issue
Replies: 3
Views: 1748

Re: StackedAreaRenderer modeling issue

While yes 1.4e-45 is smaller than 2.2e-16, the level of zoom will be noticeably negligible. Any zooming will be lost when trying to actually see the data. If zooming is required then an implementation of the ItemLabelGenerator would easily assist with that.
by lemming622
Thu Dec 20, 2018 3:47 pm
Forum: JFreeChart
Topic: StackedAreaRenderer modeling issue
Replies: 3
Views: 1748

Re: StackedAreaRenderer modeling issue

I found a work around by setting the value to Math.ulp(1.0) to get a near zero value to get what I'm looking for. The source of the issue seem to come from the StackedAreaRender.drawItem method.
by lemming622
Tue Dec 11, 2018 8:15 pm
Forum: JFreeChart
Topic: Category Chart DomainAxis Automatic Adjust??
Replies: 2
Views: 1661

Re: Category Chart DomainAxis Automatic Adjust??

You might be able to try a

Code: Select all

SlidingCategoryDataset
. If you look in the JFreeChart Demo Collection an example of it is located in Bar Charts > Category Plot > SlidingCategoryDatasetDemo1 and SlidingCategoryDatasetDemo2.
by lemming622
Tue Dec 11, 2018 7:50 pm
Forum: JFreeChart
Topic: StackedAreaRenderer modeling issue
Replies: 3
Views: 1748

StackedAreaRenderer modeling issue

When my low point for a StackedAreaRender is not 0.0 the plot that is produced looks fine. The issue that I'm having comes in when I have data that has a low point of 0.0. The issue draws the filled area halfway between two categories and makes the plot look off. Here is my code which is working fin...