category band paint for bar charts?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
burningice
Posts: 5
Joined: Wed Jul 11, 2007 4:41 pm

category band paint for bar charts?

Post by burningice » Wed Jul 11, 2007 5:05 pm

I noticed that there's no category band paint for CategoryPlot as XYPlot does (domain tick bands & range tick bands). In charts of many categories and many series, it confuses me to distinguish the boundary of adjacent catigories, even though I can increase the value of category margin, especially when series nearest to the boundary lacks. I think an alternative background paint for every another category, just like rangeTickBandPaint for XYPlot, would be helpful. Or is there any other solution?

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Jul 11, 2007 5:11 pm

I'll add it to the to-do list.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

burningice
Posts: 5
Joined: Wed Jul 11, 2007 4:41 pm

Post by burningice » Wed Jul 11, 2007 5:23 pm

Ok. I'll wait for your next release, and for the current, I plan to extend CategoryPlot to implement this feature, as it's not difficult.

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Wed Jul 11, 2007 5:35 pm

If you have a patch, you are welcome to submit it...
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

burningice
Posts: 5
Joined: Wed Jul 11, 2007 4:41 pm

Post by burningice » Wed Jul 11, 2007 5:45 pm

ok, with pleasure. :)

Locked