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.
- },
- };

Bryian TanRank #396 · 6.3K reputationPosted Jan 10, 2017, 6:39 AM EST
Bryian TanRank #396 · 6.3K reputationPosted Jan 10, 2017, 6:05 AM EST
Dinesh SanthalingamRank #2,085 · 690 reputationPosted Jan 10, 2017, 6:11 PM EST