@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.
33 lines (32 loc) • 1.27 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 { MarkersVisualArgs, MarkerType } from '../../common/property-types';
/**
* Represents the configuration options of the legend markers.
*/
export interface LegendMarkers {
/**
* Specifies the width (in pixels) of the markers. Defaults to `15`.
*/
width?: number;
/**
* Specifies the height (in pixels) of the markers. Defaults to `3`.
*/
height?: number;
/**
* Specifies the shape of the legend item markers. Defaults to `circle`.
*/
type?: MarkerType;
/**
* Determines whether the Chart displays the markers.
* When set to `true`, the markers are visible. By default, the legend item markers are displayed.
*/
visible?: boolean;
/**
* Specifies a function for creating a custom visual for the markers.
*/
visual?: (e: MarkersVisualArgs) => drawing.Element;
}