Hello,
I've got a question about a Stacked Bar Chart with an offset in a specific stack.
I would have something like the picture below shows. But the white offset of 1stDay and 2ndDay should not be visible.
I have seen the Waterfall chart, but i would like to have the ability to stack items. Also the ordination of the watherfall chart was in the wrong direction.
Is this behavior feasible?
Best regards
Ludwig
Stacked Bar Chart with offset for a specific Stack
-
- Posts: 1634
- Joined: Sat Feb 17, 2007 1:51 pm
Re: Stacked Bar Chart with offset for a specific Stack
You could set a transparent color as series paint (such as new Color(255, 255, 255, 255)) and also as series outline paint and set the series invisible in the legend (renderer.setSeriesVisibleInLegend(int, boolean))
Re: Stacked Bar Chart with offset for a specific Stack
Thank you paradoxoff,
This did the trick.
To avoid any confusion for other people it must be new Color(255, 255, 255, 0).
This did the trick.
To avoid any confusion for other people it must be new Color(255, 255, 255, 0).
-
- Posts: 1
- Joined: Mon Dec 22, 2014 5:52 am
- antibot: No, of course not.
Re: Stacked Bar Chart with offset for a specific Stack
Hello...I am in the task of creating a waterfall model chart..Can anyone please tell if a stacked waterfall chart model is available..or how to cook up such a chart in jfree