Bar Charts and Target Line

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

Bar Charts and Target Line

Post by Swamy Ananthanarayan » Thu Oct 25, 2001 8:04 pm

Hello,

Is there any way to have a Target Line appear in a Bar Chart?
For example, if I were plotting revenue for different quarters of the year and I wanted a line drawn to indicate the target revenue across all quarters, could I do so? This way I could see if the revenue fell below or above the target. The target line is basically just a constant represented by a line across. Thank you for your time.

Cheers,
Swamy

David Gilbert

RE: Bar Charts and Target Line

Post by David Gilbert » Thu Oct 25, 2001 9:21 pm

Hi Swamy,

This feature has been added by another developer already. You can obtain the latest JFreeChart sources from the CVS repository on SourceForge (http://sourceforge.net/projects/jfreechart)...or wait for the next release which I hope will be before the end of the year.

Regards,

DG.

Locked