| Using Percent Sign on chart |
|
| When using dataURL method |
| If you're using dataURL method, you can directly embed the Percentage character in your XML and then use it as under: |
| <chart numberSuffix='%'> <set label='John' value='42.0' /> <set label='Mary' value='29.5' /> <set label='Tom' value='52.3' /> </chart> |
| You'll now get the following output: |
![]() |
| When using dataXML method |
| When using dataXML method, you need to encode Percent character to %25 - else, you'll get an error on many browsers. Following is the full HTML Code to embed the chart: |
<div id="chart1div"> |
| You'll again get the same output as before. |
![]() |