create flash chart and html5 chart with zingchart, what is different?

perbedaan antara membuat zingchart html5 dan zingchart flash

jika kita mengunakan html5 perbedaan ada di


<script type="text/javascript" src="js/jquery-1.4.4.min.js"></script>
<script type="text/javascript" src="js/md5-min.js"></script>
<script type="text/javascript" src="js/zingchart-html5beta-min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
zingchart.render({
id             : 'zingchart',
output        : 'canvas',
width         : 800,
height         : 400,
dataurl     : 'test.php'
});
});
</script>

jika mengunakan flash,

<script type=”text/javascript” src=”js/zingchart-1.1.min.js”></script>
<script type=”text/javascript”>
window.onload = function() {
zingchart.render({
dataurl : “graphfile.txt”,
container : “zingchart”,
width : 500,
height : 400,
liburl : “js/zingchart.swf”,
flashvars : {
allowlocal : 0,
exportdataurl : “js/exportdata.php”,
exportimageurl : “js/exportimage.php”
}
});
}
</script>

 

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s