Guest Basundhara Ghosal

[resolved] Problem with jQuery HTML-Table Simple Example

Recommended Posts




<center>





<table id="myHTMLTable" border="1" align="center">

<tr> <th>2005</th> <th>2006</th> <th>2007</th> <th>2008</th> </tr>

<tr> <td>12</td> <td>23</td> <td>34</td> <td>45</td> </tr>

</table>

<script type="text/javascript">

$('#myHTMLTable').convertToFusionCharts({

swfPath: "../Charts/",

type: "Column2D",

data: "#myHTMLTable",

dataFormat:"HTMLTable"

});

</script>



</center>



 

 

 

when i run this code, it produces a 2d column chart, but it produces 4 bars, but the horizontal labels are showing 2006, 2007, 2008. It seems to somehow remove 2005 from the horizontal labels. Im attaching a image of the chart. Im using v3 charting.

post-7157-128441582285_thumb.jpg

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Could you please send us the XML codes that you are using, as an attachment?

Awaiting your reply.

Share this post


Link to post
Share on other sites

All the code im using is in this html file. Attaching it as a .txt file

When i look in firebug on firefox, i get the following xml looking at the source.

<chart ><set label='2005' value='12' /><set label='2006' value='23' /><set label='2007' value='34' /><set label='2008' value='45' /></chart>


jquery.txt

Share this post


Link to post
Share on other sites
Guest Basundhara Ghosal

Hi,

Thanks for reporting the issue.

We have replicate the issue as a bug of FusionCharts for jquery.

Presently, our developers are looking into the issue.

We will definitely get back to you as soon as it gets fixed. 

Share this post


Link to post
Share on other sites
Guest Rajroop

Dear abbottmw,

 

 

 

This is to notify you that jQuery Plugin for FusionCharts has been updated to 1.0.0b2 (beta-2) with:

 

 

 

* Bug fix in HTMLTable data-handler extension where the first Label was ignored in Internet Explorer

 

* Optimized algorithm for property validation

 

* Miscellaneous non-API changes

 

 

 

You can get your hands on it at http://www.fusioncharts.com/jquery

 

 

 

Hope this helps.

Share this post


Link to post
Share on other sites

Thank you for the continued work on this.  Also thank you for keeping me posted on updates!

Ill be doing more testing this week using the plugin.

-Matthew

Share this post


Link to post
Share on other sites
Guest Rajroop

Hey Matthew,

 

 

 

You are always welcome! :)

 

 

 

I hope you have fun testing jQuery Plugin for FusionCharts Free. :hehe:

 

 

 

Please free to discuss issues, offer suggestions and bug reports concerning the jQuery Plugin for FusionCharts Free.

Share this post


Link to post
Share on other sites

Austin,

By default, the jquery defaults to FusionCharts Free, so when Im doing my testing Ive had to set the product to v3.  Same js file.

-Matthew

Edited by Guest

Share this post


Link to post
Share on other sites

Just for reference, you can provide the following piece of code just below your jquery.fusioncharts.js script inclusion, to make the FusionChartsFree JS file work with v3

 

 

 

<script type=

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