data| 限定符和类型 | 方法和说明 |
|---|---|
Label |
axisLabel()
坐标轴文本标签
|
Gauge |
axisLabel(Label axisLabel)
设置axisLabel值
|
AxisLine |
axisLine()
坐标轴线,默认显示
|
Gauge |
axisLine(AxisLine axisLine)
设置axisLine值
|
AxisTick |
axisTick()
坐标轴小标记,默认显示
|
Gauge |
axisTick(AxisTick axisTick)
设置axisTick值
|
Object[] |
center()
获取center值
|
Gauge |
center(Object[] center)
设置center值
|
Gauge |
center(Object width,
Object height)
圆心坐标,支持绝对值(px)和百分比,百分比计算min(width, height) * 50%
|
Detail |
detail()
仪表盘详情
|
Gauge |
detail(Detail detail)
设置detail值
|
Integer |
endAngle()
获取endAngle值
|
Gauge |
endAngle(Integer endAngle)
设置endAngle值
|
Integer |
max()
获取max值
|
Gauge |
max(Integer max)
设置max值
|
Integer |
min()
获取min值
|
Gauge |
min(Integer min)
设置min值
|
Pointer |
pointer()
指针样式
|
Gauge |
pointer(Pointer pointer)
设置pointer值
|
Object |
radius()
获取radius值
|
Gauge |
radius(Object radius)
半径,支持绝对值(px)和百分比,百分比计算比,min(width, height) / 2 * 75%,
传数组实现环形图,[内半径,外半径]
|
Gauge |
radius(Object width,
Object height)
半径,支持绝对值(px)和百分比,百分比计算比,min(width, height) / 2 * 75%,
传数组实现环形图,[内半径,外半径]
|
SplitLine |
splitLine()
主分隔线,默认显示
|
Gauge |
splitLine(SplitLine splitLine)
设置splitLine值
|
Integer |
splitNumber()
获取splitNumber值
|
Gauge |
splitNumber(Integer splitNumber)
设置splitNumber值
|
Integer |
startAngle()
获取startAngle值
|
Gauge |
startAngle(Integer startAngle)
设置startAngle值
|
Title |
title()
仪表盘标题
|
Gauge |
title(Title title)
设置title值
|
bottom, bottom, bottom, calcuable, calculable, coordinateSystem, coordinateSystem, coordinateSystem, geoIndex, geoIndex, height, height, height, itemStyle, itemStyle, label, label, left, left, left, left, legendHoverLink, legendHoverLink, markLine, markLine, markPoint, markPoint, name, name, right, right, right, showAllSymbol, showAllSymbol, stack, stack, symbol, symbol, symbol, symbolOffset, symbolOffset, symbolOffset, symbolRoate, symbolRoate, symbolSize, symbolSize, tooltip, tooltip, top, top, top, top, type, type, width, width, width, xAxisIndex, xAxisIndex, yAxisIndex, yAxisIndex, z, z, zlevel, zlevelanimation, animation, animationDuration, animationDuration, animationDurationUpdate, animationDurationUpdate, animationEasing, animationEasing, animationEasing, animationEasingUpdate, animationEasingUpdate, animationEasingUpdate, clickable, clickable, data, data, hoverable, hoverablepublic Gauge()
public Gauge(String name)
name - public Object[] center()
public Object radius()
public Gauge center(Object width, Object height)
public Gauge radius(Object radius)
radius - public Gauge radius(Object width, Object height)
width - height - public Integer startAngle()
public Integer endAngle()
public Integer min()
public Integer max()
public Integer splitNumber()
Copyright © 2018. All rights reserved.