import { Range2D } from '../../utilities'; /** * Properties for adding a generic annotation onto a chart area. * @member x the x coordinate of the annotation, relative to the plot's data. * @member y the y coordinate of the annotation, relative to the plot's data. * @member notScaled if set, the annotation is not scaled to match the data's coordinates. * @member notTranslated if set, the annotation is not translated to match the data's coordinates. */ export interface AnnotationProps { x: number; y: number; notScaled?: boolean; notTranslated?: boolean; [key: string]: any; } /** * Properties for adding a vector (rendered as an arrow) to a chart. * @member coordinates the origin and end point of the vector. * @member arrowHeadSize if set, magnitude of the arrow head at the end of the vector. * @member notScaled if set, the coordinates are relative to the SVG rather than the chart's data. */ export interface AnnotationVectorProps { coordinates: Range2D; notScaled?: boolean; arrowHeadSize?: number; [key: string]: any; }