React RangeSelector - margin

Generates space around the UI component.

Selector: Margin
Type: viz/core/base_widget:BaseWidgetMargin

WidgetMargin DevExtreme ChartJS

App.vue
  • <template>
  • <DxRangeSelector ... >
  • <DxMargin
  • :top="20"
  • :bottom="20"
  • :left="30"
  • :right="30"
  • />
  • </DxRangeSelector>
  • </template>
  •  
  • <script>
  • import 'devextreme/dist/css/dx.light.css';
  •  
  • import DxRangeSelector, {
  • DxMargin
  • } from 'devextreme-vue/range-selector';
  •  
  • export default {
  • components: {
  • DxRangeSelector,
  • DxMargin
  • },
  • // ...
  • }
  • </script>

bottom

Specifies the bottom margin of the UI component in pixels.

Type:

Number

Default Value: 0

left

Specifies the left margin of the UI component in pixels.

Type:

Number

Default Value: 0

right

Specifies the right margin of the UI component in pixels.

Type:

Number

Default Value: 0

top

Specifies the top margin of the UI component in pixels.

Type:

Number

Default Value: 0