0
plotOptions: {
column: {
pointPadding: 0.2,
borderWidth: 0
}
},
series: [{
name: 'Not Completed',
data: [<?php echo json_encode($TotalNotCompleted); ?>]
/* here how to write query to fetch data from database, to make my graph work dynamically */
}, {
name: 'Completed',
data: [<?php echo json_encode($TotalCompleted); ?>]
}]
我沒有看到任何與數據庫相關的數據庫腳本標籤獲取數據。你應該發佈所有相關的代碼和變量值。 – jeroen
發佈您的數據庫代碼 –