Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Chart Legend(Change Legend Series Dynamically)
Chart Legend [message #1838975] Wed, 10 March 2021 17:17
Frank Caruso is currently offline Frank CarusoFriend
Messages: 5
Registered: February 2014
Junior Member
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: Tue Apr 23 13:29:40 GMT 2024

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

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

Back to the top