hi iam trying to append data to highchart my code is something like this
- app.controller("aboutcontroller", function ($scope, $http,$window) {
- $http.get("/angularsample/Test").then(function (response) {
- var abc= 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: DynamicData
- }],
- plotOptions: {
- series: {
- pointWidth: 50
- }
- },
- })
- });
- });
But the in output the data is not appending to chart. My output is something like below

If we see in above output image iam getting 5 months i.e from jan to may as per the data i have 5 in array. But its not getting append in to the chart. Please help me out.Thank you.

Bharath PeggemPosted Dec 23, 2017, 7:29 AM