Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
3
Reply
How to append the array to a legend in Jqplot?
Dinesh Santhalingam
Jan 10 2017 12:00 AM
286
Reply
I have an Array .I want to append it to the Legend labels in Jqplot chart.
var
temps
= [];
temps[0] = "Ax";
temps[1] = "Bx";
temps[2] = "Cx";
temps[3] = "Dx";
opts{
legend: {
renderer: $.jqplot.EnhancedLegendRenderer,
show: true,
showLabels: true,
labels: ['Ax', 'Bx', 'Cx','Dx']//this will exactly work
labels: [temps] //Append array .It Won't working.
},
};
Suggest me some ideas to do it?
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
3
)
Next Recommended Forum
Error: permission denied to access property "apply"
The id is not defined jquery error MVC 5