mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
disable immediately re-render for color scheme change (#3328)
for chart type: bubble, area, treemap and country map, color scheme change cannot take effect immediately. So have to disable immediately re-render function and hide lightening icon for these chart type.
This commit is contained in:
committed by
Maxime Beauchemin
parent
afedcdf0d8
commit
0454ef3726
@@ -292,6 +292,9 @@ export const visTypes = {
|
||||
default: 'smart_date',
|
||||
choices: D3_TIME_FORMAT_OPTIONS,
|
||||
},
|
||||
color_scheme: {
|
||||
renderTrigger: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -421,6 +424,11 @@ export const visTypes = {
|
||||
],
|
||||
},
|
||||
],
|
||||
controlOverrides: {
|
||||
color_scheme: {
|
||||
renderTrigger: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
cal_heatmap: {
|
||||
@@ -500,6 +508,9 @@ export const visTypes = {
|
||||
x_axis_format: {
|
||||
default: '.3s',
|
||||
},
|
||||
color_scheme: {
|
||||
renderTrigger: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -720,6 +731,9 @@ export const visTypes = {
|
||||
label: 'Metric',
|
||||
description: 'Metric to display bottom title',
|
||||
},
|
||||
linear_color_scheme: {
|
||||
renderTrigger: false,
|
||||
},
|
||||
},
|
||||
},
|
||||
world_map: {
|
||||
|
||||
Reference in New Issue
Block a user