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:
Grace Guo
2017-08-17 21:38:34 -07:00
committed by Maxime Beauchemin
parent afedcdf0d8
commit 0454ef3726

View File

@@ -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: {