Commit 0bd9166d authored by Filipa Lacerda's avatar Filipa Lacerda

Merge branch '64385-charts-scroll-handle-icon-has-disappeared' into 'master'

fix charts scroll handle icon

See merge request gitlab-org/gitlab-ce!31825
parents ff9060e0 3e594633
......@@ -126,7 +126,7 @@ export default {
},
},
series: this.scatterSeries,
dataZoom: this.dataZoomConfig,
dataZoom: [this.dataZoomConfig],
};
},
dataZoomConfig() {
......
---
title: fix charts scroll handle icon to use gitlab svg
merge_request: 31825
author:
type: fixed
......@@ -225,6 +225,14 @@ describe('Area component', () => {
});
describe('chartOptions', () => {
describe('dataZoom', () => {
it('contains an svg object within an array to properly render icon', () => {
const dataZoomObject = [{}];
expect(areaChart.vm.chartOptions.dataZoom).toEqual(dataZoomObject);
});
});
describe('yAxis formatter', () => {
let format;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment