Hi,
I am using pie chart with label array as shown in below example. Output showing legends in reverse order as shown in image. Can I rearrange it to show 1 and then 2 and 3 …?
var data = [{
values: [19, 26, 55],
labels: [‘1. label’, ‘2. label’, ‘3. label’],
type: ‘pie’
}];
Plotly.newPlot(‘myDiv’, data);