Olly Messages: 60 Registered: June 2010 Location: Florida
Member
I have a graph in a table. One of the detail rows is the column "Units". I have a persistent global variable name "Y_AXIS_UNITS". I set it onRender for that row. It works b/c I used it incorrectly to set the labels. I was using the method beforeDrawAxisLabel. Now I am using beforeDrawAxisTitle and I am trying to set the Y Axis Title to "Value <Units Value>". The problem is that normally to get the global variable I would normally use the following code:
value = context.getExternalContext().getScriptable().getPersistentGlobalVariable("Y_AXIS_UNITS")
However, the last method, getPersistentGlobalVariable is not available to me through icsc. How can I get this value and set the title? I have the following code: