Click here to Skip to main content
15,885,914 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am trying to bind JQuery Highchart for pie drill down. I am done with dynamically bind of series : but couldn't bind for drilldown : please help me how to bind json dynamically in dataDrillDown =[].

What I have tried:

HTML
$.ajax({
                    type: "POST",
                    url: "Dashboard.aspx/GetMonthlyImportReport",
                    data: JSON.stringify(data),
                    contentType: "application/json; charset=utf-8",
                    dataType: "json",
                    success: function (data) {
                        Result = data.d;
                        var dataSeries = [];
                        var dataDrilldown = [];
                        for (var i in Result) {
                            var serie = new Array(Result[i].supplierName, Result[i].Approved, Result[i].supplierName);
                            dataSeries.push(serie);
                        }
                        MonthlyTransport(dataSeries);
                    },
                    failure: function (response) {
                        alert(response.d);
                    }
                });
Posted
Updated 17-Sep-17 2:22am
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900