Skip to content

Commit

Permalink
fix(histogram): axis margin padding consistent with other graphs (#31335
Browse files Browse the repository at this point in the history
)

Co-authored-by: Evan Rusackas <[email protected]>
  • Loading branch information
tatiana-cherne and rusackas authored Dec 9, 2024
1 parent 878c7f0 commit 73d21a8
Showing 1 changed file with 2 additions and 22 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ import {
formatSelectOptionsForRange,
dndGroupByControl,
columnsByType,
sections,
} from '@superset-ui/chart-controls';
import { showLegendControl, showValueControl } from '../controls';

Expand Down Expand Up @@ -104,35 +105,14 @@ const config: ControlPanelConfig = {
],
],
},
sections.titleControls,
{
label: t('Chart Options'),
expanded: true,
controlSetRows: [
['color_scheme'],
[showValueControl],
[showLegendControl],
[
{
name: 'x_axis_title',
config: {
type: 'TextControl',
label: t('X Axis Title'),
renderTrigger: true,
default: '',
},
},
],
[
{
name: 'y_axis_title',
config: {
type: 'TextControl',
label: t('Y Axis Title'),
renderTrigger: true,
default: '',
},
},
],
],
},
],
Expand Down

0 comments on commit 73d21a8

Please sign in to comment.