@progress/kendo-angular-charts
Version:
Kendo UI Charts for Angular - A comprehensive package for creating beautiful and interactive data visualization. Every chart type, stock charts, and sparklines are included.
43 lines (42 loc) • 1.49 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
* Specifies the marker type.
*
* > Note that `"rect"` is an alias for `"square"`.
*
* The possible values are:
* - `"square"`—The marker is a square.
* - `"circle"`—The marker is a circle.
* - `"triangle"`—The marker is a triangle.
* - `"cross"`—The marker is a cross.
* - `"rect"`—The marker is a rectangle.
* - `"roundedRect"`—The marker is a rounded rectangle.
*
* @example
* ```ts
* import { Component } from '@angular/core';
* import { MarkerType } from '@progress/kendo-angular-charts';
*
* _@Component({
* selector: 'my-app',
* template: `
* <kendo-chart>
* <kendo-chart-series>
* <kendo-chart-series-item type="line" [data]="[1, 2, 3]">
* <kendo-chart-series-item-markers [type]="markerType">
* </kendo-chart-series-item-markers>
* </kendo-chart-series-item>
* </kendo-chart-series>
* </kendo-chart>
* `
* })
* class AppComponent {
* public markerType: MarkerType = "cross";
* }
*
* ```
*/
export type MarkerType = 'square' | 'circle' | 'triangle' | 'cross' | 'rect' | 'roundedRect';