sryd-charts-enterprise
Version:
Advanced Charting / Charts supporting Javascript / Typescript / React / Angular / Vue
12 lines (11 loc) • 1.5 kB
TypeScript
import type { AnnotationProperties, ChannelPropertiesType, EphemeralPropertiesType, LinePropertiesType, MeasurerPropertiesType, TextualPropertiesType } from '../annotationsSuperTypes';
import { CalloutProperties } from '../callout/calloutProperties';
import { CommentProperties } from '../comment/commentProperties';
import { NoteProperties } from '../note/noteProperties';
export declare function hasFontSize(datum?: AnnotationProperties): datum is Exclude<TextualPropertiesType, NoteProperties>;
export declare function hasLineStyle(datum?: AnnotationProperties): datum is Exclude<LinePropertiesType | ChannelPropertiesType | MeasurerPropertiesType, EphemeralPropertiesType>;
export declare function hasLineColor(datum?: AnnotationProperties): datum is CalloutProperties | NoteProperties | LinePropertiesType | ChannelPropertiesType | MeasurerPropertiesType;
export declare function hasIconColor(datum?: AnnotationProperties): datum is NoteProperties;
export declare function hasFillColor(datum?: AnnotationProperties): datum is CalloutProperties | CommentProperties | (import("../arrow-down/arrowDownProperties").ArrowDownProperties | import("../arrow-up/arrowUpProperties").ArrowUpProperties) | ChannelPropertiesType | MeasurerPropertiesType;
export declare function hasTextColor(datum?: AnnotationProperties): boolean;
export declare function hasLineText(datum?: AnnotationProperties): datum is Exclude<LinePropertiesType | ChannelPropertiesType | MeasurerPropertiesType, EphemeralPropertiesType>;