From: Nathaniel G. A. <nat...@ya...> - 2004-06-04 12:57:28
|
Value labels are not currently supported in the stacked bar charts; only the bar anc clustered bars. From the User Guide: "It is now possible to display value labels on your Bar and Clustered Bar charts, but not Stacked Bar Charts" Take a look at the org.jCharts.Legend Class. There are several calculations which would need to be updated to deal with user defined icon sizes. These are all due to the sizing and positioning of the Legend. --- doo...@gm... wrote: > 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 > _______________________________________________ > jCharts-users mailing list > jCh...@li... > https://lists.sourceforge.net/lists/listinfo/jcharts-users __________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/ |