ShadeColor
property (DataWindow object)
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:
|
1 |
dw_control.Object.graphname.ShadeColor |
Describe and Modify argument:
|
1 |
"graphname.ShadeColor { = ' long ' }" |
|
Parameter |
Description |
|---|---|
|
graphname |
The Graph control in the DataWindow for which you |
|
long |
(exp) A long number converted to a string You can use the RGB function in a DataWindow Long can be a |
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
|
1 2 3 4 5 6 7 8 9 10 11 12 |
string setting setting = dw1.Object.graph_1.ShadeColor dw1.Object.graph_1.ShadeColor = 16600000 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)) & + ")'") |