0
Hi Junaid,
Try this below code, may be its helpfull.
- app.controller("aboutcontroller", function ($scope, $http,$window) {
- $http.get("/angularsample/Test").then(function (response) {
-
- $scope.bindArray=[];
- $scope.bindArray.pust(response.data);
- Highcharts.chart("container", {
- chart: {
- type: 'column'
- },
- xAxis: {
- categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']
- },
- yAxis:{
- title:{text:'value'}
- },
- series: [{
- data: $scope.bindArray
- }],
- plotOptions: {
- series: {
- pointWidth: 50
- }
- },
- })
- });
- });
Thanks,
Bharath peggem