New to Kendo UI for Angular? Start a free 30-day trial
NotePosition
Specifies the position of a note.
The possible values are:
"top"
—Positions the note at the top of the axis."bottom"
—Positions the note at the bottom of the axis."left"
—Positions the note at the left of the axis."right"
—Positions the note 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";