Commit 3e594633 authored by Laura Montemayor's avatar Laura Montemayor Committed by Filipa Lacerda

fix charts scroll handle icon

parent ff9060e0
......@@ -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