Search found 5 matches

by toblix
Tue Aug 05, 2008 8:15 am
Forum: JFreeChart
Topic: Stacked area chart is split into bars
Replies: 3
Views: 6146

I see from the source that this is probably a known issue:

Code: Select all

// FIXME: calculate xxLeft and xxRight
Is there a known way to circumvent this, possibly by reducing the spacing between the "bars"? Also, there's the white line in the middle of each bar.
by toblix
Tue Aug 05, 2008 7:33 am
Forum: JFreeChart
Topic: Stacked area chart is split into bars
Replies: 3
Views: 6146

Stacked area chart is split into bars

I'm trying to get a stacked area graph going like in this example here . I assume the example was based on an older version of JFreeChart, but I still think the code should make sense. I'm currently running this exact code: CategoryDataset dataset = DatasetUtilities.createCategoryDataset( "Series ",...
by toblix
Tue Jul 03, 2007 11:01 am
Forum: JFreeChart
Topic: Is a combined BarChart and StackedBarChart possible?
Replies: 4
Views: 5598

It seems I have to solve this by having two GroupedStackedBarRenderers, one mapped to each axis, and then cheating by giving the first one an "empty" first category and the second an "empty" second category, or something like that?
by toblix
Mon Jul 02, 2007 7:30 am
Forum: JFreeChart
Topic: Is a combined BarChart and StackedBarChart possible?
Replies: 4
Views: 5598

Hey, thanks. That seems to be what I'm looking for. However, for this to work, I need to be able to associate one group to a different domain axis. Is this possible?
by toblix
Sat Jun 30, 2007 12:32 am
Forum: JFreeChart
Topic: Is a combined BarChart and StackedBarChart possible?
Replies: 4
Views: 5598

Is a combined BarChart and StackedBarChart possible?

Hi. Is it possible to have a chart like this? (I tried inserting an image here, but no.) What I'm thinking of is a chart with two bars, side by side, for each month or whatever. One of the bars should be a stacked bar, the other not. I can attach a bar renderer to a stacked bar chart, but I can't po...