ChartTemplateRobots.Count
property · ChartTemplateRobots · cAlgo.API Since 5.6
DesktopCLICloud
Gets the number of all Robots attached to a chart.
Environment behaviour
Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (ChartTemplate.Robots).
Definition
int Count {get;}
chartTemplateRobots.Count: int
Returns int
Examples
var template = ChartTemplates.Get("My Template");
if (template != null)
Print("cBots in the template: {0}", template.Robots.Count);
template = api.ChartTemplates.Get("My Template")
if template is not None:
api.Print(f"cBots in the template: {template.Robots.Count}")