public enum ThemeGraphTextFormat extends java.lang.Enum<ThemeGraphTextFormat>
统计专题图文本显示样式。
在统计专题图中,可以设置各子项文本的显示形式,包括百分数PERCENT、真实数值VALUE、标题CAPTION、标题+百分数CAPTION_PERCENT、标题+真实数值CAPTION_VALUE五种形式。以下图示均以三维柱状图为例。
枚举常量和说明 |
---|
CAPTION
标题,以各子项的标题来进行标注。
|
CAPTION_PERCENT
标题+百分数。
|
CAPTION_VALUE
标题+实际数值。
|
PERCENT
百分数。
|
VALUE
实际数值。
|
限定符和类型 | 方法和说明 |
---|---|
static ThemeGraphTextFormat |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static ThemeGraphTextFormat[] |
values()
按照声明该枚举类型的常量的顺序, 返回 包含这些常量的数组。
|
public static final ThemeGraphTextFormat CAPTION
标题,以各子项的标题来进行标注。
public static final ThemeGraphTextFormat CAPTION_PERCENT
标题+百分数。以各子项的标题和所占的百分比来进行标注。
public static final ThemeGraphTextFormat CAPTION_VALUE
标题+实际数值。以各子项的标题和真实数值来进行标注。
public static final ThemeGraphTextFormat PERCENT
百分数。以各子项所占的百分比来进行标注。
public static final ThemeGraphTextFormat VALUE
实际数值。以各子项的真实数值来进行标注。
public static ThemeGraphTextFormat[] values()
for (ThemeGraphTextFormat c : ThemeGraphTextFormat.values()) System.out.println(c);
public static ThemeGraphTextFormat valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。