@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.
53 lines (52 loc) • 1.86 kB
TypeScript
/**-----------------------------------------------------------------------------------------
* Copyright © 2025 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
import { drawing } from '@progress/kendo-drawing';
import { Border, MarkersVisualArgs, MarkerType } from '../../common/property-types';
/**
* Represents the configuration options of the series markers.
*/
export interface SeriesMarkers {
/**
* Specifies the background color of the series markers.
*/
background?: string;
/**
* Specifies the border of the markers.
*/
border?: Border;
/**
* Specifies the rotation angle of the markers.
*/
rotation?: number;
/**
* Specifies the marker size in pixels.
*/
size?: number;
/**
* Specifies the border radius in pixels when `type` is set to `"roundedRect"`. Defaults to 1/5 of the marker size.
*/
borderRadius?: number;
/**
* Specifies the shape of the series markers.
*/
type?: MarkerType;
/**
* If set to `true`, the Chart displays the series markers.
* By default, the Chart series markers are displayed.
*/
visible?: boolean;
/**
* Specifies a function for creating a custom visual for the markers.
*/
visual?: (e: MarkersVisualArgs) => drawing.Element;
/**
* Specifies the Chart series marker configuration for the `from` point. Supported for the RangeArea and VerticalRangeArea series.
*/
from?: SeriesMarkers;
/**
* Specifies the Chart series marker configuration for the `to` point. Supported for the RangeArea and VerticalRangeArea series.
*/
to?: SeriesMarkers;
}