Skip to content
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

SingleNumberMetricWidget is missing graph option properties #537

Open
kennyjwilli opened this issue May 17, 2020 · 0 comments
Open

SingleNumberMetricWidget is missing graph option properties #537

kennyjwilli opened this issue May 17, 2020 · 0 comments
Labels
kind/enhancement Improvements or new features

Comments

@kennyjwilli
Copy link

When creating a awsx.cloudwatch.SingleNumberMetricWidget, one should be able to specify the "Graph options", as seen in the CloudWatch console.
Screenshot from 2020-05-17 14-58-08

This is especially necessary for SingleNumberMetricWidget since you will often want to show a statistic over the whole selected time period, not just the most recent period.

Selecting "Time range value" in the above screenshot attaches "setPeriodToTimeRange": true to the JSON source for the widget. SingleNumberMetricWidget should add support for this property.

Relevant SO

@leezen leezen added the kind/enhancement Improvements or new features label May 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

2 participants