antvis/G2

The issue has been closed
g2@4.2.4 can't show legend #4019
chi-gao posted onGitHub
- I have searched the issues of this repository and believe that this is not a duplicate.
Reproduction link
Steps to reproduce
as the code shows, I set the legend visible, but it doesn't show. I had set the line size, line color and line shape attribute. and I had tried followings:
chart.legend(true)
chart.legend({ position: 'bottom'})
- add bottom padding
Environment | Info |
---|---|
g2 | 4.2.4 |
System | - |
Browser | - |
<!-- generated by antv-issue-helper. DO NOT REMOVE -->