Setting width to legend not working!!
Open
bug
topic: legend
- Dominant language
- TypeScript
- Stars
- 67.3k
- Forks
- 19.8k
- Avg merge
- 11d 14h
- Merged PRs (30d)
- 8
Description
This was my config for legend:
```
type: 'scroll',
orient: 'vertical',
right: 10,
top: 10,
bottom: 20,
padding: 10,
width: 300, // Not working
backgroundColor: '#212121' ,
pageIconColor: '#DF3840',
pageIconInactiveColor: '#414141',
pageTextStyle: {
color: '#fff'
},
itemGap: 20,
borderRadius: 5,
icon: 'pin',
inactiveColor: '#888',
zlevel: 100,
textStyle: {
color: '#eee',
},
```
> How to reproduce(Demo):
Add the above code to legend section in https://echarts.apache.org/examples/en/editor.html?c=pie-legend and try changing the width
Contributor guide
Assessment
This issue has not been assessed yet.