Visit Gigasoft's Web Site
 ProEssentials v9 Help

GraphGradientStyle

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

Type

Int32

Default

0

.NET

PeColor.GraphGradientStyle

Ocx|Vcl

GraphGradientStyle

DLL

PEP_nGRAPHGRADIENTSTYLE

 

Purpose

Controls how a background gradient is applied to the controls charting or axis area. Start and end RGB colors are defined with GraphGradientStart and GraphGradientEnd. Most of these styles look best with the start color set to white, especially the radial styles.

 

Individual axes can each have their own bitmap and/or gradient parameters by utilizing WorkingAxis.

 

.NET Gigasoft.Enums.

ActiveX and

 

GradientStyle.

DLL Constants

Description

NoGradient

PEGS_NO_GRADIENT (0)

No Gradient

Vertical

PEGS_VERTICAL (1)

Gradient Top to Bottom

Horizontal

PEGS_HORIZONTAL (2)

Gradient Left to Right

LinearBarVertical

PEGS_LINEAR_BAR_VERTICAL (3)

Linear Bar Vertical

LinearBarHorizontal

PEGS_LINEAR_BAR_HORIZONTAL (4)

Linear Bar Horizontal

LinearBarDown

PEGS_LINEAR_BAR_DOWN (5)

Linear Bar Downward

LinearBarUp

PEGS_LINEAR_BAR_UP (6)

Linear Bar Upward

LinearDiagonalDown

PEGS_LINEAR_DIAGONAL_DOWN (7)

Linear Diagonal Downward

LinearDiagonalUp

PEGS_LINEAR_DIAGONAL_UP (8)

Linear Diagonal Upward

RectangleCross

PEGS_RECTANGLE_CROSS (9)

Rectangular Cross Pattern

RectanglePlus

PEGS_RECTANGLE_PLUS (10)

Rectangular Plus Pattern

RadialCentered

PEGS_RADIAL_CENTERED (11)

Radial, Bright Spot Centered

RadialBottomRight

PEGS_RADIAL_BOTTOM_RIGHT (12)

Radial, Bright Spot Bottom Right

RadialTopRight

PEGS_RADIAL_TOP_RIGHT (13)

Radial, Bright Spot Top Right

RadialBottomLeft

PEGS_RADIAL_BOTTOM_LEFT (14)

Radial, Bright Spot Bottom Left

RadialTopLeft

PEGS_RADIAL_TOP_LEFT (15)

Radial, Bright Spot Top Left

 

VCL Enumerations:

Replace the x prefix with either g(graph), sg(scientific graph), td(3D scientific graph), ps(polar/smith), or pc(pie chart).

eGradientStyle = (xNoGradient, xVerticalGradient, xHorizontalGradient, xLinearBarVertical, xLinearBarHorizontal, xLinearBarDown, xLinearBarUp, xLinearDiagonalDown, xLinearDiagonalUp, xRectangleCross, xRectanglePlus, xRadialCentered, xRadialBottomRight, xRadialTopRight, xRadialBottomLeft, xRadialTopLeft);

 

Comments

PeColor.GraphGradientStyle members of Pego.PeColor, Pesgo.PeColor, Pe3do.PeColor, Pepso.PeColor, Pepco.PeColor

 

This property is only effective if BitmapGradientMode is TRUE and GraphBackColor is set to 1. For more information on background bitmaps and gradients, see commonly asked Question 36.

 

See Also: GraphGradientStart, GraphGradientEnd, BitmapGradientMode, GraphBackColor, WorkingAxis.