ShadeColor

Description

The color used for shading the back edge of the series markers when the graph’s type is 3D. ShadeColor has no effect unless Series.ShadeBackEdge is 1 (Yes). If ShadeBackEdge is 0, the axis plane is the same color as the background color of the graph.

Applies to

Graph controls

Syntax

PowerBuilder dot notation:

dw_control.Object.graphname.ShadeColor

Describe and Modify argument:

"graphname.ShadeColor { = ' long ' }"

Parameter

Description

graphname

The Graph control in the DataWindow for which you want to shade color.

long

(exp) A long number converted to a string specifying the color of the shading for axes of a 3D graph.

You can use the RGB function in a DataWindow expression or in PowerScript to calculate the desired color value. However, be sure to convert the return value of the PowerScript function to a string.

Long can be a quoted DataWindow expression.

Usage

To set the shade color for individual series markers, such as bars or pie slices, use the method SetDataStyle.


In the painter

Select the control and set the value in the Properties view, General tab, Shade Color option.

Examples

Example 1

string setting

setting = dw1.Object.graph_1.ShadeColor

dw1.Object.graph_1.ShadeColor = 16600000

Example 2

setting = dw1.Describe("graph_1.ShadeColor")

dw1.Modify("graph_1.ShadeColor=16600000")

dw1.Modify("graph_1.ShadeColor=String(RGB(90,90,90)))

dw1.Modify("graph_1.ShadeColor='0~t" &

		+ If(salary>50000," &

		+ String(RGB(100,90,90)) &

		+ "," &

		+ String(RGB(90,90,100)) &

		+ ")'")