Current File : /home/caballoscriollos/www/espanol/encuesta/graphs/contents/adv_spchar_euro.html
<?xml version="1.0" encoding="iso-8859-1"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>FusionCharts free Documentation</title>
<link rel="stylesheet" href="Style.css" type="text/css" />
</head>
<body>
<table width="98%" border="0" cellspacing="0" cellpadding="3" align="center">
<tr>
<td><span class="pageHeader">Using Euro Character on chart </span></td>
</tr>
<tr>
<td valign="top" class="text"><p> </p> </td>
</tr>
<tr>
<td valign="top" class="header">When using dataURL method </td>
</tr>
<tr>
<td valign="top" class="text">If you're using dataURL method, you need to encode Euro character to <span class="codeInline"></span>%80 in your XML and then use it as under:</td>
</tr>
<tr>
<td valign="top" class="codeBlock"><graph decimalPrecision='0' numberPrefix='<strong>%80</strong> '><br />
<set name='John' value='420' color='AFD8F8' /><br />
<set name='Mary' value='295' color='F6BD0F' /><br />
<set name='Tom' value='523' color='8BBA00' /><br />
</graph></td>
</tr>
<tr>
<td valign="top" class="text">You'll now get the following output: </td>
</tr>
<tr>
<td valign="top" class="text"><img src="Images/EuroChar.jpg" /></td>
</tr>
<tr>
<td valign="top" class="text"> </td>
</tr>
<tr>
<td valign="top" class="header">When using dataXML method </td>
</tr>
<tr>
<td valign="top" class="text">When using dataXML method, you need to encode Euro character to <span class="codeInline">%80</span> - else, you'll get an error on many browsers. Following is the full HTML Code to embed the chart: </td>
</tr>
<tr>
<td valign="top" class="codeBlock"><p><div id="chart1div"><br />
This text is replaced by the chart.<br />
</div><br />
<script type="text/javascript"><br />
var chart1 = new FusionCharts("FCF_Column2D.swf", "ChId1", "350", "200");<br />
chart1.setDataXML("<graph decimalPecision='0' <strong>numberPrefix='%80 '</strong>><br />
<set name='John' value='420'color='AFD8F8' /><br />
<set name='Mary' value='295' color='F6BD0F' /><set name='Tom' value='523' color='8BBA00' /> </graph>");<br />
chart1.render("chart1div");<br />
</script></p>
</td>
</tr>
<tr>
<td valign="top" class="text">You'll again get the same output as before. </td>
</tr>
<tr>
<td valign="top" class="text"><img src="Images/EuroChar.jpg" /></td>
</tr>
</table>
</body>
</html>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat