fix charts scroll handle icon

This commit is contained in:
Laura Montemayor 2019-08-23 10:12:18 +00:00 committed by Filipa Lacerda
parent ff9060e061
commit 3e5946335d
3 changed files with 14 additions and 1 deletions

View File

@ -126,7 +126,7 @@ export default {
},
},
series: this.scatterSeries,
dataZoom: this.dataZoomConfig,
dataZoom: [this.dataZoomConfig],
};
},
dataZoomConfig() {

View File

@ -0,0 +1,5 @@
---
title: fix charts scroll handle icon to use gitlab svg
merge_request: 31825
author:
type: fixed

View File

@ -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;