Monday, 17 March 2014

Tool tip for Fusion charts in Jasper iReport /Studio - Giving multiple values in Tool tip.

This post will talk about smart functionality of tool tip for fusion charts and reference links for HTML-5 charts tool tips.

Giving multiple values in tool tip for fusion charts.. 


Multiple field values in Tool tip in Jasper Fusion charts
1) Right click the chart ->Chart Data ->Data set items ->Data set items -> Item Hyperlink -> Tool tip

"product name:"+$F{product_name}+"\\n"+
"product count:"+$F{product_count}+"\\n"+
"product amount:"+$F{product_amount}

Problem with new line
Test 1:
\\n worked wtih Mozilla firefox 27.01 .. It may not work with older versions of fire fox
The older version fire fox uses <br> or <br/>  tags inplace of \\n

Test 2:
\\n worked with Version 31.0.1650.63 Built from source for CentOS release 6.5 (Final)


Advanced formatting with new HTML5 charts
http://community.jaspersoft.com/wiki/advanced-formatting-new-html5-charts

Customizing Tooltips in JasperReports HTML5 Chart Components 
OR

No comments:

Post a Comment