API REFERENCE

ChartDrawingInput

The ChartDrawingInput type declaration and related types. Optional fields are marked with ?.

Type declaration

typescript
export interface ChartDrawingInput {
  id?: string;
  tool: string;
  anchors: ReadonlyArray<DrawingAnchorInput>;
  space?: DrawingSpace;
  visible?: boolean;
  locked?: boolean;
  style?: DrawingStyle;
  options?: Readonly<Record<string, unknown>>;
  meta?: DrawingMeta;
}