We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Regression of #2411
When the metric chart is visualized with an empty trend, the chart component fails to render, and the following error message appears in the console:
metric
trend
How to reproduce:
Metric
[]
Possible solution:
sparkline.tsx
- if (!trend) { + if (!trend?.length) {
Screen:
Trend was set to []
The text was updated successfully, but these errors were encountered:
fix (Metric): chart not rendered when the trend is empty
4a64b6a
Closes: elastic#2445
Successfully merging a pull request may close this issue.
Regression of #2411
When the
metric
chart is visualized with an emptytrend
, the chart component fails to render, and the following error message appears in the console:How to reproduce:
Metric
chart[]
as value for trend attribute.Possible solution:
sparkline.tsx
file.Screen:
The text was updated successfully, but these errors were encountered: