mirror of
https://github.com/apache/superset.git
synced 2026-04-25 11:04:48 +00:00
[bugfix] allow limiting word cloud (#3902)
This commit is contained in:
committed by
Grace Guo
parent
1d702f2142
commit
32b38ee2d6
@@ -729,6 +729,7 @@ export const controls = {
|
||||
type: 'SelectControl',
|
||||
freeForm: true,
|
||||
label: t('Row limit'),
|
||||
validators: [v.integer],
|
||||
default: null,
|
||||
choices: formatSelectOptions(ROW_LIMIT_OPTIONS),
|
||||
},
|
||||
@@ -737,6 +738,7 @@ export const controls = {
|
||||
type: 'SelectControl',
|
||||
freeForm: true,
|
||||
label: t('Series limit'),
|
||||
validators: [v.integer],
|
||||
choices: formatSelectOptions(SERIES_LIMITS),
|
||||
default: 50,
|
||||
description: t('Limits the number of time series that get displayed'),
|
||||
|
||||
@@ -610,7 +610,8 @@ export const visTypes = {
|
||||
label: t('Query'),
|
||||
expanded: true,
|
||||
controlSetRows: [
|
||||
['series', 'metric', 'limit'],
|
||||
['series', 'metric'],
|
||||
['row_limit', null],
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user