feat(BoxPlot): add chart data zoom (#35097)

This commit is contained in:
SBIN2010
2025-09-11 21:29:02 +03:00
committed by GitHub
parent b42060c880
commit 454ed1883f
3 changed files with 30 additions and 0 deletions

View File

@@ -31,6 +31,7 @@ describe('BoxPlot transformProps', () => {
whiskerOptions: 'Tukey',
yAxisFormat: 'SMART_NUMBER',
viz_type: 'my_chart',
zoomable: true,
};
const chartProps = new ChartProps({
formData,
@@ -75,6 +76,13 @@ describe('BoxPlot transformProps', () => {
width: 800,
height: 600,
echartOptions: expect.objectContaining({
dataZoom: expect.arrayContaining([
{
moveOnMouseWheel: true,
type: 'inside',
zoomOnMouseWheel: false,
},
]),
series: expect.arrayContaining([
expect.objectContaining({
name: 'boxplot',