TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Junaid Syed
NA
485
130.5k
How can i append Dynamic data to highchart in angularjs
Dec 7 2017 12:36 AM
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
}
},
})
});
});
I am getting the dynamic data from "
/angularsample/Test
" into and the data iam getting into console like shown below
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.
Reply
Answers (
1
)
Error in angular 2 module not found: cant resolve '.app
in browser shows empty out put is not displaying