Skip to content

ChartColorSettings.ForegroundColor

property · ChartColorSettings · cAlgo.API

DesktopCLICloud

Gets or sets the color of the chart foreground.

Definition

Color ForegroundColor {get; set;}
chartColorSettings.ForegroundColor: Color

Returns Color

Examples

Chart.ColorSettings.ForegroundColor = Color.WhiteSmoke;
Print("Chart foreground color: {0}", Chart.ColorSettings.ForegroundColor);
api.Chart.ColorSettings.ForegroundColor = Color.WhiteSmoke
api.Print(f"Chart foreground color: {api.Chart.ColorSettings.ForegroundColor}")