Line chart visualizations axes don't start at 0
What does this MR do and why?
Add a default visualization option for yAxis.min: 0
for both LineChart
and ColumnChart
components. This means when a user has not specified a value for this in their visualization definition, the component will use the default value 0
when rendering.
Screenshots or screen recordings
before | after |
---|---|
How to set up and validate locally
Install the product analytics devkit and connect to your GDK by following the instructions here: https://gitlab.com/gitlab-org/analytics-section/product-analytics/devkit
- Visit a dashboard: http://gdk.test:3000/gitlab-org/gitlab-shell/-/analytics/dashboards/dashboard_behavior
- Verify the charts all start from 0 on the y axis
- Add a custom dashboard visualization and modify the
options.yAxis.min
value, and check it is respected when viewing the dashboard
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Related to #393952 (closed)
Edited by Elwyn Benson