Walls

Walls class

Encapsulates the object that represents the walls of a 3-D chart.

class Walls extends Floor;

Constructors

NameDescription
constructor(Floor)Constructs from a parent object convertible to this.

Properties

PropertyTypeDescription
centerXnumberReadonly. Gets the x coordinate of the left-bottom corner of Wall center in units of 1/4000 of chart’s width after calls Chart.Calculate() method.
centerYnumberReadonly. Gets the y coordinate of the left-bottom corner of Wall center in units of 1/4000 of chart’s height after calls Chart.Calculate() method.
widthnumberReadonly. Gets the width of left to right in units of 1/4000 of chart’s width after calls Chart.Calculate() method.
depthnumberReadonly. Gets the depth front to back in units of 1/4000 of chart’s width after calls Chart.Calculate() method.
heightnumberReadonly. Gets the height of top to bottom in units of 1/4000 of chart’s height after calls Chart.Calculate() method.
centerXPxnumberReadonly. Gets the x coordinate of the left-bottom corner of Wall center in units of pixels after calls Chart.Calculate() method.
centerYPxnumberReadonly. Gets the y coordinate of the left-bottom corner of Wall center in units of pixels after calls Chart.Calculate() method.
widthPxnumberReadonly. Gets the width of left to right in units of pixels after calls Chart.Calculate() method.
depthPxnumberReadonly. Gets the depth front to back in units of pixels after calls Chart.Calculate() method.
heightPxnumberReadonly. Gets the height of top to bottom in units of pixels after calls Chart.Calculate() method.
backgroundColorColorGets or sets the background Color of the Area.
foregroundColorColorGets or sets the foreground Color.
formattingFormattingTypeRepresents the formatting of the area.
invertIfNegativebooleanIf the property is true and the value of chart point is a negative number, the foreground color and background color will be exchanged.
fillFormatFillFormatReadonly. Represents a FillFormat object that contains fill formatting properties for the specified chart or shape.
transparencynumberReturns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).
borderLineGets or sets the border Line.

Methods

MethodDescription
getCubePointCount()Gets the number of cube points after calls Chart.Calculate() method.
getCubePointXPx(number)Gets x-coordinate of the apex point of walls cube after calls Chart.Calculate() method. The number of apex points of walls cube is eight
getCubePointYPx(number)Gets y-coordinate of the apex point of walls cube after calls Chart.Calculate() method. The number of apex points of walls cube is eight.

constructor(Floor)

Constructs from a parent object convertible to this.

constructor(obj: Floor);

Parameters:

ParameterTypeDescription
objFloorThe parent object.

centerX

Readonly. Gets the x coordinate of the left-bottom corner of Wall center in units of 1/4000 of chart’s width after calls Chart.Calculate() method.

centerX : number;

centerY

Readonly. Gets the y coordinate of the left-bottom corner of Wall center in units of 1/4000 of chart’s height after calls Chart.Calculate() method.

centerY : number;

width

Readonly. Gets the width of left to right in units of 1/4000 of chart’s width after calls Chart.Calculate() method.

width : number;

depth

Readonly. Gets the depth front to back in units of 1/4000 of chart’s width after calls Chart.Calculate() method.

depth : number;

height

Readonly. Gets the height of top to bottom in units of 1/4000 of chart’s height after calls Chart.Calculate() method.

height : number;

centerXPx

Readonly. Gets the x coordinate of the left-bottom corner of Wall center in units of pixels after calls Chart.Calculate() method.

centerXPx : number;

centerYPx

Readonly. Gets the y coordinate of the left-bottom corner of Wall center in units of pixels after calls Chart.Calculate() method.

centerYPx : number;

widthPx

Readonly. Gets the width of left to right in units of pixels after calls Chart.Calculate() method.

widthPx : number;

depthPx

Readonly. Gets the depth front to back in units of pixels after calls Chart.Calculate() method.

depthPx : number;

heightPx

Readonly. Gets the height of top to bottom in units of pixels after calls Chart.Calculate() method.

heightPx : number;

backgroundColor

Gets or sets the background Color of the Area.

backgroundColor : Color;

foregroundColor

Gets or sets the foreground Color.

foregroundColor : Color;

formatting

Represents the formatting of the area.

formatting : FormattingType;

invertIfNegative

If the property is true and the value of chart point is a negative number, the foreground color and background color will be exchanged.

invertIfNegative : boolean;

fillFormat

Readonly. Represents a FillFormat object that contains fill formatting properties for the specified chart or shape.

fillFormat : FillFormat;

transparency

Returns or sets the degree of transparency of the area as a value from 0.0 (opaque) through 1.0 (clear).

transparency : number;

border

Gets or sets the border Line.

border : Line;

getCubePointCount()

Gets the number of cube points after calls Chart.Calculate() method.

getCubePointCount() : number;

getCubePointXPx(number)

Gets x-coordinate of the apex point of walls cube after calls Chart.Calculate() method. The number of apex points of walls cube is eight

getCubePointXPx(index: number) : number;

Parameters:

ParameterTypeDescription
indexnumber

getCubePointYPx(number)

Gets y-coordinate of the apex point of walls cube after calls Chart.Calculate() method. The number of apex points of walls cube is eight.

getCubePointYPx(index: number) : number;

Parameters:

ParameterTypeDescription
indexnumber