Skip to content

ChartTemplateDisplaySettings.DealMap

property · ChartTemplateDisplaySettings · cAlgo.API Since 5.6

DesktopCLICloud

Defines if the Deal Map is 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 DealMap {get; set;}
chartTemplateDisplaySettings.DealMap: bool

Returns bool

Examples

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