MarkerType
Specifies the marker type.
Note that
"rect"
is an alias for"square"
.
import {
Chart,
ChartSeries,
ChartSeriesItem
} from '@progress/kendo-react-charts';
const data = [1, 2, 3];
const markerType = "cross";
const ChartContainer = () => (
<Chart>
<ChartSeries>
<ChartSeriesItem type="line" data={data} markers={{ type: markerType }} />
</ChartSeries>
</Chart>
);
ReactDOM.render(
<ChartContainer />,
document.querySelector('my-app')
);
type
MarkerType = "square" | "circle" | "triangle" | "cross" | "rect" | "roundedRect";