Skip to content

Productivity Analytics: Add yAxis formatter to column charts

What does this MR do?

This MR adds a default formatter for the yAxis for column charts on the Productivity Analytics page. By this, the value is display on the axis without any additional formatting. In detail, It fixes an issue where 500m is displayed as y axis label instead of 0.5 which seems to be caused by echarts transforming certain axis label values.

Closes #32054 (closed)

This is behind the productivity_analytics feature flag.

Screenshots

Before After
time_based_column_chart_before time_based_column_chart_after

Does this MR meet the acceptance criteria?

Conformity

Performance and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Dennis Tang

Merge request reports