ChartTemplateDisplaySettings.PriceAxisOverlayButtons
property · ChartTemplateDisplaySettings · cAlgo.API Since 5.6
DesktopCLICloud
Defines if the price axis overlays buttons are visible on the chart.
Environment behaviour
Cloud — not supported. Never available in the cloud: it is only returned by members that do not work there (ChartTemplate.DisplaySettings).
Definition
bool PriceAxisOverlayButtons {get; set;}
chartTemplateDisplaySettings.PriceAxisOverlayButtons: bool
Returns bool
Examples
var template = ChartTemplates.Get("My Template");
if (template != null)
{
template.DisplaySettings.PriceAxisOverlayButtons = false;
Print("Template shows price axis overlay buttons: {0}", template.DisplaySettings.PriceAxisOverlayButtons);
}
template = api.ChartTemplates.Get("My Template")
if template is not None:
template.DisplaySettings.PriceAxisOverlayButtons = False
api.Print(f"Template shows price axis overlay buttons: {template.DisplaySettings.PriceAxisOverlayButtons}")