JavaScript/jQuery Chart - argumentAxis.minorTickInterval
Specifies the interval between minor ticks. Applies only to the axes of the "continuous" type.
Minor ticks divide the segment between two neighboring major ticks into smaller segments. Minor ticks are generated automatically, unless the minorTickInterval option is set.
If the axis displays numbers, 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:
jQuery
$(function() { $("#chartContainer").dxChart({ // ... argumentAxis: { // ... minorTickInterval: { days: 5 } } }); });
Angular
<dx-chart ... > <dxo-argument-axis ... > <dxo-minor-tick-interval [days]="5"></dxo-minor-tick-interval> </dxo-argument-axis> </dx-chart>
import { DxChartModule } from "devextreme-angular"; // ... export class AppComponent { // ... } @NgModule({ imports: [ // ... DxChartModule ], // ... })
When using the widget as an ASP.NET MVC Control, specify this option using the VizTimeInterval
enum. This enum accepts the same values, but they start with an upper-case letter, for example, 'day' becomes Day
.
See Also
- argumentAxis.minorTickCount - specifies how many minor ticks to place between two neighboring major ticks.
- argumentAxis.minorTick - configures the appearance of minor ticks.
- argumentAxis.tickInterval - specifies the interval between major ticks.
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.