Re: Re: JCharts - Line graph - values

Marcin Gryszkalis <[email protected]> Thu, 02 Sep 2004 01:04:22 +0200
Newsgroups gmane.comp.krysalis.jcharts.user
Message-ID <[email protected]>
 >>I'm trying to show values on a line graph when using JCharts.
 >>I've checked the documentation; however, I did not see a
 >>way to add values.

> Hi May I suggest copying the code from one of the examples.
> You'll see an array of values being passed in somewhere.
> Just modify that list by creating the array based on your data.

I guess he ment adding value labels, it can be done using ValueLabelRenderer
class but it works with bar and clustered-bar charts only - examples
in guide:
http://jcharts.sourceforge.net/userGuide/axisCharts/bar/#Bar+Labels

When I checked last time it was not possible for stacked charts and
line charts.

regards
marcin


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click