Discussions
Categories
Choose a Product
THRUST SERVICES
CORE APPS
CE PRODUCTS
...
Quick Links
POPULAR
HELPFUL TIPS
Groups
My Links
FOR SIGNED IN MEMBERS:
Back to website
Home
Designing Analytics Reports
Dinamic Y - Axis Title
Migrateduser
hello,
I have, a char in the header of a table group,
I need the axis Y text is changed dynamically,
I tested the following.
the column i need display in axis y is "unidad"
table group on create
var max = this.getRowData().getColumnValue("unidad");
reportContext.setPersistentGlobalVariable("unidad", max);
on char
function beforeGeneration( chart, icsc )
{
var ci = icsc.getExternalContext().getScriptable().getPersistentGlobalVariable("unidad");
xAxis = chart.getBaseAxes()[0];
yAxis = chart.getOrthogonalAxes( xAxis, true)[0];
yAxis.getTitle().getCaption().setValue(ci);
}
in the internal viewer works perfect,
but in tomcat viewer just repeats the same value for all group
using 3.7.2 version of birt.
tranks for your help.
Find more posts tagged with
Comments
There are no comments yet