High Chart Async drilldown

前端 未结 2 1881
一生所求
一生所求 2021-02-06 18:12

I am following http://jsfiddle.net/gh/get/jquery/1.7.2/highslide-software/highcharts.com/tree/master/samples/highcharts/drilldown/async/ Link for making Drilldown chart.

2条回答
  •  别跟我提以往
    2021-02-06 18:43

    Below is the working code with ajax for drilldown levels:

    
    
    
        
        
        
    
        
    Create ajax_response.php with below codes: 'Cars', 'data'=>array(array('Toyota', 1), array('Volkswagen', 2), array('Opel', 5))); }else if($_REQUEST['name'] == "Fruits"){ $response = array('name' => 'Fruits', 'data'=>array(array('Apples', 5), array('Oranges', 7), array('Bananas', 2))); }else if($_REQUEST['name'] == "Animals"){ $response = array('name' => 'Animals', 'data'=>array(array('Cows', 2), array('Sheep', 3))); } echo json_encode($response); ?>

提交回复
热议问题