-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cloudwatch): add support for yAxis to graph #2406
feat(cloudwatch): add support for yAxis to graph #2406
Conversation
Support setting for the y-axis on a graph: min, max, label, and showUnits. Fixes aws#2385
/** | ||
* Whether to show units | ||
* | ||
* @default None (means true) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
so just say "true"
*/ | ||
readonly leftAxisRange?: YAxisRange; | ||
readonly leftYAxis?: YAxis; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems like a breaking change. Please update the PR description to describe it per the instructions in the contribution guide
/** | ||
* An Y-Axis on a CloudWatch dashboard widget | ||
*/ | ||
export class YAxis { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this class can be an interface and merge with YAxisProps
Support setting for the y-axis on a graph: min, max, label, and showUnits. Fixes aws#2385
Support setting for the y-axis on a graph: min, max, label, and showUnits.
Fixes #2385
Pull Request Checklist
design
folderBy submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license.