Enable timeline on the Trends Chart
Why are we doing this work
The first iteration of the redesign introduced a trends chart in the Security Dashboard. The chart is basic, it brings value to the user but is not complete. We're still missing some functionality. For instance the timeline at the bottom section of the chart is missing. The timeline will allow the user to filter data based on specific dates.
Relevant links
- See design: #222448[a01_project-dashboard.png]
- See the chart implementation for documentation: https://gitlab-org.gitlab.io/gitlab-ui/?path=/story/charts-line-chart--with-zoom-and-scroll. See the EChart options to understand how to enable the scroll on the chart.
Implementation plan
-
frontend In the EChart options section of this page, https://gitlab-org.gitlab.io/gitlab-ui/?path=/story/charts-line-chart--with-zoom-and-scroll, there is an example on how to enable the scroll. Follow the example in order to enable the timeline in ee/app/assets/javascripts/security_dashboard/components/project_security_charts.vue
.