fix charts scroll handle icon
This commit is contained in:
parent
ff9060e061
commit
3e5946335d
|
@ -126,7 +126,7 @@ export default {
|
|||
},
|
||||
},
|
||||
series: this.scatterSeries,
|
||||
dataZoom: this.dataZoomConfig,
|
||||
dataZoom: [this.dataZoomConfig],
|
||||
};
|
||||
},
|
||||
dataZoomConfig() {
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue