ChartTemplate.Robots
property · ChartTemplate · cAlgo.API Since 5.6
DesktopCLICloud
Gets the robots of chart template.
Environment behaviour
Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (ChartTemplates, ChartTemplates.Create, ChartTemplates.DefaultTemplate and more).
Definition
ChartTemplateRobots Robots {get;}
chartTemplate.Robots: ChartTemplateRobots
Returns ChartTemplateRobots
Examples
var template = ChartTemplates.Get("My Template");
if (template != null)
{
foreach (var robot in template.Robots)
Print("Template cBot: {0}", robot.Type.Name);
}
template = api.ChartTemplates.Get("My Template")
if template is not None:
for robot in template.Robots:
api.Print(f"Template cBot: {robot.Type.Name}")