BackGradient(Visible, StartColor, EndColor)

Applies a gradient to the background of a chart.

Parameters
  • Visible. Specifies whether the background gradient is visible.
    Can take one of the following values:
    • True
    • False
  • StartColor. Specifies the name of start color to be used for the background gradient. This parameter accepts a WideString value.
  • EndColor. Specifies the name of end color to be used for the background gradient. This parameter accepts a WideString value.
Examples

ChartGraph.BackGradient(true,'Blue','White');

Sets a blue gradient that fades to white.