# StockDrawingInput

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

Canonical: https://chart.syidax.com/docs/types/StockDrawingInput/

<a id="declaration"></a>

## Type declaration

```typescript
export interface StockDrawingInput {
  readonly id?: string;
  readonly tool: string;
  readonly anchors: ReadonlyArray<{ time: number | string | Date; price: number }>;
  readonly style?: DrawingStyle;
  readonly locked?: boolean;
  readonly visible?: boolean;
  readonly meta?: Readonly<Record<string, string | number | boolean>>;
}
```

<a id="related"></a>

## Related types

- [DrawingStyle](https://chart.syidax.com/docs/types/DrawingStyle.md)
