@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.
49 lines (48 loc) • 3.16 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 { ConfigurationService } from '../common/configuration.service';
import { drawing } from '@progress/kendo-drawing';
import { SettingsComponent } from '../common/settings.component';
import { Border, FocusHighlight, Overlay, SeriesHighlight, SeriesStack, SeriesType, SeriesVisualArgs } from '../common/property-types';
import { SeriesDefaultsLabels, SeriesDefaultsNotes, SeriesDefaultsTooltip, SeriesDefaults } from '../common/property-types';
import * as i0 from "@angular/core";
/**
* The default options for all series
* ([see example]({% slug series_chart_charts %}#toc-default-series-configuration)).
*/
export declare class SeriesDefaultsComponent extends SettingsComponent implements SeriesDefaults {
configurationService: ConfigurationService;
border: Border;
/**
* The distance between category clusters.
* @default 1.5
*/
gap: number;
highlight: SeriesHighlight;
overlay: Overlay;
/**
* The space between the Chart series as a proportion of the series width.
* The `spacing` option is supported when [`series.type`]({% slug api_charts_series %}#toc-type) is set to `"bar"`, `"column"`, `"candlestick"`, `"ohlc"`,
* and `"waterfall"`.
* @default 0.4
*/
spacing: number;
/**
* A Boolean value which indicates if the series has to be stacked.
* The stack option is supported when [`series.type`]({% slug api_charts_series %}#toc-type) is set to `"bar"`, `"column"`, `"line"`, `"area"`,
* `"verticalLine"`, `"verticalArea"`, `"radarLine"`, `"radarArea"`, and `"radarColumn"`.
* @default false
*/
stack: boolean | string | SeriesStack;
type: SeriesType;
visual: (e: SeriesVisualArgs) => drawing.Element;
labels: SeriesDefaultsLabels;
notes: SeriesDefaultsNotes;
tooltip: SeriesDefaultsTooltip;
focusHighlight?: FocusHighlight;
constructor(configurationService: ConfigurationService);
static ɵfac: i0.ɵɵFactoryDeclaration<SeriesDefaultsComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<SeriesDefaultsComponent, "kendo-chart-series-defaults", never, { "border": { "alias": "border"; "required": false; }; "gap": { "alias": "gap"; "required": false; }; "highlight": { "alias": "highlight"; "required": false; }; "overlay": { "alias": "overlay"; "required": false; }; "spacing": { "alias": "spacing"; "required": false; }; "stack": { "alias": "stack"; "required": false; }; "type": { "alias": "type"; "required": false; }; "visual": { "alias": "visual"; "required": false; }; "labels": { "alias": "labels"; "required": false; }; "notes": { "alias": "notes"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "focusHighlight": { "alias": "focusHighlight"; "required": false; }; }, {}, never, never, true, never>;
}