Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Setting y-axis title dynamically from dataset
Setting y-axis title dynamically from dataset [message #1728139] Thu, 31 March 2016 10:27 Go to next message
Neill Rosenthal is currently offline Neill RosenthalFriend
Messages: 2
Registered: March 2016
Junior Member
From this thread:
https://www.eclipse.org/forums/index.php/t/83810/

Chart has problem getting named expression value. The bug has been submitted to bugzilla and will be resoved in future. I tried the method of setting
GlobalVariable in onFetch method of dataset and getting GlobalVariable in
chart script. It works and it is not complex.


The proposed solution does not work for me since I am generating charts as I iterate over a dataset. If I set the GlobalVariable in the onFetch method I always get the last value of the dataset. What I need is the data value as I iterate over the set.

I'm trying to set an axis title with the current data value.

Can one (now) get a named expression value in a chart script?

If not, is there another way of doing what I need to?

[Updated on: Mon, 04 April 2016 12:35]

Report message to a moderator

icon7.gif  Re: Setting Y-axis title dynamically from dataset [message #1728448 is a reply to message #1728139] Mon, 04 April 2016 12:29 Go to previous message
Neill Rosenthal is currently offline Neill RosenthalFriend
Messages: 2
Registered: March 2016
Junior Member
After many hours I ended up setting the Y-axis title from my dataset outside the chart using a Rotated Text box, with the text box and chart side-by-side in a 2 x 1 grid.
The Rotated Text component is part of a plugin called birt-controls-lib
To install it in Eclipse, select Help - Eclipse Marketplace then search for "Birt Controls".
Remember that the jar files must also be deployed to the runtime server as described here:
https://github.com/innoventsolutions/birt-controls-lib/wiki/Installation

[Updated on: Mon, 04 April 2016 12:49]

Report message to a moderator

Previous Topic:BIRT 4.3.1 compatibility with PDFBox
Next Topic:highlight in report
Goto Forum:
  


Current Time: Sat Apr 27 03:50:17 GMT 2024

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

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

Back to the top