Skip to content

ChartMode

enum cAlgo.API

DesktopCLICloud

Represents the predefined chart container modes.

Environment behaviour

CLI — not supported. Available to plugins only, and plugins cannot run in the CLI.

Cloud — not supported. Available to plugins only, and plugins cannot run in the cloud.

Definition

public enum ChartMode

Namespace: cAlgo.API · Group: Chart

Examples

var mainContainer = ChartManager.ChartContainers.MainChartContainer;
mainContainer.Mode = ChartMode.Free;
Print("Main container mode: {0}", mainContainer.Mode);
mainContainer = api.ChartManager.ChartContainers.MainChartContainer
mainContainer.Mode = ChartMode.Free
api.Print(f"Main container mode: {mainContainer.Mode}")

Values

Name Value Description
Single 0 Single chart mode.
Multi 1 Multiple chart mode.
Free 2 Free chart mode.
Floating 3 Floating chart mode.

See also