Package com.grapecity.documents.excel
Interface ISparkline
public interface ISparkline
代表一个单一的迷你图。
-
Method Summary
Modifier and TypeMethodDescriptionvoid生成来自JSON字符串的迷你图获取或设置单个迷你图的位置。获取包含单个迷你图源数据的范围。voidsetLocation(IRange value) 设置单个迷你图的位置。voidsetSourceData(String value) 设置包含单个迷你图源数据的范围。toJson()生成 sparkline 的 JSON 字符串
-
Method Details
-
getLocation
IRange getLocation()获取或设置单个迷你图的位置。- Returns:
- 单个迷你图的位置。
-
setLocation
设置单个迷你图的位置。 -
getSourceData
String getSourceData()获取包含单个迷你图源数据的范围。 -
setSourceData
设置包含单个迷你图源数据的范围。 -
fromJson
生成来自JSON字符串的迷你图- Parameters:
json- 表示迷你图的JSON字符串。
-
toJson
String toJson()生成 sparkline 的 JSON 字符串- Returns:
- 表示迷你图的JSON字符串。
-