Using Euro Character on chart
When using dataURL method
If you're using dataURL method, you can directly embed the Euro character in your XML and then use it as under:
<chart numberPrefix='€'> <set label='John' value='420' /> <set label='Mary' value='295' /> <set label='Tom' value='523' /> </chart>
You'll now get the following output:
When using dataXML method
When using dataXML method, you need to encode Euro character to %E2%82%AC - else, you'll get an error on many browsers. Following is the full HTML Code to embed the chart:
<div id="chart1div"> This text is replaced by the chart. </div> <script type="text/javascript"> var chart1 = new FusionCharts("Column2D.swf", "ChId1", "350", "200", "0", "0"); chart1.setDataXML("<chart numberPrefix='%E2%82%AC'><set label='John' value='420' /><set label='Mary' value='295' /><set label='Tom' value='523' /></chart>"); chart1.render("chart1div"); </script>
You'll again get the same output as before.