@progress/kendo-react-charts
Version:
React Chart renders a wide range of high-quality data visualizations. KendoReact Charts package
34 lines (33 loc) • 949 B
TypeScript
/**
* @license
*-------------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the package root for more information
*-------------------------------------------------------------------------------------------
*/
/**
* Specifies the marker type.
*
* > Note that `"rect"` is an alias for `"square"`.
*
* @example
* ```jsx
* 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>
* );
* ```
*/
export type MarkerType = 'square' | 'circle' | 'triangle' | 'cross' | 'rect' | 'roundedRect';