ICanvas.IsScreenHighColor
ICanvas
function IsScreenHighColor: WordBool;
Type Library
TeeChartx
Description
The IsScreenHighColor function returns True if the current video mode color depth is greater than 256 colors.
Example [Visual Basic]:
This code shows or hides the Chart.Gradient:
TChart1.Panel.Gradient.Visible = TChart1.Canvas.IsScreenHighColor