Legend icons / Labels

[email protected] Fri, 4 Jun 2004 12:35:31 +0200 (MEST)
Newsgroups gmane.comp.krysalis.jcharts.user
Message-ID <[email protected]>
Hello!

I've been using Jcharts for some time now and I think it's pretty easy to
use and creates nice output. Recently I've run into a couple of problems:

1) I have created a stacked Barchart but cannot get JCharts to display the
labels. Specifically I'd like to place the labels within the bars - is that
possible? 
Here's my code:

ValueLabelRenderer valueLabelRenderer = new
ValueLabelRenderer(false,true,true, -1 );
valueLabelRenderer.setValueLabelPosition( ValueLabelPosition.ON_TOP );
valueLabelRenderer.useVerticalLabels( false );
stackedBarChartProperties.addPostRenderEventListener( valueLabelRenderer );



2) Is there a way to change the size of legend icons - these little boxes
which are positioned right in front of the label? If not, could anyone
please give me a hint as to where to find it in the source?

Thanks in advance,

Katrin

-- 
"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info



-------------------------------------------------------
This SF.Net email is sponsored by the new InstallShield X.
From Windows to Linux, servers to mobile, InstallShield X is the one
installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504