nathfy / auto-table-to-chart

Automatically exported from code.google.com/p/auto-table-to-chart
0 stars 0 forks source link

Want to enclose two charts and only one mixed up chart obtained #13

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
- Drawing several charts in the same html file.

What is the expected output? What do you see instead?
- Expected two tables and two charts. Result two tables and only one mixed up 
chart.

What version of the product are you using? On what operating system?
- Version O.3. Windows 7 32 bit. IE9. Address: localhost. Server: IIS7.

Please provide any additional information below.

I enclose html code and image of the result.

Regards
comrlr

Original issue reported on code.google.com by com...@gmail.com on 5 Oct 2012 at 3:51

Attachments:

GoogleCodeExporter commented 9 years ago
Not an issue. It was solved adding these lines:

<script>$(document).ready(function(){$('#ListarTotalCiudades').attc();});</scrip
t>

and

<script>$(document).ready(function(){$('#ListarTotalMeses').attc();});</script>

at the end of the code of each chart.

Regards
comrlr.

Original comment by com...@gmail.com on 6 Oct 2012 at 12:02

GoogleCodeExporter commented 9 years ago
I use:
$(document).ready(function(){
$('body').find('table[data-attc-createChart]').each(function(){
$(this).attc();
}
});
});

But the plugin should automatically handle multiple tables passed by selector, 
so I'll add it to the next release at the end of November.

Original comment by nat...@gmail.com on 5 Nov 2012 at 11:16