range gridlines bug in 3D line charts

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
itai.marko
Posts: 10
Joined: Mon Jun 22, 2009 2:42 pm

range gridlines bug in 3D line charts

Post by itai.marko » Tue Aug 18, 2009 8:17 am

hi,

There seems to be a bug in the way range gridlines are drawn in 3D line charts with a CategoryDataset. You'd expect the gridlines to have an angle when they're drawn on the left wall, but instead they're drawn horizontaly. This is visible in the demo:
Image

In 3D bar charts, gridlines are drawn correctly:
Image

The problem seems to be that LineRenderer3D doesn't override drawRangeLine() like BarRenderer3D does. Overriding it would fix to the bug but doing so will create a method almost identical to drawRangeGridlines() (which is the way it is in BarRenderer3D). So I'm wondering if that's the correct way to go and why is it like that in BarRenderer3D.

Also, is this bug going to be fixed in the next version?

Thanks,
Itai

Locked