PlotAreaColors     Procedure (Sub)

Public Sub PlotAreaColors(Optional Color1 As Long = -1, Optional Color2 As Long = -1, Optional GradientAngle As Integer = -1, Optional gShift As Single = -1, Optional gStyle As Integer = 1, Optional Transparent As Boolean = False)

Specify the color and style of the plot area in the graph.

ParameterTypeDescription

Color1

Long

Color 1 of the gradient

Color2

Long

Color 2 of the gradient

GradientAngle

Integer

Gradient angle, in degrees off horizontal

gShift

Single

Shift (bias) the color gradient towards or away from Color1. 0=normal, <0 to -1 shifts the gradient towards Color1, >0 to 1 shifts towards Color2.

gStyle

Integer

Gradient style. 0=plain, 1=gradient, 2=rectangle, 3=star, 4=corner, 5=spotlight

Transparent

Boolean

True to make the page transparent (ie. don't show the color gradient)

Example

Call ecGraph1.PlotAreaColors(color1, color2, gradientangle, gshift, gstyle, transparent) 


      Contents     Variables     Events     Properties     Functions     Subs

Copyright © 2007, Encore Consulting Pty Ltd