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?