codeigniter-highcharts-library icon indicating copy to clipboard operation
codeigniter-highcharts-library copied to clipboard

function active_record

Open heruprambadi opened this issue 9 years ago • 0 comments

the way function active_record display chart with template (second chart) have a bug. I try to change the code like this :

function _data()
    {
        $data['users']['data'] = array(536564837, 0, 153309074, 99143700, 82548200);
        $data['users']['name'] = 'Users by Language';
        $data['popul']['data'] = array(1277528133, 0, 420469703, 126804433, 250372925);
        $data['popul']['name'] = 'World Population';
        $data['axis']['categories'] = array('English', 'Chinese', 'Spanish', 'Japanese', 'Portuguese');
        return $data;
    }

i change the second value into '0', and this is what i get : capture

'0' value didnt show, and displaying categories suppose to be 5, not 4.

heruprambadi avatar Aug 15 '15 16:08 heruprambadi