ICanvas.ApplyDark
ICanvas

function ApplyDark(Color: OLE_COLOR; HowMuch: Integer): OLE_COLOR;

Type Library
TeeChartx

Description

The ApplyDark function converts the Color parameter to a darker color.

The HowMuch parameter indicates the quantity of dark increment.

It is used by TBarSeries and TPieSeries to calculate the right color to draw Bar sides and Pie 3D zones.

The TeCanvas unit must be in your uses clause.

This is the ApplyDark source code:

Example

With TChart1

.Series(0).Color = .Canvas.ApplyDark( .Series(0).Color, 128 )