Skip to content

ChartObject

Summary

Represents the chart object.

Signature

1
public abstract interface ChartObject

Namespace

cAlgo.API

Properties

Name

Summary

Gets the chart object name - the unique identifier for the object in the current chart area.

Signature

1
public abstract string Name {get;}

Return Value

string

Comment

Summary

Gets or sets the comment for the chart object.

Signature

1
public abstract string Comment {get; set;}

Return Value

string

ObjectType

Summary

Gets the chart object type.

Signature

1
public abstract ChartObjectType ObjectType {get;}

Return Value

ChartObjectType

IsInteractive

Summary

Defines whether the instance is interactive. The non-interactive chart objects cannot be selected, have no hover effect and cannot be searched. Available only for the current cBot or Indicator and will be removed when the cBot/Indicator stops.

Signature

1
public abstract bool IsInteractive {get; set;}

Return Value

bool

IsLocked

Summary

Gets or sets if the object is loacked or not, user can't move locked objects unless unlocked

Signature

1
public abstract bool IsLocked {get; set;}

Return Value

bool

IsHidden

Summary

Gets or sets if object is hidden and not visible to user or not

Signature

1
public abstract bool IsHidden {get; set;}

Return Value

bool

ZIndex

Summary

Gets or sets the location of a chart object on the Z-axis in respect to the other chart objects.

Signature

1
public abstract int ZIndex {get; set;}

Return Value

int

IsAlive

Summary

Defines if the chart object still exists on the chart.

Signature

1
public abstract bool IsAlive {get;}

Return Value

bool