title: { text: 'Monthly Income' } }, plotOptions: { line: { dataLabels: { enabled: true }, enableMouseTracking: false } }, series: [{ name: 'Income', <?php $report_data = $db->show_expense_month_wise(); echo 'data:['; foreach ($report_data as $data) { echo "[{$data['3']}],"; } echo ']'; ?> }] }); }); </script> </head> <body> <script src="https://code.highcharts.com/highcharts.js"></script>