Skrip Grafik dari Tabel dengan Highcharts

Skrip Grafik dari Tabel dengan Highcharts

kdsurya

<script src="https://code.highcharts.com/highcharts.js"></script>

<script src="https://code.highcharts.com/modules/data.js"></script>

<script src="https://code.highcharts.com/modules/exporting.js"></script>


<div id="container" style="min-width: 310px; height: 400px; margin: 0 auto"></div>


<script type="text/javascript">

Highcharts.chart('container', {

data: {

table: 'idtabel'

},

chart: {

type: 'column'

},

title: {

text: 'Judul Grafik'

}

});

</script>