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
Rendering tooltip with column binding values
Migrateduser
<p>I have the following for tooltip in the Report Design:</p><pre class="_prettyXprint _lang-xml _linenums:1"> <Triggers> <Condition>onmouseover</Condition> <Action> <Type>Show_Tooltip</Type> <Value xsi:type="attribute:TooltipValue"> <Text>(row["Foo"]* 1.0e-6).toFixed(3) + "mm"+String.fromCharCode(178)</Text> <Delay>200</Delay> </Value> </Action> </Triggers></pre><p>This results in a tooltip like 1.234 mm squared. This is great.</p><p> </p><p>Anyone knows how to convert the above XML into POJO api calls.</p><p> </p><p>I tried this but it literally shows the text "(row["Foo"]* 1.0e-6).toFixed(3) + "mm"+String.fromCharCode(178)" in the tooltip.</p><p> </p><div><pre class="_prettyXprint">sePie.getTriggers( ).add( TriggerImpl.create( TriggerCondition.ONMOUSEOVER_LITERAL,ActionImpl.create( ActionType.SHOW_TOOLTIP_LITERAL,TooltipValueImpl.create( 0, "(row["Foo"]* 1.0e-6).toFixed(3) + "mm"+String.fromCharCode(178)" ) ) ) );</pre><p>Any help would be greatly appreciated.</p><p> </p><p>Thanks!</p></div><p> </p>
Find more posts tagged with
Comments
There are no comments yet