antvis/G2

玉珏图动画播放角度未跟随旋转角度同步 #4271

289420843 posted onGitHub

test 有什么办法解决吗?


求个代码~

posted by hustcc over 2 years ago

玉珏图demohttps://g2.antv.vision/zh/examples/bar/basic#radial-bar

chart.coordinate('polar', { innerRadius: 0.1 }).transpose(); 改为 chart.coordinate('polar', { innerRadius: 0.1 }).rotate(-0.5).transpose();

posted by 289420843 over 2 years ago

@hustcc 我已经解决了,可以通过修改 startAngle 和endAngle参数来达到相同的效果

posted by 289420843 over 2 years ago

Fund this Issue

$0.00
Funded

Pull requests