Skip to main content
Package for drawing coordinate-based visual elements like labels, lines, and shapes.

Types

AbsolutePosition

type Position defined in absolute chart coordinates (time and price values).

Fields

Methods


Channel

type Drawable price channel defined by two boundary line segments.

Fields

Methods


Chart

type Chart class for drawing and managing manual and coordinate-based visual elements on the chart.

Methods


Circle

type Drawable circle defined by center and edge points with customizable style.

Fields

Methods


Label[T]

type Base class for text labels that can be positioned on the chart.

Aliases

LabelAbs = Label[AbsolutePosition]
LabelRel = Label[RelativePosition]

Fields

Methods


LineSegment

type Drawable line segment between two points with customizable style and endpoints.

Fields

Methods


Rectangle

type Drawable rectangle defined by two corner points with customizable style.

Fields

Methods


RelativePosition

type Position defined relative to chart boundaries using percentage ratios.

Fields

Methods


Triangle

type Drawable triangle defined by three corner points with customizable style.

Fields

Methods


Enums

callout_position

enum Position of the label relative to its specified coordinates.

Static fields


horizontal_anchor

enum Horizontal anchor point for relative positioning.

Static fields


relative_position

enum Predefined relative positions on the chart for placing elements.

Static fields


vertical_anchor

enum Vertical anchor point for relative positioning.

Static fields