FusionCharts Knowledge Base


How do I use currency symbols on my chart?

How do I use the Pound(£) sign on my chart?

To display Pound character on a chart, you can simply include it in the XML/JSON data source of the chart. This is applicable in both Data URL and Data String methods.

Following data includes the £ character:

<chart showValues="1" caption="Revenue for 2009" numberPrefix="£" xAxisName="Quarter" 
yAxisName="Revenue" >
    <set value="235000" label="Quarter 1"/>
    <set value="125100" label="Quarter 2"/>
    <set value="334200" label="Quarter 3"/>
    <set value="414500" label="Quarter 4"/>
</chart>

The above data produces a chart with the £ symbol prefixed to all numeric values:

When using the HTML embedding method with data provided as embedded string, it is essential to encode pound character as %A3.


How do I use the Yen(¥) sign on my chart?

To display Yen character on a chart, you can simply include it in the XML/JSON data source of the chart. This is applicable in both Data Url and Data String methods.

Following data includes ¥ character:

<chart showValues="1" caption="Revenue for 2009" numberPrefix="¥" xAxisName="Quarter" 
yAxisName="Revenue" >
    <set value="235000" label="Quarter 1"/>
    <set value="125100" label="Quarter 2"/>
    <set value="334200" label="Quarter 3"/>
    <set value="414500" label="Quarter 4"/>
</chart>

The above data produces a chart with ¥ prefixed to all numeric values:

When using the HTML embedding method with data provided as embedded string, it is essential to encode yen character as %A5.


How do I use the Cent(¢) sign on my chart?

To display Cent character on a chart, you can simply include it in the XML/JSON data source of the chart. This is applicable in both Data Url and Data String methods.

Following data includes ¢ character:

<chart showValues="1" caption="Revenue for 2009" numberPrefix="¢" xAxisName="Quarter" 
yAxisName="Revenue" >
    <set value="235000" label="Quarter 1"/>
    <set value="125100" label="Quarter 2"/>
    <set value="334200" label="Quarter 3"/>
    <set value="414500" label="Quarter 4"/>
</chart>

The above data produces a chart with ¢ prefixed to all numeric values:

When using the HTML embedding method with data provided as embedded string, it is essential to encode cent character as %A2.


How do I use the Euro(€) sign on my chart?

To display Euro character on a chart, you can simply include it in the XML/JSON data source of the chart. This is applicable in both Data Url and Data String methods.

Following data includes character:

<chart showValues="1" caption="Revenue for 2009" numberPrefix="€" xAxisName="Quarter" 
yAxisName="Revenue" >
    <set value="235000" label="Quarter 1"/>
    <set value="125100" label="Quarter 2"/>
    <set value="334200" label="Quarter 3"/>
    <set value="414500" label="Quarter 4"/>
</chart>

The above data produces a chart with the € symbol prefixed to all numeric values:

Euro character falls into the category of extended unicode character-set. To display a euro character in your chart, the XML file should be encoded with UTF-8 BOM signature, otherwise the character will not be displayed properly. To know more about BOM and how to add it in your XML, please read What is BOM.

When using the HTML embedding method with data provided as embedded string, you need to use %E2%82%AC (the encoded form) instead of € character.


How do I use the Franc(₣) sign on my chart?

To display Franc character on a chart, you can simply include it in the XML/JSON data source of the chart. This is applicable in both Data Url and Data String methods.

Following data includes character:

<chart showValues="1" caption="Revenue for 2009" numberPrefix="₣" xAxisName="Quarter" 
yAxisName="Revenue" >
    <set value="235000" label="Quarter 1"/>
    <set value="125100" label="Quarter 2"/>
    <set value="334200" label="Quarter 3"/>
    <set value="414500" label="Quarter 4"/>
</chart>

The above data produces a chart with ₣ prefixed to all numeric values:

Franc character falls into the category of extended unicode character-set. To display a franc character in your chart, the XML file should be encoded with UTF-8 BOM signature, otherwise the character will not be displayed properly. To know more about BOM and how to add it in your XML, please read What is BOM.

When using the HTML embedding method with data provided as embedded string, you need to use %E2%82%A3 (the encoded form) instead of ₣ character.



Related Articles

No related articles were found.

Attachments

No attachments were found.

Visitor Comments

Article Details

Last Updated
26th of September, 2011

Would you like to...

Print this page  Print this page

Email this page  Email this page

Post a comment  Post a comment

 Subscribe me

Subscribe me  Add to favorites

Remove Highlighting Remove Highlighting

Edit this Article

Quick Edit


User Opinions

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Continue