Highchart and json with codeigniter |
(06-21-2016, 10:59 AM)Dheeren Wrote: See the following discussion thread. Hopefully it helps. I have solved it using the code: $ctg=$category['month']; $this->view_data['month'] = json_encode($ctg, JSON_NUMERIC_CHECK); Then in chart_high view, I used xAxis: { categories: <?php echo $month ; ?> }, Now the months are displayed in x-axis as January, February, March..etc. I have searched in many forums including stackoverflow but didnt find any solution. I am posting as it may help someone in future. |
Messages In This Thread |
Highchart and json with codeigniter - by june123 - 06-21-2016, 02:40 AM
RE: Highchart and json with codeigniter - by Dheeren - 06-21-2016, 10:59 AM
RE: Highchart and json with codeigniter - by june123 - 06-21-2016, 10:20 PM
|