Incubator-echarts: 关于 Echarts 3.1.10 Pie Label 显示位置的 需求

Created on 13 Jun 2016  ·  2Comments  ·  Source: apache/incubator-echarts

问题简述 (One-line summary)

饼图 label 在设置 为 inside 的时候,
能否根据 字体的长度和 扇区的大小 判断 label是否能完全显示在扇区内,
可以 则显示,
不可以则 该扇区自动转换为 outside

版本及环境 (Version & Environment)

  • ECharts 版本 (ECharts version):
  • 浏览器类型和版本 (Browser version):
  • 操作系统类型和版本 (OS Version):

    重现步骤 (Steps to reproduce)

1.
2.

期望结果 (Expected behaviour)

可能哪里有问题 (What went wrong)

ECharts配置项 (ECharts option)

option = {

}


其他信息 (Other comments)

如下图:

image

Most helpful comment

业务的需要, 我写了一个插件 ,支持了这种情况.

image

All 2 comments

暂时不行

业务的需要, 我写了一个插件 ,支持了这种情况.

image

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kirazxyun picture kirazxyun  ·  3Comments

antorman picture antorman  ·  3Comments

jarben picture jarben  ·  3Comments

jarben picture jarben  ·  3Comments

Zendic picture Zendic  ·  3Comments