StackedXYBarRenderer and setBarAlignmentFactor

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Eirik
Posts: 3
Joined: Thu Apr 24, 2014 7:42 pm
antibot: No, of course not.

StackedXYBarRenderer and setBarAlignmentFactor

Post by Eirik » Thu Apr 24, 2014 7:53 pm

Hi,
is anybody know how to set bar alignment when StackedXYBarRenderer is userd with a CategoryTableXYDataset.

When i use a XYBarRenderer with a XYSeriesCollection, I can choose the alignment of the bars with Abscis graduation (RIGHT, CENTER, LEFT) with a setBarAlignmentFactor.
But with a StackedXYBarRenderer, even if the BarAlignmentFactor is correctly setted, the bars are always displayed centered on the graduation.

Does anyone have an idea ?
Thanks in advance,
Regards.

Locked