@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.
60 lines (59 loc) • 2.09 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 { SeriesPointMarker } from './series-point-marker.interface';
/**
* Represents a series point in the Chart.
*/
export interface SeriesPoint {
/**
* Specifies the category value of the point. Available for Categorical points such as Bar and Line series.
*/
category?: string | Date | number;
/**
* Specifies the `dataItem` associated with the point.
*/
dataItem?: any;
/**
* Specifies the options for the point.
*/
options?: any;
/**
* Defines the index of the point in the series. Available for Categorical and Funnel charts.
*/
index?: number;
/**
* Specifies the marker associated with the point, if any. Available only for Line and ScatterLine series.
*/
marker?: SeriesPointMarker;
/**
* Specifies the value of the point as a percentage. Available for Donut, Pie, and 100% Stacked Chart points.
*/
percentage?: number;
/**
* Defines the sum of point values since the last `"runningTotal"` summary point. Available for the Waterfall series points.
*/
runningTotal?: number;
/**
* Specifies the sum of all previous series values. Available for the Waterfall series points.
*/
total?: number;
/**
* Specifies the minimum value for the series. Available for the Heatmap series points.
*/
min?: number;
/**
* Specifies the maximum value for the series. Available for the Heatmap series points.
*/
max?: number;
/**
* Represents the value of the point.
*/
value?: any;
/**
* Provides the Drawing element used to draw the point.
*/
visual?: drawing.Element;
}