Editing a graph on a CloudWatch dashboard
You can edit the graphs that you add to your CloudWatch dashboard. You can change a graph's title, statistic, or period. You can add, update, and remove metrics from your graphs. If your graph contains more than one metric, you can reduce clutter by hiding metrics that you aren't using. The procedures in this section describe how to edit a graph on your dashboard. For information about creating a graph, see Add or remove a graph from a CloudWatch dashboard.
- New interface
-
To edit a graph on a dashboard
-
Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/
. -
In the navigation pane, choose Dashboards, and then choose a dashboard.
-
In the upper-right corner of the graph that you want to edit, choose Widget actions, and then choose Edit.
-
To change the graph's title, choose the pen and paper icon that's next to the current title. Enter the new title, and then choose Apply.
-
(Optional) To change your graph's time range, select one of the predefined time ranges in the upper are of the graph. The time ranges span from 1 hour to 1 week (1h, 3h, 12h, 1d, 3d, or 1w).
To set your own time range, choose Custom.
(Optional) To have this widget keep using this time range that you select, even if the time range for the rest of the dashboard is later changed, choose Persist time range.
-
To change your graph's widget type, use dropdown that's next to the predefined time ranges.
-
In Graphed metrics, you can add a dynamic label to your metric and change your metric's label, label color, statistic, and period. You also can determine the position of labels on the Y-axis from left to right.
-
To add a dynamic label for a metric, choose Dynamic labels. Dynamic labels display a statistic about the metric in the graph legend. Dynamic labels update automatically when your dashboard or graph refreshes. By default, the dynamic values that you add to labels appear at the beginning of the labels. For more information, see Use dynamic labels.
-
To change the color of a metric, choose the color square that's next to the metric.
-
To change the statistic, choose the statistic value under the Statistic column, and then choose a new value. For more information, see Statistics.
-
To change the period, choose the period value under the Period column, and then choose a new value.
-
-
To add or edit horizontal annotations, choose Options:
-
To add a horizontal annotation, choose Add horizontal annotation.
-
For Label, choose the pen and paper icon next to the current annotation. Then enter your new annotation. After you enter your annotation, choose the check mark icon.
-
For Value, choose the pen and paper icon next to the current metric value. Then enter your new metric value. After you enter your value, select the check mark icon.
-
For Fill, choose the dropdown under the column, and then specify how your annotation will use shading. You can choose None, Above, Between, or Below. If you choose Between, another new label and value field appears.
Tip
You can change the fill color by choosing the colored square next to the annotation.
-
For Axis, specify whether your annotation appears on the left or right side of the Y-axis.
-
To hide an annotation, deselect the check box next to the annotation that you want to hide on the graph.
-
To delete an annotation, choose X under the Actions column.
Note
You can repeat these steps to add multiple horizontal annotations to the same graph.
-
-
To add or edit vertical annotations, choose Options:
-
To add a vertical annotation, choose Add vertical annotation.
-
For Label, choose the pen and paper icon next to the current annotation. Then enter your new annotation. After you enter your annotation, choose the check mark icon.
Tip
To show only the date and time, leave the label field blank.
-
For Date, choose the current date and time. Then enter the new date and time.
-
For Fill, choose the dropdown under the column, and then specify how your annotation will use shading. You can choose None, Above, Between, or Below. If you choose Between, a new label and value field appears.
Tip
You can change the fill color by choosing the color square next to the annotation.
Note
You can repeat these steps to add multiple vertical annotations to the same graph.
-
To hide an annotation, deselect the check box next to the annotation that you want to hide on the graph.
-
To delete an annotation, choose X under the Actions column.
-
-
To customize the Y-axis, choose Options. Under Left Y-axis, you can enter a custom label for Label. If the graph displays values on the right Y-axis, you can customize that label, too. You also can set minimums and maximums on the Y-axis values, so that the graph displays only the value range that you specify.
-
When you finish making changes, choose Update widget.
To hide or change the position of a graph legend
-
Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/
. -
In the navigation pane, choose Dashboards, and then choose a dashboard.
-
In the upper-right corner of the graph that you want to edit, choose Widget actions. Choose Legend and select Hidden, Bottom, or Right.
To temporarily hide metrics for a graph on a dashboard
-
Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/
. -
In the navigation pane, choose Dashboards, and then choose a dashboard.
-
Select the color square for the metric that you want to hide in the graph's footer. An X appears in the color square when you hover over it, and the square turns gray when you choose it.
-
To restore the hidden metric, clear the X in the gray square.
-
- Original interface
-
To edit a graph on a dashboard
-
Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/
. -
In the navigation pane, choose Dashboards, and then choose a dashboard.
-
Hover over the upper-right corner of the graph that you want to edit. Choose Widget actions, and then choose Edit.
-
To change the graph's title, choose the pencil icon that's next to the current title, and then enter the new title.
-
To change the graph's time range, choose one of the predefined time ranges in the upper area of the graph. These span from 1 hour to 1 week (1h, 3h, 12h, 1d, 3d, or 1w).
-
To set your own time range, choose custom.
-
-
To change your graph's widget type, select the Graph options tab. You can choose Line, Stacked area, Number, Bar, or Pie.
Tip
You can change your graph's widget type by choosing the dropdown that's next to the predefined time ranges.
-
In Graphed metrics, you can add a dynamic label to your metric and change your metric's label, label color, statistic, and period. You also can determine the position of labels on the Y-axis from left to right.
-
To add a dynamic label for a metric, choose Dynamic labels. Dynamic labels display a statistic about the metric in the graph legend. Dynamic labels update automatically when your dashboard or graph refreshes. By default, the dynamic values that you add to labels appear at the beginning of the labels. For more information, see Use dynamic labels.
-
To change the color of a metric, choose the color square that's next to the metric.
-
To change the statistic, choose the statistic value under the Statistic column, and then choose a new value. For more information, see Statistics.
-
To change the period, choose the period value under the Period column, and then choose a new value.
-
-
To add or edit horizontal annotations, choose Graph options:
-
To add a horizontal annotation, choose Add horizontal annotation.
-
For Label, choose the pencil icon next to the current annotation. Then enter your new annotation. After you enter your annotation, choose the check mark icon.
-
For Value, choose the pencil icon next to the current metric value. Then enter your new metric value. After you enter your value, select the check mark icon.
-
For Fill, choose the dropdown under the column, and then specify how your annotation will use shading. You can choose None, Above, Between, or Below. If you choose Between, a new label and value field appears.
Tip
You can change the fill color by choosing the color square next to the annotation.
-
For Axis, specify whether your annotation appears on the left or right side of the Y-axis.
-
To hide an annotation, deselect the check box next to the annotation that you want to hide on the graph.
-
To delete an annotation, choose X under the Actions column.
Note
You can repeat these steps to add multiple horizontal annotations to the same graph.
-
-
To add or edit vertical annotations, choose Graph options:
-
To add a vertical annotation, choose Add vertical annotation.
-
For Label, choose the pencil icon next to the current annotation. Then enter your new annotation. After you enter your annotation, choose the check mark icon.
Tip
To show only the date and time, leave the label field blank.
-
For Date, choose the pencil icon next to the current date and time. Then enter the new date and time.
-
For Fill, choose the dropdown under the column, and then specify how your annotation will use shading. You can choose None, Above, Between, or Below. If you choose Between, a new label and value field appears.
Tip
You can change the fill color by choosing the color square next to the annotation.
Note
You can repeat these steps to add multiple vertical annotations to the same graph.
-
To hide an annotation, deselect the check box next to the annotation that you want to hide on the graph.
-
To delete an annotation, choose X under the Actions column.
-
-
To customize the Y-axis, choose Graph options. Under Left Y-axis, you can enter a custom label for Label. If the graph displays values on the right Y-axis, you can customize that label, too. You also can set minimums and maximums on the Y-axis values, so that the graph displays only the value range that you specify.
-
When you finish making changes, choose Update widget.
To hide or change the position of a graph legend
-
Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/
. -
In the navigation pane, choose Dashboards, and then choose a dashboard.
-
Hover over the upper-right corner of the graph that you want to edit, and choose Widget actions. Choose Legend, and select Hidden, Bottom, or Right.
To temporarily hide metrics for a graph on a dashboard
-
Open the CloudWatch console at https://console.aws.amazon.com/cloudwatch/
. -
In the navigation pane, choose Dashboards, and then choose a dashboard.
-
Select the color square for the metric that you want to hide in the graph's footer. An X appears in the color square when you hover over it, and the square turns gray when you choose it.
-
To restore the hidden metric, clear the X in the gray square.
-