tommannanchery
Members-
Content count
4 -
Joined
-
Last visited
About tommannanchery
-
Rank
Forum Newbie
-
Error: If you've special characters in your XML (like %, &, ' or accented characters), please URL Encode them.
tommannanchery replied to tommannanchery's topic in XML Issue
Ok guys .. I found the mistake. Just being a lot careless. I thought that the problem would be in the link section cuz of the error description, but it was here: <chart caption='Student Enrollment Stats - '2008' xAxisName='Department' yAxisName='Student Count' showValues='0' formatNumberScale='0' showBorder='0'> There is an extra ' (apostrophe) before the '2008 ' in the chart caption and that messed up the xml data. I am glad I figured it out and hope this helps someone. -
Error: If you've special characters in your XML (like %, &, ' or accented characters), please URL Encode them.
tommannanchery posted a topic in XML Issue
Hi, I was running into this weird issue, which could be trivial. Maybe I am missing something. I have a Multi Series chart, the xml for which is as follows (Please note the link attribute): <chart caption='Student Enrollment Stats' xAxisName='Department - Year' yAxisName='Student Count' showValues='0' formatNumberScale='0' showBorder='1'> <categories> <category label='Biotechnology'/> <category label='Computer Science'/> <category label='Literature'/> <category label='Health Sciences'/> <category label='Environmental Sciences'/> <category label='Civil Engineering'/> </categories> <dataset seriesName='2006'> <set value='4' link='%3FdeptID=1%26yearEnrolled=2006'/> <set value='5' link='%3FdeptID=2%26yearEnrolled=2006'/> <set value='3' link='%3FdeptID=3%26yearEnrolled=2006'/> <set value='5' link='%3FdeptID=4%26yearEnrolled=2006'/> <set value='2' link='%3FdeptID=5%26yearEnrolled=2006'/> <set value='6' link='%3FdeptID=6%26yearEnrolled=2006'/> </dataset> <dataset seriesName='2007'> <set value='4' link='%3FdeptID=1%26yearEnrolled=2007'/> <set value='5' link='%3FdeptID=2%26yearEnrolled=2007'/> <set value='3' link='%3FdeptID=3%26yearEnrolled=2007'/> <set value='5' link='%3FdeptID=4%26yearEnrolled=2007'/> <set value='2' link='%3FdeptID=5%26yearEnrolled=2007'/> <set value='6' link='%3FdeptID=6%26yearEnrolled=2007'/> </dataset> <dataset seriesName='2008'> <set value='4' link='%3FdeptID=1%26yearEnrolled=2008'/> <set value='5' link='%3FdeptID=2%26yearEnrolled=2008'/> <set value='3' link='%3FdeptID=3%26yearEnrolled=2008'/> <set value='5' link='%3FdeptID=4%26yearEnrolled=2008'/> <set value='2' link='%3FdeptID=5%26yearEnrolled=2008'/> <set value='6' link='%3FdeptID=6%26yearEnrolled=2008'/> </dataset> </chart> This chart renders fine. And the drill down mechanism works smooth. But the following Single Series chart fails to be generated and gives me an error: ERROR: Invalid XML encountered. An XML element is malformed. Check the XML data that you've provided. If you've special characters in your XML (like %, &, ' or accented characters), please URL Encode them. <chart caption='Student Enrollment Stats - '2008' xAxisName='Department' yAxisName='Student Count' showValues='0' formatNumberScale='0' showBorder='1'> <set label='Biotechnology' value='4' color='FFA500' link='%3FdeptID=1%26yearEnrolled=2008'/> <set label='Computer Science' value='5' color='FFFF00' link='%3FdeptID=2%26yearEnrolled=2008'/> <set label='Literature' value='3' color='FFA500' link='%3FdeptID=3%26yearEnrolled=2008'/> <set label='Health Sciences' value='5' color='FFFF00' link='%3FdeptID=4%26yearEnrolled=2008'/> <set label='Environmental Sciences' value='2' color='FF0000' link='%3FdeptID=5%26yearEnrolled=2008'/> <set label='Civil Engineering' value='6' color='FFFF00' link='%3FdeptID=6%26yearEnrolled=2008'/> </chart> The link attributes are same for both the xml data, then why does it work for one and not for the other. Hope to get some answers from this forum. -
Thanks for the response, Rahul. I am glad I don't have to spend more time on that. It will be great if you guys consider this for future releases/versions.
-
Hi, I have been investigating to find if Legends can be created for single series charts. I need to do this as I have a Column2D chart wherein the columns are colored on the basis of their values. For e.g., all columns with value between 0 and 25 will be RED, 26-50 will be ORANGE and so on. It is quite easy to create the chart, thanks to the creators of Fusion Charts, but I am trying to find out how to create the legend to specify the Value ranges and the corresponding colors in a Legend. Hope to get some help from this forum