• Content count

  • Joined

  • Last visited

About ss4ms0n

  • Rank
    Forum Newbie
  1. Hi, first of all i really like the javascript fallback for users who don't have flash player installed. I wanted to test is for a multilevel pie chart but am having problems with the background. I've tried the following code: <html> <head> <title>My First chart using FusionCharts - Using pure JavaScript</title> <script type="text/javascript" src="Charts/FusionCharts.js"></script> </head> <body> <div id="chartContainer">FusionCharts will load here!</div> <script type="text/javascript"><!-- FusionCharts.setCurrentRenderer('javascript'); var myChart = new FusionCharts( "Charts/MultiLevelPie.swf", "myChartId", "800", "600", "0", "1" ); myChart.setXMLData("<chart caption='Friend List' bgColor='FFFFFF' ><category label='Friends' > <category label='His Friends' value='41' ><category label='Best Friends' value='10' /><category label='Good Friends' value='10' /> <category label='Friends' value='8' /> <category label='Haven't met' value='6' /><category label='Acquaintances' value='7' /> </category><category label='Our Mutual Friends' value='54' ><category label='Best Friends' value='10' /> <category label='Good Friends' value='20' /><category label='Friends' value='9' /><category label='Haven't met' value='9' /> <category label='Acquaintances' value='6' /> </category> </category></chart>"); myChart.render("chartContainer"); // --> </script> </body> </html> I get a black background with the javascript renderer instead of the white background i want and get with flash. Why is this? How can i force the white background?