Skip to content

Commit

Permalink
chore: Cleaning up control overrides (apache#675)
Browse files Browse the repository at this point in the history
* fix: errant heatmap override

* fix: nixing lineMulti vestigial override

* nixing unused import!
  • Loading branch information
rusackas authored and zhaoyongjie committed Nov 17, 2021
1 parent afb9902 commit ff4000e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,9 @@ export default {
type: 'CheckboxControl',
label: t('Normalized'),
renderTrigger: true,
description: t('Whether to normalize the histogram'),
description: t(
'Whether to apply a normal distribution based on rank on the color scale',
),
default: false,
},
},
Expand Down Expand Up @@ -254,7 +256,6 @@ export default {
},
],
controlOverrides: {
normalized: t('Whether to apply a normal distribution based on rank on the color scale'),
y_axis_format: {
label: t('Value Format'),
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
*/
import { t } from '@superset-ui/translation';
import { validateNonEmpty } from '@superset-ui/validator';
import { D3_TIME_FORMAT_OPTIONS, sections } from '@superset-ui/chart-controls';
import { sections } from '@superset-ui/chart-controls';
import {
lineInterpolation,
showLegend,
Expand Down Expand Up @@ -148,10 +148,6 @@ export default {
y_axis_format: {
label: t('Left Axis Format'),
},
x_axis_format: {
choices: D3_TIME_FORMAT_OPTIONS,
default: 'smart_date',
},
},
sectionOverrides: {
sqlaTimeSeries: {
Expand Down

0 comments on commit ff4000e

Please sign in to comment.