tvarma7091 Report post Posted March 27, 2015 Can we use FomatNumber in ToolText??? Currently, i'm using ToolText and the Number is coming from JSON like 123500.00. I want to format the same number to 1,23,500.00. How do I do it?? Because the formatNumber:"1" is not working. Please,let me know asap. Thank you. Share this post Link to post Share on other sites
Moonmi Sonowal Report post Posted March 30, 2015 Hi, Please not that format number scaling is applied to the chart and not on tooltext. The tooltext is an attribute where you can display more information for the data item as tool tip or display data as per requirement. Please refer the demo fiddle below for clearer view: http://jsfiddle.net/moonmi/6gbte7nv/ Hope this helps. Share this post Link to post Share on other sites
tvarma7091 Report post Posted March 30, 2015 dataFormat: 'json', dataSource: { "chart": { "caption": caption, "bgColor": "#FFFFFF", "baseFontColor": "000000", "showBorder": "0", "use3DLighting": "0", "formatNumberScale": "1", "formatNumber": "1", "showZeroPies": "0", "showShadow": "0", "enableSmartLabels": "1", "startingAngle": "0", "showPercentValues": "1", "showPercentInTooltip": "0", "plotBorderThickness": "2.5", "plotBorderColor": "#ffffff", "numberprefix": "$", "decimals": "2", "forceDecimals": "1", "decimalseparator":",", "thousandseparator":".", "thousandSeparatorPosition": "2", //"thousandSeparatorPosition": "'2,3'", //"captionFontSize": "14", "useDataPlotColorForLabels": "1", "toolTipColor": "#ffffff", "toolTipBorderThickness": "0", "toolTipBgColor": "#000000", "toolTipBgAlpha": "100", "toolTipBorderRadius": "2", "toolTipPadding": "5", "toolTipBorderColor": "#000000", "showHoverEffect":"1", "showLegend": "1", "legendBgColor": "#ffffff", "legendNumColumns": "4", //"legendBorderAlpha": '0', //"legendShadow": '0', "legendItemFontSize": '10', "legendItemFontColor": '#666666', //"placeValuesInside": '0', "theme": "fint", "isSmartLineSlanted":"1", I'm using all these properties but they are not applying. Here are the list of the which are not applying. "formatNumberScale": "1", "formatNumber": "1", "decimals": "2", "forceDecimals": "1", "decimalseparator":",", "thousandseparator":".", "thousandSeparatorPosition": "2", "useDataPlotColorForLabels": "1", Share this post Link to post Share on other sites
Moonmi Sonowal Report post Posted March 31, 2015 Hi, The attributes shared had been added to the fiddle below: http://jsfiddle.net/moonmi/6gbte7nv/2/ It does not seem to be an issue. However, if we are missing out any thing please fork/update the shared fiddle and share it with us to replicate the issue. Also, meanwhile for number formatting on chart please refer the fiddle below: http://docs.fusioncharts.com/tutorial-configuring-your-chart-number-format.html Hope this helps. Share this post Link to post Share on other sites