Mansi Shah Report post Posted October 11, 2012 Hi, i am trying to bind xml data to "Box and whisker charts" by inline in javscsript and i am getting message "No data found". My sample code is : var myChart = new FusionCharts('../PowerCharts/BoxAndWhisker2D.swf', 'FitnessTest', 675, 250, '0', '1'); myChart.setDataXML("<chart caption='Scorecard Statistics' useroundedges='1' plotspacepercent='70' ><categories><category label='Guestplayer Guestplayer' /><category label='memberumesh memberumesh' /><category label='Umeshplayer Umesh' /><category label='Avc Bcb' /><category label='mempumesh mempumesh' /><category label='Linus A. Karlson' /><category label='Memberplayer Memberplayer' /><category label='Mansi Guest Shah' /><category label='Mansi Shah' /></categories><dataset seriesName='Score' lowerboxcolor='006ECB' upperboxcolor='9071CD'><set value='70,23' /><set value='70,23' /><set value='70,23' /></dataset></chart>"); myChart.configure("ChartNoDataText", "No data found"); myChart.render("dvChart"); i have tried to bind data using "myChart.setXMLData" but getting same message. i am note getting whats the problem. Share this post Link to post Share on other sites
FusionCharts Support Report post Posted October 11, 2012 Hi, You need at-least 3 values to create a box plot with a median. Share this post Link to post Share on other sites
Mansi Shah Report post Posted October 12, 2012 Hi, You need at-least 3 values to create a box plot with a median. Hi, Thanks for your reply. Its works. I have one more question : i want show x-axis labels with scroll bar as i have so many values in Box and whisker chart. Share this post Link to post Share on other sites
Mansi Shah Report post Posted October 12, 2012 i am also not able to render charts in javscript. i am trying render charts with javascript by : FusionCharts.setCurrentRenderer('javascript'); but it shows "Chart type not supported" Share this post Link to post Share on other sites
Sanjukta Report post Posted October 12, 2012 Hi, i am also not able to render charts in javscript. i am trying render charts with javascript by :<br style="color: rgb(107, 107, 107); font-family: verdana, arial, tahoma, sans-serif; line-height: 18px; background-color: rgb(247, 247, 247); "><br style="color: rgb(107, 107, 107); font-family: verdana, arial, tahoma, sans-serif; line-height: 18px; background-color: rgb(247, 247, 247); ">FusionCharts.setCurrentRenderer('javascript');<br style="color: rgb(107, 107, 107); font-family: verdana, arial, tahoma, sans-serif; line-height: 18px; background-color: rgb(247, 247, 247); "><br style="color: rgb(107, 107, 107); font-family: verdana, arial, tahoma, sans-serif; line-height: 18px; background-color: rgb(247, 247, 247); ">but it shows "Chart type not supported" It seems you might be using an older version of PowerCharts which did not support the JavaScript fallback for Box and Whisker chart. Could you please upgrade your current version to the latest, i.e, PowerCharts XT (v3.2.1) that supports that JavaScript Fallback for Box and Whisker, Kagi, Heat Map, Drag Node, and a few other charts? More details at: Ref.- http://docs.fusionch...WhatsNew32.html Hope this helps. Share this post Link to post Share on other sites
FusionCharts Support Report post Posted October 13, 2012 i want show x-axis labels with scroll bar as i have so many values in Box and whisker chart. As of now, scroll-bar for Y Axis in Box and Whiskers chart is not supported. Share this post Link to post Share on other sites
Mansi Shah Report post Posted October 15, 2012 Hi, It seems you might be using an older version of PowerCharts which did not support the JavaScript fallback for Box and Whisker chart. Could you please upgrade your current version to the latest, i.e, PowerCharts XT (v3.2.1) that supports that JavaScript Fallback for Box and Whisker, Kagi, Heat Map, Drag Node, and a few other charts? More details at: Ref.- http://docs.fusionch...WhatsNew32.html Hope this helps. I have the latest version 3.2.1. Share this post Link to post Share on other sites
Sanjukta Report post Posted October 15, 2012 Hi Mansi, I have the latest version 3.2.1. Please check with the attached sample Box and Whisker chart in the JavaScript version. Also, please make sure that you have kept "FusionCharts.HC.js", "FusionCharts.HC.PowerCharts.js" and "jquery.min.js" in the same folder as "FusionCharts.js" while rendering the JavaScript chart.. These files are present in the "Charts" folder of the PowerCharts XT Download Pack. It is very important that you keep these files in the same folder as "FusionCharts.js". You do not need to load these files explicitly in HTML. "FusionCharts.js" automatically takes care of the loading. Hope this helps. BoxandWhisker_JSChart.zip Share this post Link to post Share on other sites
Mansi Shah Report post Posted October 15, 2012 Hi Mansi, Please check with the attached sample Box and Whisker chart in the JavaScript version. Also, please make sure that you have kept "FusionCharts.HC.js", "FusionCharts.HC.PowerCharts.js" and "jquery.min.js" in the same folder as "FusionCharts.js" while rendering the JavaScript chart.. These files are present in the "Charts" folder of the PowerCharts XT Download Pack. It is very important that you keep these files in the same folder as "FusionCharts.js". You do not need to load these files explicitly in HTML. "FusionCharts.js" automatically takes care of the loading. Hope this helps. My problem is solved. thanks for the help the version was 3.2.1 but i have not the latest update with fixes. Share this post Link to post Share on other sites
Sanjukta Report post Posted October 15, 2012 Hey, My problem is solved. thanks for the help the version was 3.2.1 but i have not the latest update with fixes. We are glad that your issue is resolved. Happy FusionCharting! Share this post Link to post Share on other sites