shiri Report post Posted November 13, 2008 Hi,I am trying to display pie with hebrew labels. my js file looks like : document.write( ' <div id="PieDiv" align="center"></div>');var chart = new FusionCharts("../FusionCharts/Pie2D.swf", "embPie", "400", "300", "0", "0"); chart.setDataURL("generatePieData.jsf"); chart.render("embPieDiv"); while the generatePieData.jsp file looks like : <%@ page contentType="text/xml; charset=UTF-8"%><%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%><%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%><f:view><h:outputText value="#{bean.pieXML}" escape="false" /></f:view>bean.pieXML retrieves: <chart bgColor="00FFFF" bgAlpha="0" showBorder="0" baseFontSize="11" baseFontColor="001b54" showPercentValues="1" labelSepChar="=" chartLeftMargin="20" animation="1">chartRightMargin="20"><set label="??" value="8452.0" /><set label="???" value="8034.0" /><set label="????" value="7940.0" /><set label="42" value="7926.0" /><set label="45" value="7648.0" /></chart> and the pie is diaplyed with bed labels. note that if the generatePieData.jsp looks like: <%@ page contentType="text/xml; characterset=UTF-8"%><chart bgColor="00FFFF" bgAlpha="0" showBorder="0" baseFontSize="11" baseFontColor="001b54" showPercentValues="1" labelSepChar="=" chartLeftMargin="20" animation="1">chartRightMargin="20"><set label="??" value="8452.0" /><set label="???" value="8034.0" /><set label="????" value="7940.0" /><set label="42" value="7926.0" /><set label="45" value="7648.0" /></chart> meaning without dynamic data ,I see the labels well. Share this post Link to post Share on other sites
FusionCharts Support Report post Posted April 19, 2010 The dynamically generated XML needs BOM stamp to be present at the first bytes of the stream. Share this post Link to post Share on other sites