| Modifier and Type | Method and Description |
|---|---|
static GraphWidget.Builder |
GraphWidget.Builder.create() |
GraphWidget.Builder |
GraphWidget.Builder.height(Number height)
Height of the widget.
|
GraphWidget.Builder |
GraphWidget.Builder.left(List<? extends IMetric> left)
Metrics to display on left Y axis.
|
GraphWidget.Builder |
GraphWidget.Builder.leftAnnotations(List<? extends HorizontalAnnotation> leftAnnotations)
Annotations for the left Y axis.
|
GraphWidget.Builder |
GraphWidget.Builder.leftYAxis(YAxisProps leftYAxis)
Left Y axis.
|
GraphWidget.Builder |
GraphWidget.Builder.legendPosition(LegendPosition legendPosition)
Position of the legend.
|
GraphWidget.Builder |
GraphWidget.Builder.liveData(Boolean liveData)
Whether the graph should show live data.
|
GraphWidget.Builder |
GraphWidget.Builder.period(Duration period)
The default period for all metrics in this widget.
|
GraphWidget.Builder |
GraphWidget.Builder.region(String region)
The region the metrics of this graph should be taken from.
|
GraphWidget.Builder |
GraphWidget.Builder.right(List<? extends IMetric> right)
Metrics to display on right Y axis.
|
GraphWidget.Builder |
GraphWidget.Builder.rightAnnotations(List<? extends HorizontalAnnotation> rightAnnotations)
Annotations for the right Y axis.
|
GraphWidget.Builder |
GraphWidget.Builder.rightYAxis(YAxisProps rightYAxis)
Right Y axis.
|
GraphWidget.Builder |
GraphWidget.Builder.setPeriodToTimeRange(Boolean setPeriodToTimeRange)
Whether to show the value from the entire time range.
|
GraphWidget.Builder |
GraphWidget.Builder.stacked(Boolean stacked)
Whether the graph should be shown as stacked lines.
|
GraphWidget.Builder |
GraphWidget.Builder.statistic(String statistic)
The default statistic to be displayed for each metric.
|
GraphWidget.Builder |
GraphWidget.Builder.title(String title)
Title for the graph.
|
GraphWidget.Builder |
GraphWidget.Builder.view(GraphWidgetView view)
Display this metric.
|
GraphWidget.Builder |
GraphWidget.Builder.width(Number width)
Width of the widget, in a grid of 24 units wide.
|
Copyright © 2023. All rights reserved.