Class Thresholds
java.lang.Object
org.apache.juneau.console.freemarker.Thresholds
- All Implemented Interfaces:
Decorator
The built-in
thresholds decorator: a horizontal mark line at a y value, on a carrier series
juneau-thresholds-<n>.
Example:
Thresholds.
- Since:
- 10.0.0
-
Method Summary
-
Method Details
-
at
- Parameters:
y- The y value. @return A new decorator.
-
label
- Parameters:
v- The line label. @return This object.
-
tone
- Parameters:
v-danger,okorwarning. @return This object.
-
toJson
- Specified by:
toJsonin interfaceDecorator- Returns:
- A new map
{"use": name, ...args}; a stringtopickey is published on click, andChartDef.decorate(Decorator)adds it to the card'spublishes.
-