New to KendoReact? Start a free 30-day trial
NoteLabelPosition
The position of a note label.
jsx
import {
Chart,
ChartValueAxis,
ChartValueAxisItem
} from '@progress/kendo-react-charts';
const data = [{value: 1, label: { text: 'Foo' }}];
const position = "outside";
const ChartContainer = () => (
<Chart>
<ChartValueAxis>
<ChartValueAxisItem notes={{ data, label: { position } }} />
</ChartValueAxis>
</Chart>
);
ReactDOM.render(
<ChartContainer />,
document.querySelector('my-app')
);
type
NoteLabelPosition = "inside" | "outside";