Current File : /home/caballoscriollos/public_html/espanol/encuesta/graphs/contents/adv_spchar.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 Multi-lingual text in FusionCharts </span></td>
</tr>
<tr>
<td valign="top" class="text"><p> </p> </td>
</tr>
<tr>
<td valign="top" class="text"><p>FusionCharts allows you to use multi-lingual (UTF-8) characters on the charts. Shown below is an example where we've used names using various languages on the chart:</p> </td>
</tr>
<tr>
<td valign="top" class="text"><img src="Images/SpChar_1.jpg" /></td>
</tr>
<tr>
<td valign="top" class="text"><p>The XML for the above chart is :</p>
<p class="codeBlock"><graph rotatenames='0' xaxisname=<strong>'Ελλάς</strong>' yaxisname='<strong>шаяьеду Y-Axis</strong>' caption='<strong>Ελλάς</strong>' subCaption='<strong>рыщц</strong>' numdivlines='4' lineThickness='3' pieborderColor='FFFFFF' pieFillAlpha='95' pieRadius='95'><br />
<set name='<strong>ประเทศไทย</strong>' value='90' color='AFD8F8' isSliced='1'/> <br />
<set name='י<strong>שראל</strong>' value='95' color='F6BD0F' isSliced='1'/> <br />
<set name='<strong>Россия</strong>' value='91' color='8BBA00' isSliced='1'/> <br />
<set name='<strong>Україна</strong>' value='65' color='A66EDD' isSliced='1'/> <br />
<set name='<strong>الاماراتالعربيةالمتحدة</strong> ' value='88' color='F984A1' isSliced='1'/><br />
<set name='<strong>خوشآمدید</strong>' value='30' color='B2FF66' isSliced='1'/> <br />
<set name='<strong>مرحباً</strong>' value='56' color='ffd1aa' isSliced='1'/><br />
<br />
<trendlines><br />
<line value='85' color='FF9900' thickness='1' /><br />
</trendlines><br />
</graph><br />
</p> </td>
</tr>
<tr>
<td valign="top" class="text">The XML is using texts in various languages (put in bold). To make the charts show these languages (and many other languages not included here) you have to store the file in UTF-8 Unicode Encoding Format with proper BOM mark. With out BOM mark the chart may somewhat look like the chart below : </td>
</tr>
<tr>
<td valign="top" class="text"><img src="Images/SpChar_11.jpg" /></td>
</tr>
<tr>
<td valign="top" class="text"> </td>
</tr>
<tr>
<td valign="top" class="text"><p>You can use multi-lingual characters in all the charts in FusionCharts suite. However, <strong>any rotated text on chart cannot show non-English characters</strong>. That is, if you want to use multi-lingual characters, you'll need to show horizontal x-axis labels without being rotated (using <span class="codeInline"><graph rotateNames='0' ..></span>). </p>
<p class="highlightBlock">FusionCharts supports only left-to-right languages as of now. It doesn't have native support for right-to-left languages like Hebrew. So, if you want to use Hebrew with FusionCharts, you'll have to <span style="font-family:Verdana; font-size:8.0pt; color:#291E40; ">programmatically </span> change the text sequence and then provide the data to FusionCharts. </p> </td>
</table>
</body>
</html>
Mr. DellatioNx196 GaLers xh3LL Backd00r 1.0, Coded By Mr. DellatioNx196 - Bogor BlackHat