antvis/G2

5.x 不支持设置legend位置吗 #6593

C16103112 posted onGitHub

问题描述

5.x 不支持设置legend位置吗 chart.legend({ position: 'bottom', });

重现链接

No response

重现步骤

No response

预期行为

No response

平台

  • 操作系统: [macOS, Windows, Linux, React Native ...]
  • 网页浏览器: [Google Chrome, Safari, Firefox]

屏幕截图或视频(可选)

No response

补充说明(可选)

No response


Image

posted by C16103112 3 months ago

chart.legend('color',{ position: 'bottom', });

posted by interstellarmt 3 months ago

需要指定一下legend的通道

posted by interstellarmt 3 months ago

方便提供一下demo吗

posted by interstellarmt 2 months ago

Fund this Issue

$0.00
Funded

Pull requests