| 限定符和类型 | 方法和说明 |
|---|---|
Align |
align() |
Legend |
align(Align align) |
List |
data()
获取data值
|
Legend |
data(List data)
设置data值
|
Legend |
data(Object... values)
添加图例属性
|
String |
formatter() |
Legend |
formatter(String formatter) |
Integer |
itemHeight()
获取itemHeight值
|
Legend |
itemHeight(Integer itemHeight)
设置itemHeight值
|
Integer |
itemWidth()
获取itemWidth值
|
Legend |
itemWidth(Integer itemWidth)
设置itemWidth值
|
Orient |
orient()
获取orient值
|
Legend |
orient(Orient orient)
设置orient值
|
Boolean |
selected(String name)
获取selected值
|
Legend |
selected(String name,
Boolean selected)
设置默认选中状态
|
Object |
selectedMode()
获取selectedMode值
|
Legend |
selectedMode(Object selectedMode)
设置selectedMode值
|
TextStyle |
textStyle()
文字样式
|
Legend |
textStyle(TextStyle textStyle)
设置textStyle值
|
LegendType |
type() |
Legend |
type(LegendType type) |
backgroundColor, backgroundColor, borderColor, borderColor, borderWidth, borderWidth, bottom, bottom, bottom, height, height, height, itemGap, itemGap, left, left, left, left, padding, padding, padding, right, right, right, shadowBlur, shadowBlur, shadowColor, shadowColor, shadowOffsetX, shadowOffsetX, shadowOffsetY, shadowOffsetY, show, show, top, top, top, top, width, width, width, x, x, x, y, y, y, z, z, zlevel, zlevelpublic Legend()
public Legend(Object... values)
values - public LegendType type()
public Legend type(LegendType type)
public Align align()
public String formatter()
public Orient orient()
public Integer itemWidth()
public Integer itemHeight()
public Object selectedMode()
public List data()
Copyright © 2018. All rights reserved.