ag-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
48 lines (47 loc) • 2 kB
TypeScript
import type { AgMapLineSeriesItemStylerParams, AgMapLineSeriesLabelFormatterParams, AgMapLineSeriesOptions, AgMapLineSeriesStyle, AgMapLineSeriesTooltipRendererParams, Opacity, Styler } from 'ag-charts-community';
import { _ModuleSupport } from 'ag-charts-community';
import type { FeatureCollection, Geometry, PointLabelDatum } from 'ag-charts-core';
declare const SeriesProperties: typeof _ModuleSupport.SeriesProperties;
export interface MapLineNodeLabelDatum extends PointLabelDatum {
readonly datumIndex: number;
readonly idValue: string;
}
export interface MapLineNodeDatum extends _ModuleSupport.DataModelSeriesNodeDatum {
readonly idValue: string;
readonly labelValue: string | undefined;
readonly colorValue: number | undefined;
readonly sizeValue: number | undefined;
readonly legendItemName: string | undefined;
readonly projectedGeometry: Geometry | undefined;
style: AgMapLineSeriesStyle;
}
export declare class MapLineSeriesProperties extends SeriesProperties<AgMapLineSeriesOptions> {
topology?: FeatureCollection;
title?: string;
legendItemName?: string;
idKey: string;
topologyIdKey: string;
idName?: string;
labelKey?: string;
labelName?: string;
sizeKey?: string;
sizeName?: string;
colorKey?: string;
colorName?: string;
sizeDomain?: [number, number];
colorRange: string[] | undefined;
readonly colorScale: _ModuleSupport.ColorScaleProperties;
maxStrokeWidth?: number;
stroke: string;
strokeOpacity: number;
strokeWidth: number;
lineDash: number[];
lineDashOffset: number;
itemStyler?: Styler<AgMapLineSeriesItemStylerParams<unknown>, AgMapLineSeriesStyle>;
readonly label: _ModuleSupport.Label<AgMapLineSeriesLabelFormatterParams, any>;
readonly tooltip: _ModuleSupport.SeriesTooltip<Omit<AgMapLineSeriesTooltipRendererParams<any>, "context">>;
getStyle(): Required<AgMapLineSeriesStyle> & {
opacity: Opacity;
};
}
export {};