UNPKG

ag-charts-community

Version:

Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue

20 lines (19 loc) 654 B
import type { InternalAgColorType } from 'ag-charts-core'; import type { AgColorType, AgSeriesMarkerStyle } from 'ag-charts-types'; export interface LegendMarker extends Omit<AgSeriesMarkerStyle, 'stroke'> { fill?: InternalAgColorType; stroke?: AgColorType; enabled?: boolean; } export interface LegendLine { enabled: boolean; stroke: string; strokeOpacity: number; strokeWidth: number; lineDash: number[]; } export interface LegendSymbolOptions { marker: LegendMarker; line?: LegendLine; } export declare function legendSymbolSvg(symbol: LegendSymbolOptions, size: number, lineSize?: number): string | undefined;