DevExtreme Angular - Axis Ticks
Axis ticks divide an axis into parts, and thus the readability of visualized data is improved. There are major and minor ticks. They differ in appearance.
To configure major or minor ticks, use the tick or minorTick object respectively. Options in these objects change the color, length, width, and opacity of ticks. But before specifying them, make sure that you have made ticks visible.
jQuery
JavaScript
$(function() { $("#chartContainer").dxChart({ // ... argumentAxis: { // or valueAxis, or commonAxisSettings tick: { visible: true }, minorTick: { visible: true } } }); });
Angular
HTML
TypeScript
<dx-chart ... > <dxo-argument-axis> <!-- or dxi-value-axis, or dxo-common-axis-settings --> <dxo-tick [visible]="true"></dxo-tick> <dxo-minor-tick [visible]="true"></dxo-minor-tick> </dxo-argument-axis> </dx-chart>
import { DxChartModule } from "devextreme-angular"; // ... export class AppComponent { // ... } @NgModule({ imports: [ // ... DxChartModule ], // ... })
See Also
Feel free to share topic-related thoughts here.
If you have technical questions, please create a support ticket in the DevExpress Support Center.
Thank you for the feedback!
If you have technical questions, please create a support ticket in the DevExpress Support Center.