helgasoft commented on issue #21400:
URL: https://github.com/apache/echarts/issues/21400#issuecomment-3608770609
Testing shows that legend width and height depend on the orientation:
for ```orient: "vertical"``` - height works, width is ignored
for ```orient: "horizontal"``` - width works, height is ignored
The bug/feature you discovered allows for setting **height** to horizontal
scroll, but the counter (2/3) is disordered because it does not expect vertical
columns of items.
[Demo](https://echarts.apache.org/examples/en/editor.html?code=pZGxboMwEED3fsWJxUMZQkjSylWHqlLVpVMrZYgyGDiBJceOjFFDo_x7zwdUaaRM8XDnM9x74HP7oJ2FZzjeARxeDrqVvAUI_R4liFIFrJ3vRcqnlQpKwkZ8OCtSEF8dxrTGiqumi-nN65g-VeDUWbGl3lME9KNhqFr0GqncMPoIVu2iUvEahX_KbDlLYZ7HMF9QyB5TyPIlhcUDlavZdmoYv9xoi4KPWHYmKHjdLCiUn_gU_itKXpeKaGAB8SM-0q_AW7r4gJOAIr9gsEZbTSNqUNdNkLAipA64ex9qIvPjb12FRgL_19lIk7b0zpgkBUfXb6k_aWj342xQBu5HajIwCucr9K_OOC-F5zEPR2uG58NgT0-_&enc=deflate).
--
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]