public interface MetricSettingsBuilder<T extends MetricSettingsBuilder> extends ChartSettingsBuilder<T>
DisplayerSettingsFactory.newMetricSettings() .dataset("sales") .column("amount", "sum", "Total amount") .title("Total Sales") .titleVisible(true) .titlePosition("bottom") .width(250).height(200) .metric(0, 0, 0, 100000) .buildSettings());
Modifier and Type | Method and Description |
---|---|
T |
metric(long start,
long warning,
long critical,
long end)
Set specific the configuration parameters for this metric chart.
|
height, legendOff, legendOn, legendOn, margins, resizableOff, resizableOn, width
backgroundColor, buildSettings, dataset, expression, expression, filterOff, filterOn, format, format, format, htmlTemplate, jsTemplate, refreshOff, refreshOn, refreshOn, renderer, subtype, title, titleVisible, uuid
T metric(long start, long warning, long critical, long end)
All the reference values specified start, warning, critical, and end can be used to customize how the metric is displayed according its current value.
Copyright © 2012–2019 JBoss by Red Hat. All rights reserved.