ShadowEffect

ShadowEffect class

This class specifies the shadow effect of the chart element or shape.

class ShadowEffect;

Properties

PropertyTypeDescription
presetTypePresetShadowTypeGets and sets the preset shadow type of the shadow.
colorCellsColorGets and sets the color of the shadow.
transparencynumberGets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear).
sizenumberGets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow.
blurnumberGets and sets the blur of the shadow. Range from 0 to 100 points.
anglenumberGets and sets the lighting angle. Range from 0 to 359.9 degrees.
distancenumberGets and sets the distance of the shadow. Range from 0 to 200 points.

presetType

Gets and sets the preset shadow type of the shadow.

presetType : PresetShadowType;

color

Gets and sets the color of the shadow.

color : CellsColor;

transparency

Gets and sets the degree of transparency of the shadow. Range from 0.0 (opaque) to 1.0 (clear).

transparency : number;

size

Gets and sets the size of the shadow. Range from 0 to 2.0. Meaningless in inner shadow.

size : number;

blur

Gets and sets the blur of the shadow. Range from 0 to 100 points.

blur : number;

angle

Gets and sets the lighting angle. Range from 0 to 359.9 degrees.

angle : number;

distance

Gets and sets the distance of the shadow. Range from 0 to 200 points.

distance : number;