Skip to content

ChartTemplateColorSettings.BullFillColor

property · ChartTemplateColorSettings · cAlgo.API Since 5.6

DesktopCLICloud

Gets or sets the color of the bull 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 BullFillColor {get; set;}
chartTemplateColorSettings.BullFillColor: Color

Returns Color

Examples

var template = ChartTemplates.Get("My Template");
if (template != null)
{
    template.ColorSettings.BullFillColor = Color.LimeGreen;
    Print("Template bull fill color: {0}", template.ColorSettings.BullFillColor);
}
template = api.ChartTemplates.Get("My Template")
if template is not None:
    template.ColorSettings.BullFillColor = Color.LimeGreen
    api.Print(f"Template bull fill color: {template.ColorSettings.BullFillColor}")