@Generated(value="jsii-pacmak/1.29.0 (build 41df200)", date="2021-06-02T09:55:01.280Z") @Stability(value=Experimental) public interface GraphWidgetProps extends software.amazon.jsii.JsiiSerializable, MetricWidgetProps
| Modifier and Type | Interface and Description |
|---|---|
static class |
GraphWidgetProps.Builder
A builder for
GraphWidgetProps |
static class |
GraphWidgetProps.Jsii$Proxy
An implementation for
GraphWidgetProps |
| Modifier and Type | Method and Description |
|---|---|
static GraphWidgetProps.Builder |
builder() |
default List<IMetric> |
getLeft()
(experimental) Metrics to display on left Y axis.
|
default List<HorizontalAnnotation> |
getLeftAnnotations()
(experimental) Annotations for the left Y axis.
|
default YAxisProps |
getLeftYAxis()
(experimental) Left Y axis.
|
default LegendPosition |
getLegendPosition()
(experimental) Position of the legend.
|
default Boolean |
getLiveData()
(experimental) Whether the graph should show live data.
|
default Duration |
getPeriod()
(experimental) The default period for all metrics in this widget.
|
default List<IMetric> |
getRight()
(experimental) Metrics to display on right Y axis.
|
default List<HorizontalAnnotation> |
getRightAnnotations()
(experimental) Annotations for the right Y axis.
|
default YAxisProps |
getRightYAxis()
(experimental) Right Y axis.
|
default Boolean |
getSetPeriodToTimeRange()
(experimental) Whether to show the value from the entire time range.
|
default Boolean |
getStacked()
(experimental) Whether the graph should be shown as stacked lines.
|
default String |
getStatistic()
(experimental) The default statistic to be displayed for each metric.
|
default GraphWidgetView |
getView()
(experimental) Display this metric.
|
getHeight, getRegion, getTitle, getWidth@Stability(value=Experimental) @Nullable default List<IMetric> getLeft()
Default: - No metrics
@Stability(value=Experimental) @Nullable default List<HorizontalAnnotation> getLeftAnnotations()
Default: - No annotations
@Stability(value=Experimental) @Nullable default YAxisProps getLeftYAxis()
Default: - None
@Stability(value=Experimental) @Nullable default LegendPosition getLegendPosition()
Default: - bottom
@Stability(value=Experimental) @Nullable default Boolean getLiveData()
Default: false
@Stability(value=Experimental) @Nullable default Duration getPeriod()
The period is the length of time represented by one data point on the graph. This default can be overridden within each metric definition.
Default: cdk.Duration.seconds(300)
@Stability(value=Experimental) @Nullable default List<IMetric> getRight()
Default: - No metrics
@Stability(value=Experimental) @Nullable default List<HorizontalAnnotation> getRightAnnotations()
Default: - No annotations
@Stability(value=Experimental) @Nullable default YAxisProps getRightYAxis()
Default: - None
@Stability(value=Experimental) @Nullable default Boolean getSetPeriodToTimeRange()
If false, values will be from the most recent period of your chosen time range; if true, shows the value from the entire time range.
Default: false
@Stability(value=Experimental) @Nullable default Boolean getStacked()
Default: false
@Stability(value=Experimental) @Nullable default String getStatistic()
This default can be overridden within the definition of each individual metric
Default: - The statistic for each metric is used
@Stability(value=Experimental) @Nullable default GraphWidgetView getView()
Default: TimeSeries
@Stability(value=Experimental) static GraphWidgetProps.Builder builder()
builder in interface MetricWidgetPropsGraphWidgetProps.Builder of GraphWidgetPropsCopyright © 2021. All rights reserved.