@Stability(value=Experimental) public static final class GraphWidgetProps.Builder extends Object
GraphWidgetProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public GraphWidgetProps.Builder withLeft(@Nullable List<IMetric> value)
value - Metrics to display on left Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder withLeftAnnotations(@Nullable List<HorizontalAnnotation> value)
value - Annotations for the left Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder withLeftYAxis(@Nullable YAxisProps value)
value - Left Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder withRight(@Nullable List<IMetric> value)
value - Metrics to display on right Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder withRightAnnotations(@Nullable List<HorizontalAnnotation> value)
value - Annotations for the right Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder withRightYAxis(@Nullable YAxisProps value)
value - Right Y axis.this@Stability(value=Experimental) public GraphWidgetProps.Builder withStacked(@Nullable Boolean value)
value - Whether the graph should be shown as stacked lines.this@Stability(value=Experimental) public GraphWidgetProps.Builder withHeight(@Nullable Number value)
value - Height of the widget.this@Stability(value=Experimental) public GraphWidgetProps.Builder withRegion(@Nullable String value)
value - The region the metrics of this graph should be taken from.this@Stability(value=Experimental) public GraphWidgetProps.Builder withTitle(@Nullable String value)
value - Title for the graph.this@Stability(value=Experimental) public GraphWidgetProps.Builder withWidth(@Nullable Number value)
value - Width of the widget, in a grid of 24 units wide.this@Stability(value=Experimental) public GraphWidgetProps build()
GraphWidgetPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.