Vue Chart - argumentAxis.minVisualRangeLength
Specifies the minimum length of the visual range.
If the visual range is set on a numeric axis, assign a number to this option. If the axis displays date-time values, assign one of the accepted string values or an object to this option. The object should contain one or several fields described in this section, for example:
- <template>
- <dx-chart ... >
- <dx-argument-axis ... >
- <dx-min-visual-range-length :weeks="2" />
- </dx-argument-axis>
- </dx-chart>
- </template>
- <script>
- import 'devextreme/dist/css/dx.common.css';
- import 'devextreme/dist/css/dx.light.css';
- import DxChart, {
- DxArgumentAxis,
- DxMinVisualRangeLength
- } from 'devextreme-vue/chart';
- export default {
- components: {
- DxChart,
- DxArgumentAxis,
- DxMinVisualRangeLength
- },
- data() {
- return {
- // ...
- }
- },
- }
- </script>
- <template>
- <dx-component />
- </template>
- <script>
- import DxComponent from './components/DxComponent';
- export default {
- components: {
- DxComponent
- }
- }
- </script>
When you use the widget as an ASP.NET MVC Control, specify this option via the VizTimeInterval
enum. This enum accepts the same values, but they start with an upper-case letter, for example, 'day' becomes Day
.
See Also
days
Specifies the time interval measured in days. Available only for an axis/scale displaying date-time values.
hours
Specifies the time interval measured in hours. Available only for an axis/scale displaying date-time values.
milliseconds
Specifies the time interval measured in milliseconds. Available only for an axis/scale displaying date-time values.
minutes
Specifies the time interval measured in minutes. Available only for an axis/scale displaying date-time values.
months
Specifies the time interval measured in months. Available only for an axis/scale displaying date-time values.
quarters
Specifies the time interval measured in quarters. Available only for an axis/scale displaying date-time values.
seconds
Specifies the time interval measured in seconds. Available only for an axis/scale displaying date-time values.
weeks
Specifies the time interval measured in weeks. Available only for an axis/scale displaying date-time values.
years
Specifies the time interval measured in years. Available only for an axis/scale displaying date-time values.
If you have technical questions, please create a support ticket in the DevExpress Support Center.