Skip to content

ChartTemplateDisplaySettings.Positions

property · ChartTemplateDisplaySettings · cAlgo.API Since 5.6

DesktopCLICloud

Defines if the Positions are displayed on the chart.

Environment behaviour

Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (ChartTemplate.DisplaySettings).

Definition

bool Positions {get; set;}
chartTemplateDisplaySettings.Positions: bool

Returns bool

Examples

var template = ChartTemplates.Get("My Template");
if (template != null)
{
    template.DisplaySettings.Positions = true;
    Print("Template shows positions: {0}", template.DisplaySettings.Positions);
}
template = api.ChartTemplates.Get("My Template")
if template is not None:
    template.DisplaySettings.Positions = True
    api.Print(f"Template shows positions: {template.DisplaySettings.Positions}")