5.x如何在展示图例的时候设置类似4.x中offset配置项的效果? #5637
Unanswered
voiddiddvue
asked this question in
Q&A
Replies: 1 comment 5 replies
-
使用 transform 属性。 chart.interval().legend('color', { transform:`translate(100, 0)` }) |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
5.x版本去掉了legend.offsetX和offsetY功能,这样对定义图例位置很不友好,有方法实现吗
Beta Was this translation helpful? Give feedback.
All reactions