jfreechart icon indicating copy to clipboard operation
jfreechart copied to clipboard

DateAxis renders its last label outside of the chart area - so it is cut

Open danergo opened this issue 5 years ago • 2 comments

Hi,

I'm using the latest JFreeChart, and I would like to use it for dynamic data displaying. This means I don't just want to display the same data every time.

I've created an issue on StackOverflow: https://stackoverflow.com/questions/57633234/jfreechart-x-axis-labels-are-going-out-of-chart-area

I'm not familiar with the rules here, but in SF there is the whole issue investigated and described. (If you ask, I can copy-paste to here, but I dont't think it's good - as it is a bit large)

Could you please help me to fix this issue?

danergo avatar Aug 30 '19 07:08 danergo

The same problem exists for the vertical-axis (y-axis). This was already reported years ago on sourceforge, with a self-contained demo. Unfortunately this bug seems to be not fixed at least till JFreeChart 1.0.19.

matinh avatar Jun 03 '20 10:06 matinh

On the linked StackOverflow question I've kind-of solved it without touching any bit of JFreeChart's core.

danergo avatar Jun 04 '20 12:06 danergo