antvis/G2

饼图中心文本支持 html #6293

juanhuang99 posted onGitHub

问题描述

image

中心文本目前只能传字符串,希望能支持html,实现上面的效果

image


.label({
  render: () => '<div>aaa</div>',
});
posted by hustcc 8 months ago

鼠标悬浮在图上时,中心文本内容动态改变,如何实现

posted by airandou 5 months ago

Fund this Issue

$0.00
Funded

Pull requests