antvis/G2
The issue has been closed
[v5] legend positioning #4725
clmz posted onGitHub
how can I set the position of the legend below the chart, e.g. in v4:
chart.legend({
position: 'bottom-left',
})
but this (and many many more properties) don't work anymore and it seems that there's no doc for this?
futher: What leads to a cropped itemLabel?
when my code is like this:
.legend('color', {
itemLabel: 'Total',
layout: 'flex',
width: 1000,
});