New to Kendo UI for Angular? Start a free 30-day trial
NotePosition
Specifies the position of a note.
The possible values are:
"top"
—The note is positioned at the top of the axis."bottom"
—The note is positioned at the bottom of the axis."left"
—The note is positioned at the left of the axis."right"
—The note is positioned at the right of the axis.
ts
import { Component } from '@angular/core';
import { NotePosition } from '@progress/kendo-angular-charts';
@Component({
selector: 'my-app',
template: `
<kendo-chart>
<kendo-chart-value-axis>
<kendo-chart-value-axis-item>
<kendo-chart-value-axis-item-notes [position]="position" [data]="[{ value: 1 }]">
</kendo-chart-value-axis-item-notes>
</kendo-chart-value-axis-item>
</kendo-chart-value-axis>
</kendo-chart>
`
})
class AppComponent {
public position: NotePosition = "right";
}
type
NotePosition = "top" | "bottom" | "left" | "right";