Sign in to follow this  
Mansi Shah

Data Not Found In Box And Whisker Charts

Recommended Posts

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

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

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

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

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

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

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

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

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