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
Subash Kumar
NA
127
8.4k
how to convert array to array list in typescript
Feb 20 2020 4:34 AM
hi all,
i need to convert array into array list
while i'm trying im getting laset array only
var week_name=[];
var week_val=[];
weeek.forEach(function (item) {
week_name=week_name.concat(item[
'WeekName'
].split(
','
));
week_val =week_val.concat(item[
'value'
]);
week_val11=week_val;
});
fdata = {
labels: dbfileld,
datasets: [{
label:
"week_name"
,
backgroundColor:
'rgba(16, 172, 132)'
,
data: week_val11
}]
};
});
console.log(fdata);
Reply
Answers (
2
)
parent checkbox in angular 5
How to add captcha and using AngularJS with Html form