mirror of
https://github.com/apache/superset.git
synced 2026-05-12 19:35:17 +00:00
add annotation option and a linear color map for heatmap viz. (#3634)
* add annotation option and a linear color map for heatmap viz. * error fixes. * fixes for requested changes
This commit is contained in:
committed by
Maxime Beauchemin
parent
ca67a7a4e9
commit
5ad4167512
@@ -202,6 +202,7 @@ export const controls = {
|
||||
['blue_white_yellow', 'blue/white/yellow'],
|
||||
['white_black', 'white/black'],
|
||||
['black_white', 'black/white'],
|
||||
['dark_blue', 'light/dark blue'],
|
||||
],
|
||||
default: 'blue_white_yellow',
|
||||
clearable: false,
|
||||
@@ -1086,6 +1087,14 @@ export const controls = {
|
||||
description: t('Whether to display the legend (toggles)'),
|
||||
},
|
||||
|
||||
show_values: {
|
||||
type: 'CheckboxControl',
|
||||
label: t('Show Values'),
|
||||
renderTrigger: true,
|
||||
default: false,
|
||||
description: t('Whether to display the numerical values within the cells'),
|
||||
},
|
||||
|
||||
x_axis_showminmax: {
|
||||
type: 'CheckboxControl',
|
||||
label: t('X bounds'),
|
||||
|
||||
Reference in New Issue
Block a user