print every second date

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Wolfgang Pausch

print every second date

Post by Wolfgang Pausch » Wed Sep 18, 2002 8:00 am

hi there!

in some charts its just nicer to print every second date instead of every date on the x-axis.
i used to do that e.g. in category charts by just adding an empty string
to the series: "". (worked fine)
but in jfreechart 0.9.3 i had to change it to a one-space-string " "
to get the same result. but then i recognized, that bars, which should be drawn on days, where the date is not printed, just won't appear.
by adding a real date to every series it works fine again.

i hope that doesn't sound to confusing :)

would appreciate any help.

regards
wolfgang

Locked