Calciteko

Members
  • Content count

    4
  • Joined

  • Last visited

Posts posted by Calciteko


  1. I am trying to set data explicitly by using setXMLData but it is not working. First time it works but after that it does not work.

    My XML is like this.

    <chart  showPercentValues="1" decimals="1" baseFontSize="11" isSliced="1"  borderColor="FFFFFF" bgColor="FFFFFF"><set  label="Unique Click" value="186316"/><set label="Leads"  value="35433"/><set label="Sales" value="5797"/><set  label="Rebills" value="158"/></chart>
    

    This is my javascript

    pnl.chart.setXMLData(xml);//This is not
    pnl.chart.resizeTo(100,100);//This working
    

    Can anybody please help me.


  2. Hi,

     

    Welcome to FusionCharts Forum!smile.gif

     

    Please remove the following attribute from your XML code: numberPrefix="{:content:}quot;

     

    Hope this helps.smile.gif

     

     

     

     

    I am sorry typical copy paste mistake. This is my actual XML.

    <?xml  version="1.0" encoding="utf-8"?> <chart compactDataMode="1"  dataSeparator="|" caption="Test" axis="linear"   borderColor="FFFFFF" bgColor="FFFFFF"  numberPrefix="{:content:}quot;  formatNumberScale="0" allowPinMode="0" enableIconMouseCursors="0"  dynamicAxis="1"  palette="3"><categories>04/07/2011|04/06/2011|04/05/2011|04/04/2011|04/03/2011|04/02/2011|04/01/2011|03/31/2011|03/30/2011|03/29/2011|03/28/2011|03/27/2011|03/26/2011|03/25/2011|03/24/2011|03/23/2011|03/22/2011|03/21/2011|03/20/2011|03/19/2011|03/18/2011|03/17/2011|03/16/2011|03/15/2011</categories><dataset  seriesName="TestT">5|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0</dataset><dataset  seriesName="Testl">8|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0</dataset><dataset  seriesName="Test2">3|25|127|102|82|89|122|97|100|81|80|47|36|50|54|46|60|74|41|55|52|48|55|41</dataset></chart>
    

    This works in localhost (windows) but not in production (linux server). I also noticed this does not work in IE9 even in localhost. Any idea why this is happening.


  3. I have this weird problem. I am trying to use ZoomLine.swf for chart and my XML is like this

    <chart compactDataMode="1" dataSeparator="|" caption="Test" axis="linear" bgColor="FFFFFF" numberPrefix="{:content:}quot; formatNumberScale="0" allowPinMode="0" enableIconMouseCursors="0" dynamicAxis="1" palette="3"><categories>04/06/2011|04/05/2011|04/04/2011|04/03/2011|04/02/2011|04/01/2011|03/31/2011|03/30/2011|03/29/2011|03/28/2011|03/27/2011|03/26/2011|03/25/2011|03/24/2011|03/23/2011|03/22/2011|03/21/2011|03/20/2011|03/19/2011|03/18/2011|03/17/2011|03/16/2011|03/15/2011</categories><dataset seriesName="Test">0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0</dataset></chart>
    

     

    However it is not working when I plugin this into to the website but it works in localhost any idea why this is happening. This is my first time with FusionChart.smile.gif