@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.
37 lines (36 loc) • 1.42 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 { LegendLabelsContentArgs } from '../argument-types/legend-labels-content-args.interface';
import { Margin } from './margin.interface';
import { Padding } from './padding.interface';
/**
* The appearance configuration for the legend labels.
*/
export interface LegendLabels {
/**
* The color of the legend label text.
* Accepts a valid [CSS `color`](https://developer.mozilla.org/en-US/docs/Web/CSS/color)
* configuration string, including hex and rgb.
*/
color?: string;
/**
* The font of the legend label text.
* Accepts a valid [CSS `font`](https://developer.mozilla.org/en-US/docs/Web/CSS/font)
* configuration string.
*/
font?: string;
/**
* The margin of the labels. A numeric value sets all margins.
*/
margin?: Margin | number;
/**
* The padding of the labels. A numeric value sets all paddings.
*/
padding?: Padding | number;
/**
* A function used to generate the content of each label.
*/
content?: (e: LegendLabelsContentArgs) => string;
}