Sign in to follow this  
srividya_sharma

Invalid XML

Recommended Posts

<chart palette="3" caption="Hello World" yAxisName="Response Per GRP" xAxisName="something" showLegend="1" showNames="1" xAxisMaxValue="13" xAxisMinValue="0"> 
 <categories verticalLineThickness="1"> 
 <category name="1" x="1" showVerticalLine="0"/> 
 <category name="2" x="2" showVerticalLine="0"/> 
 <category name="3" x="3" showVerticalLine="0"/> 
 <category name="4" x="4" showVerticalLine="0"/> 
 <category name="5" x="5" showVerticalLine="0"/> 
 <category name="6" x="6" showVerticalLine="0"/> 
 <category name="7" x="7" showVerticalLine="0"/> 
 <category name="8" x="8" showVerticalLine="0"/> 
 <category name="9" x="9" showVerticalLine="0"/> 
 <category name="10" x="10" showVerticalLine="0"/> 
 <category name="11" x="11" showVerticalLine="0"/> 
 <category name="12" x="12" showVerticalLine="0"/> 
 <category name="13" x="13" showVerticalLine="0"/> 
 </categories> 
<dataSet seriesName="London" color="0372AB" plotBorderThickness="0" showPlotBorder="1" anchorSides="3">
<set id="myId-0" x="1" y="0.623430962343096"/>
<set id="myId-1" x="2" y="0.494437577255871"/>
<set id="myId-2" x="3" y="0.50817341862118"/>
<set id="myId-3" x="4" y="0.688788335847159"/>
<set id="myId-4" x="5" y="0.578676179151803"/>
<set id="myId-5" x="6" y="0.320066796548845"/>
<set id="myId-6" x="7" y="0.472813238770686"/>
<set id="myId-7" x="8" y="0.410872313527181"/>
<set id="myId-8" x="9" y="0.412621359223301"/>
<set id="myId-9" x="10" y="0.345968712394705"/>
<set id="myId-10" x="11" y="0.440251572327044"/>
<set id="myId-11" x="12" y="0.590195145168967"/>
<set id="myId-12" x="13" y="0.0218102508178844"/>
</dataSet>
</chart>

Share this post


Link to post
Share on other sites

This xml seems to be valid.

Please verify that

1.  You are using FusionCharts v3 and not the free version swf files. This xml is a valid v3 xml.

2. showNames has to be changed to showLabels. Note that this does not cause the Invalid XML problem.

3. You are using this xml with the Scatter.swf chart in your html.

I have tried the xml with scatter chart in v3 and there is no problem.

Hope this helps! :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this