public enum ShowDataValuesMode extends java.lang.Enum<ShowDataValuesMode> implements ValueEnum
formatted text labels
for data-values. There are
two basic mechanisms: chart-types
support showing
data-values in the chart-body, and none will show them all if data-density is such that the labels would
overlap or extend beyond their available area nearest data-point
is displayed
in a label
floating near the shape it
represents. When showing values in hovers, the visual element representing the data value is also emphasized
by brightening or highlighting it (appearance differs by chart type). chart-type
; for example, Stacked charts
cannot show data-values in the chart body;
column charts can, and they can also rotate
values
to fit if necessary; pie charts, can show just the data-values that fit inside their segments in the
chart-body; all types can show data-values in hovers. Enum Constant and Description |
---|
AUTO
show data-values in the chart, when the chartType supports it and when they fit without overlapping (including after
rotation ), and in hovers otherwise |
INCHARTANDHOVER
show data-values that fit in the chart body and also switch on hovers
|
INCHARTONLY
show data-values in the chart body, but only if they all fit - no hovers
|
INCHARTORHOVER
show data-values in the chart body and, if any don't fit, switch to hovers
|
INHOVERONLY
always show data-values in hovers
|
NEVER
never show data-values at all
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static ShowDataValuesMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ShowDataValuesMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShowDataValuesMode NEVER
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "never".
public static final ShowDataValuesMode AUTO
rotation
), and in hovers otherwise
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "auto".
public static final ShowDataValuesMode INCHARTONLY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "inChartOnly".
public static final ShowDataValuesMode INCHARTORHOVER
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "inChartOrHover".
public static final ShowDataValuesMode INCHARTANDHOVER
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "inChartAndHover".
public static final ShowDataValuesMode INHOVERONLY
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "inHoverOnly".
public static ShowDataValuesMode[] values()
for (ShowDataValuesMode c : ShowDataValuesMode.values()) System.out.println(c);
public static ShowDataValuesMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null