This post has been edited by anoopkumar: 12 January 2012 - 09:44 PM
Page 1 of 1
How To Show Custom Html In Fushion Chart Tool Tip
Other Replies To This Topic
#2
Posted 13 January 2012 - 03:26 AM
Hi Anoop,
Welcome to the FusionCharts Forum
Thank you for the post.
You can set a custom tool tip for any of the data points using 'tooltext' attribute of the <set> element.
You may also customize the background & border color of the tool tip using the toolTipBorderColor and toolTipBgColor attributes respectively.
FusionCharts v3 allows you to put your tool tips in multiple lines with a little manual tweaking.
All that you have to do to add a line break in the tool-tip is to use the pseudo code {br}.
Ref. Code:
Also, in order to apply a different color for the toolText you may use styles.
Ref. Code:
Please find attached screenshot of the chart rendered with the above settings done.
Also, for more information on 'Attributes for Tool Tip', please refer to the link below,
http://docs.fusionch...sc/ToolTip.html
Hope this helps !
Happy FusionCharting
Welcome to the FusionCharts Forum
Thank you for the post.
You can set a custom tool tip for any of the data points using 'tooltext' attribute of the <set> element.
You may also customize the background & border color of the tool tip using the toolTipBorderColor and toolTipBgColor attributes respectively.
FusionCharts v3 allows you to put your tool tips in multiple lines with a little manual tweaking.
All that you have to do to add a line break in the tool-tip is to use the pseudo code {br}.
Ref. Code:
<set label="21%, France" value="17" toolText='$France {br} -------------------------{br} secondLine data {br}-------------------------- {br} 21%' displayValue='France'/>
Also, in order to apply a different color for the toolText you may use styles.
Ref. Code:
<styles>
<definition>
<style name='myToolTipFont' type='font' font='Arial' size='12' color='FFFFF'/>
</definition>
<application>
<apply toObject='ToolTip' styles='myToolTipFont' />
</application>
</styles>
Please find attached screenshot of the chart rendered with the above settings done.
Also, for more information on 'Attributes for Tool Tip', please refer to the link below,
http://docs.fusionch...sc/ToolTip.html
Hope this helps !
Happy FusionCharting
This post has been edited by Bindhu: 13 January 2012 - 03:30 AM
Help us improve our documentation with your precious feedback at:
http://documentation...sioncharts.com/
Thank you,
Bindhu
Follow us <http://http//twitter.com/fusioncharts> @Twitter!
http://documentation...sioncharts.com/
Thank you,
Bindhu
Follow us <http://http//twitter.com/fusioncharts> @Twitter!
Other Replies To This Topic
Page 1 of 1

Back to top
MultiQuote