Skip to main content



      Home
Home » Archived » BIRT » Chart Legend(Change Legend Series Dynamically)
Chart Legend [message #1838975] Wed, 10 March 2021 12:17
Eclipse UserFriend
I would like the legend on my bar chart to show the total values for each series. There are two series: Incidents and Work Orders. What I would like to do is change them when the legend is rendered to be something like Incidents (12)"and Work Orders (43). I know how to change the series titles but cannot figure out how to access any vales from the data set bound to the chart. I tried something like this in beforeDrawLegend:

lerh.getLabel().getCaption().setValue(dataSetRow["Total Incidents"]);

But that did not work.

Any help is appreciated.
Previous Topic:Help with Eclipse/BIRT install
Next Topic:MANIFEST.MF missing in Eclipse BIRT designer
Goto Forum:
  


Current Time: Sun Jul 13 09:39:31 EDT 2025

Powered by FUDForum. Page generated in 0.04723 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top