AlbertoMontalesi commented on issue #20779:
URL: https://github.com/apache/echarts/issues/20779#issuecomment-3198992526

   A solution for who needs it is to alter the "data" property of the legend.  
That will not alter the order of the data in the chart, just the legend
   
   ```
   legend: {
                                orient: 'horizontal',
                                type: 'scroll',
                                top: 'bottom',
                                data: this.widget.data.data
                                        .slice()
                                        .reverse()
                                        .map((d) => d.label),
                        },```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to