My XML uses double instead of single quotes for the metadata. For example - I use
<chart caption="Monthly Chocolate Usage" bgColor="c7c7c7" xAxisName="Month" yAxisName="Chocolate Usage" numberSuffix=" KWh" showValues="0" useRoundEdges="1">
instead of
<chart caption='Monthly Chocolate Usage' bgColor='c7c7c7' xAxisName='Month' yAxisName='Chocolate Usage' numberSuffix=' KWh' showValues='0' useRoundEdges='1'>
When I embed a link to the double-quoted XML from HTML, the chart loads just fine. But when I try to load this exact same XML via FusionChart.js ajax style in javascript, it breaks the chart.
Any clue why this is?