You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(cloudwatch): add option to show labels on pie chart (aws#34745)
### Issue # (if applicable)
Closesaws#28929
### Reason for this change
Cloudwatch Dashboard console has this option but cdk `GraphWidget` does not
### Description of changes
- adds a new optional boolean parameter to `GraphWidgetProps` called `displayLabelsOnChart`
- naming obtained from description of the option in the AWS Console
- updates aws-cloudwatch README.md with sample usage
### Describe any new or updated permissions being added
N/A
### Description of how you validated changes
Created new unit and integration test and ran them
### Checklist
- [x] My code adheres to the [CONTRIBUTING GUIDE](https://github.com/aws/aws-cdk/blob/main/CONTRIBUTING.md) and [DESIGN GUIDELINES](https://github.com/aws/aws-cdk/blob/main/docs/DESIGN_GUIDELINES.md)
----
*By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-cloudwatch/test/integ.dashboard-with-graphwidget-with-labels-visible.js.snapshot/DashboardWithGraphWidgetWithLabelsVisibleIntegrationTest.assets.json
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-cloudwatch/test/integ.dashboard-with-graphwidget-with-labels-visible.js.snapshot/cdk.out
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-cloudwatch/test/integ.dashboard-with-graphwidget-with-labels-visible.js.snapshot/cdkintegdashboardwithgraphwidgetwithannotationsDefaultTestDeployAssertCC28F170.assets.json
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-cloudwatch/test/integ.dashboard-with-graphwidget-with-labels-visible.js.snapshot/cdkintegdashboardwithgraphwidgetwithannotationsDefaultTestDeployAssertCC28F170.template.json
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-cloudwatch/test/integ.dashboard-with-graphwidget-with-labels-visible.js.snapshot/integ.json
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-cloudwatch/test/integ.dashboard-with-graphwidget-with-labels-visible.js.snapshot/manifest.json
Copy file name to clipboardExpand all lines: packages/@aws-cdk-testing/framework-integ/test/aws-cloudwatch/test/integ.dashboard-with-graphwidget-with-labels-visible.js.snapshot/tree.json
0 commit comments