How to achieve the same width of echarts legend

as shown in the figure, it needs to be aligned up and down. I want to set each legend as wide, but this configuration cannot be found in the document.

clipboard.png

May.16,2021

latest update:

find a solution to specify the width in rich text:

legend: {
                   orient: 'horizontal',
                   itemWidth: 14,
                   itemHeight: 14,
                   left: 13,
                   bottom: 35,
                   icon: 'circle',
                   formatter:'{a|{name}}',
                   textStyle: {
                        rich:{
                            a: {
                                color: '-sharpddd',
                                fontSize: 15,
                                width: 95,
                                height: 21,
                                padding: [0,0,0,1]
                            },
                        }
                   },
                }



------------------------------------------------------------------------

previous answer:
found a method, but a little unintelligent, temporarily solved the problem.

legend can be set separately: just change the positioning value.

legend: [
            {  
                orient: 'horizontal',  
                left: 13,
                bottom: 68,  
                data: ['20M'] 
            },
            {  
                orient: 'horizontal',  
                left: 141,
                bottom: 68,  
                data: ['20M-49M'] 
            },
            ...
        ]

found this in the official document. It should solve the problem, but I don't know why it doesn't work. Friends who have time can study it: http://echarts.baidu.com/opti.

.

clipboard.png

Menu