Any Javascript geniuses in the area??
The following script is meant to generate a fusionchart Pie3d Chart. It works great as shown here.
<script language="JavaScript">
var chart1 = new FusionCharts("http://www.help-my-finances.com/Prototype/testMSG/fusionchart/Pie3D.swf", "chart1Id", "700", "500", "0", "1");
chart1.setDataXML("<chart caption='Monthly Budget Expenses' palette='2' animation='1' formatNumberScale='0' numberPrefix='$' pieSliceDepth='30' startingAngle='145'><set label='Housing' value='1386' /><set label='Food' value='11' /><set label='Auto' value='11' /><set label='Insur.' value='11' /><set label='Debt' value='11' /><set label='Enter.' value='11' /><set label='Clothing' value='11' /><set label='Savings' value='11' /><set label='Medical' value='11' /><set label='Childcare' value='11' /><set label='Misc' value='11' /></chart>");
chart1.render("chart1div");
</script>
The problem comes when I want to substitute a variable for one of the hardcoded or defined values in the middle statement above. For example, setting the value='11' to value=$test1 for example.
Any bright ideas before I have to throw myself off this chair?
Talltom
7 Secrets to Internet Marketing Failure
...or, how you can short circuit my mistakes and become an Internet Market Success!!
7 Secrets to Internet Marketing Failure
...or, how you can short circuit my mistakes and become an Internet Market Success!!
7 Secrets to Internet Marketing Failure
...or, how you can short circuit my mistakes and become an Internet Market Success!!
7 Secrets to Internet Marketing Failure
...or, how you can short circuit my mistakes and become an Internet Market Success!!