plot « BarChart « JFreeChart Q&A





1. Possible to plot bars using different colors on a bar chart?    jfree.org

Hi, I would like to have the possibility to plot bars in one color when some condition is met and in another color otherwise (e.g. blue bars when the stock made progress, red bars when it declined). This kind of behavior does not seem to be supported out-of-the-box by JFreeChart. Subclassing would be needed (XYBarRenderer, ...). What are your recommendations to ...