Using Apostrophe Sign on chart |
|
When using dataURL method |
When using dataURL method, you need to encode apostrophe as ' as under: |
<graph decimalPrecision='0' > <set name='John's Count' value='420' color='AFD8F8' /> <set name='Mary's Count' value='295' color='F6BD0F' /> <set name='Tom's Count' value='523' color='8BBA00' /> </graph> |
You'll now get the following output: |
When using dataXML method |
When using dataXML method, you need to encode apostrophe character to %26apos; - else, you'll get an "Invalid XML error". Following is the full HTML Code to embed the chart: |
<div id="chart1div"> |
You'll again get the same output as before. |