ChartTemplateColorSettings.BearFillColor
property · ChartTemplateColorSettings · cAlgo.API Since 5.6
DesktopCLICloud
Gets or sets the color of the bear candle fill.
Environment behaviour
Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (ChartTemplate.ColorSettings).
Definition
Color BearFillColor {get; set;}
chartTemplateColorSettings.BearFillColor: Color
Returns Color
Examples
var template = ChartTemplates.Get("My Template");
if (template != null)
{
template.ColorSettings.BearFillColor = Color.OrangeRed;
Print("Template bear fill color: {0}", template.ColorSettings.BearFillColor);
}
template = api.ChartTemplates.Get("My Template")
if template is not None:
template.ColorSettings.BearFillColor = Color.OrangeRed
api.Print(f"Template bear fill color: {template.ColorSettings.BearFillColor}")