mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
feat(BoxPlot): add chart data zoom (#35097)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user