Skip to content

ChartTemplateColorSettings.TickVolumeColor

property · ChartTemplateColorSettings · cAlgo.API Since 5.6

DesktopCLICloud

Gets or sets the color of the tick volume.

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 TickVolumeColor {get; set;}
chartTemplateColorSettings.TickVolumeColor: Color

Returns Color

Examples

var template = ChartTemplates.Get("My Template");
if (template != null)
{
    template.ColorSettings.TickVolumeColor = Color.SteelBlue;
    Print("Template tick volume color: {0}", template.ColorSettings.TickVolumeColor);
}
template = api.ChartTemplates.Get("My Template")
if template is not None:
    template.ColorSettings.TickVolumeColor = Color.SteelBlue
    api.Print(f"Template tick volume color: {template.ColorSettings.TickVolumeColor}")