Autoshading

In 3D graphs and graphs where 2.5D depth is applied with DepthRadius, this property enables or disables automatic shading of risers in the graph. If a 3D-graph type is selected, it also enables and disables shading of the 3D cube that surrounds the graph. If this property is set to true, light source settings are used to automatically shade the faces of a 3D graph, simulating a cast light beam. If this property is set to false, all sides of 3D risers or the 3D cube is the same color. It is not possible to color each face separately.

Syntax:

setAutoshading(boolean);
boolean = getAutoshading();

where:

boolean

Can be one of the following:

true enables autoshading. This value is the default.

false disables autoshading.

Example:

setAutoshading(true);

3D bar graph

setAutoshading(false);

3D bar graph

setGraphType(0);
setAutoshading(true);

3D bar graph

setAutoshading(false);

3D bar graph

Note:

See AutoshadingWalls, CubeLightSourceX, CubeLightSourceY, CubeLightSourceZ.


WebFOCUS