CI/CD Analytics Lead time chart doesnt render small values
Summary
- We render the lead time chart with an expected granularity of
days
- When all the values in the lead time chart are small, the Y-Axis doesn't have the right level of granularity to display the values
Steps to reproduce
- Apply the patch to test locally
- Navigate to group/project CI/CD analytics
Example Project
What is the current bug behavior?
- The values are too small, as a result the Y-Axis appears to show only
0
for the value - Adding more decimal precision shows the difference in values
What is the expected correct behavior?
The Y-Axis should display values that are useful to understand the currently plotted points
Relevant logs and/or screenshots
Mix of values | Small values with 1 decimal | Small values more decimals |
---|---|---|
Possible fixes
areaChartOptions will just need to be dynamically determined based on the chart data
Edited by Brandon Labuschagne