提交 b22f8ae9 编写于 作者: K Kener

update doc for funnel label

上级 0ddde648
......@@ -1565,7 +1565,6 @@ require(['echarts'], function (ec){
<td> 0.4 </td>
<td> The duration in seconds of the animated transition. If you want the tooltip to follow the mouse as it moves across a point or chart, setting showDelay to 0 is the key, but setting transitionDuration to 0 can also make a difference in interactive experiences. </td>
</tr>
<tr>
<td> <b>{boolean}</b> enterable </td>
<td> false </td>
......@@ -4100,14 +4099,16 @@ geoCoord : {
position:'outer'
} </pre></td>
<td> line, column, candlestick, scatter, pie, map, force, markPoint, markLine</td>
<td> In pie, displayed on the outside by default. labelLine.length controls the label's distance from the pie. In map, the location of labels cannot be specified.
<br/> position can be specified in line, column, candlestick, scatter. See below.
<td> In pie, displayed on the outside by default. labelLine.length controls the label's distance from the pie.
<br/>In funnel, displayed on the right by default. labelLine.length controls the label's distance from the funnel.
<br/>In map, the location of labels cannot be specified.
<br/> position can be specified in line, column, candlestick, scatter. See below.
</td>
</tr>
<tr>
<td> <b>{Object}</b> labelLine </td>
<td> {show: true} </td>
<td> pie </td>
<td> pie, funnel </td>
<td> the visual guide of labels in pie. Defaults to show. </td>
</tr>
</table>
......@@ -4128,6 +4129,7 @@ geoCoord : {
<td> 'outer' | null</td>
<td> the position to show label. Cannot be specified in maps.
<br/>In pie, valid values are: 'outer' | 'inner';
<br/>In funnel, valid value are: 'inner' | 'left' | 'right' (default),
<br/>In line, column, candlestick and scatter, the default value is 'top' (for vertical layout) or 'right' (for horizontal layout). Can also be one of: 'inside' | 'left' | 'bottom';
<br/>In column, other possible values are: 'insideLeft' | 'insideRight' | 'insideTop' | 'insideBottom'.
</td>
......@@ -4165,12 +4167,12 @@ geoCoord : {
<tr>
<td> <b>{boolean}</b> show </td>
<td> true </td>
<td> Specifies whether to show pie's labelLine. Valid values are: true (show) | false (hide). </td>
<td> Specifies whether to show labelLine. Valid values are: true (show) | false (hide). </td>
</tr>
<tr>
<td> <b>{number}</b> length </td>
<td> 40 </td>
<td> length of the line. Starts from the outer edge. Can be negative. </td>
<td> length of the line. Starts from the outer edge. Can be negative. In funnel, length can be 'auto'</td>
</tr>
<tr>
<td> <b>{Object}</b> lineStyle </td>
......
......@@ -4098,16 +4098,18 @@ geoCoord : {
show: true,
position:'outer'
} </pre></td>
<td> 折线图,柱形图,K线图,散点图,饼图 ,地图,力导向,markPoint,markLine</td>
<td> 标签,饼图默认显示在外部,离饼图距离由labelLine.length决定,地图标签不可指定位置
<br/> 折线图,柱形图,K线图,散点图可指定position见下
<td> 折线图,柱形图,K线图,散点图,饼图 ,地图,力导向,漏斗图,markPoint,markLine</td>
<td> 标签,饼图默认显示在外部,离饼图距离由labelLine.length决定,
<br/>漏斗图默认显示在右侧,离图形距离由labelLine.length决定
<br/>地图标签不可指定位置,
<br/> 折线图,柱形图,K线图,散点图可指定position见下
</td>
</tr>
<tr>
<td> <b>{Object}</b> labelLine </td>
<td> {show: true} </td>
<td> 饼图 </td>
<td> 饼图标签视觉引导线,默认显示 </td>
<td> 饼图,漏斗图</td>
<td> 标签视觉引导线,默认显示 </td>
</tr>
</table>
<P> 其中标签label属性为对象,其包含:</P>
......@@ -4127,6 +4129,7 @@ geoCoord : {
<td> 'outer' | null</td>
<td> 标签显示位置,地图标签不可指定位置
<br/>饼图可选为:'outer'(外部) | 'inner'(内部),
<br/>漏斗图可选为:'inner'(内部)| 'left' | 'right'(默认),
<br/>折线图,柱形图,K线图,散点图默认根据布局自适应为'top'或者'right',可选的还有:'inside' | 'left' | 'bottom'
<br/>柱形图可选的还有,'insideLeft' | 'insideRight' | 'insideTop' | 'insideBottom'
</td>
......@@ -4154,7 +4157,7 @@ geoCoord : {
<td> 标签的文本样式(详见<a href="#TextStyle" title="">textStyle</a></td>
</tr>
</table>
<P> 其中饼图标签视觉引导线labelLine属性为对象,其包含:</P>
<P> 其中标签视觉引导线labelLine属性为对象,其包含:</P>
<table cellspacing="0" class="ADoc_table full">
<tr>
<th> 名称 </th>
......@@ -4169,7 +4172,7 @@ geoCoord : {
<tr>
<td> <b>{number}</b> length </td>
<td> 40 </td>
<td> 线长 ,从外圆边缘起计算,可为负值</td>
<td> 线长 ,从图形外边缘起计算,可为负值。漏斗图支持'auto'</td>
</tr>
<tr>
<td> <b>{Object}</b> lineStyle </td>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册