Class DrawingChartModel

The Drawing model for Charts.

Hierarchy (view full)

Implements

Constructors

Properties

instanceCounter: number = 0

Accessors

  • get isAnchoredItem(): true
  • For runtime type checking

    Returns true

  • get isDrawing(): true
  • For runtime inspection.

    Returns true

  • get type(): string
  • Unique type for the drawing object.

    Returns string

  • get uuid(): string
  • A specific uuid for use in memory.

    Returns string

    Remarks

    Useful for caches and react keys. This is not persisted.

  • get zIndex(): number
  • The order in the z plane. To adjust this use the move methods.

    Returns number

Methods

  • If true then the aspect should be maintained during resize if using the corners or if the api only specifies one dimension.

    Parameters

    • lockAspectRatio: boolean

    Returns void

    Default Value

    depends on the drawing type.