ChartPoint

ChartPoint class

Represents a single point in a series in a chart.

class ChartPoint;

Example

const { Workbook, ChartType, Color } = require("aspose.cells.node");

//Instantiating a Workbook object
var workbook = new Workbook();
//Obtaining the reference of the first worksheet
var worksheet = workbook.worksheets.get(0);

//Adding a sample value to "A1" cell
worksheet.cells.get("A1").putValue(50);
//Adding a sample value to "A2" cell
worksheet.cells.get("A2").putValue(100);
//Adding a sample value to "A3" cell
worksheet.cells.get("A3").putValue(150);
//Adding a sample value to "B1" cell
worksheet.cells.get("B1").putValue(60);
//Adding a sample value to "B2" cell
worksheet.cells.get("B2").putValue(32);
//Adding a sample value to "B3" cell
worksheet.cells.get("B3").putValue(50);

//Adding a chart to the worksheet
var chartIndex = worksheet.charts.add(ChartType.PieExploded, 5, 0, 25, 10);
//Accessing the instance of the newly added chart
var chart = worksheet.charts.get(chartIndex);
//Adding NSeries (chart data source) to the chart ranging from "A1" cell to "B3"
chart.nSeries.add("A1:B3", true);
//Show Data Labels 
chart.nSeries.get(0).dataLabels.showValue = true;
for (var i = 0; i < chart.nSeries.get(0).points.count; i++) {
    //Get Data Point
    var point = chart.nSeries.get(0).points.get(i);
    //Set Pir Explosion
    point.explosion = 15;
    //Set Border Color
    point.border.color = Color.Red;
}

//Saving the Excel file
workbook.save("output/ChartsChartPoint.xls");

Properties

PropertyTypeDescription
explosionnumberThe distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.
shadowbooleanTrue if the chartpoint has a shadow.
borderLineReadonly. Gets the border.
areaAreaReadonly. Gets the area.
markerMarkerReadonly. Gets the marker.
dataLabelsDataLabelsReadonly. Returns a DataLabels object that represents the data label associated with this chart point.
yValueObjectGets or sets the Y value of the chart point.
yValueTypeCellValueTypeReadonly. Gets Y value type of the chart point.
xValueObjectGets or sets the X value of the chart point.
xValueTypeCellValueTypeReadonly. Gets X value type of the chart point.
shapePropertiesShapePropertyCollectionReadonly. Gets the ShapePropertyCollection object that holds the visual shape properties of the ChartPoint.
isInSecondaryPlotbooleanGets or sets a value indicates whether this data points is in the second pie or bar on a pie of pie or bar of pie chart
shapeXnumberReadonly. Gets the x coordinate of the upper left corner in units of 1/4000 of chart’s width after calls Chart.Calculate() method.
shapeYnumberReadonly. Gets the y coordinate of the upper left corner in units of 1/4000 of chart’s height after calls Chart.Calculate() method.
shapeWidthnumberReadonly. Gets the width in units of 1/4000 of chart’s width after calls Chart.Calculate() method.
shapeHeightnumberReadonly. Gets the height in units of 1/4000 of chart’s height after calls Chart.Calculate() method.
shapeXPxnumberReadonly. Gets the x coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.
shapeYPxnumberReadonly. Gets the y coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.
shapeWidthPxnumberReadonly. Gets the width in units of pixels after calls Chart.Calculate() method.
shapeHeightPxnumberReadonly. Gets the height in units of pixels after calls Chart.Calculate() method.
borderWidthPxnumberReadonly. Gets the width of border in units of pixels after calls Chart.Calculate() method.
radiusPxnumberReadonly. Gets the radius of bubble, pie or doughnut in units of pixels after calls Chart.Calculate() method.
doughnutInnerRadiusnumberReadonly. Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart.
innerRadiusPxnumberReadonly. Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart.
startAnglenumberReadonly. Gets the starting angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() method. Applies to Pie chart.
endAnglenumberReadonly. Gets the ending angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() method. Applies to Pie chart.
arcStartPointXPxnumberReadonly. Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
arcStartPointYPxnumberReadonly. Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
arcEndPointXPxnumberReadonly. Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
arcEndPointYPxnumberReadonly. Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
innerArcStartPointXPxnumberReadonly. Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.
innerArcStartPointYPxnumberReadonly. Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.
innerArcEndPointXPxnumberReadonly. Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.
innerArcEndPointYPxnumberReadonly. Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.

Methods

MethodDescription
getExplosion()@deprecated. Please use the ’explosion’ property instead. The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.
setExplosion(number)@deprecated. Please use the ’explosion’ property instead. The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.
getShadow()@deprecated. Please use the ‘shadow’ property instead. True if the chartpoint has a shadow.
setShadow(boolean)@deprecated. Please use the ‘shadow’ property instead. True if the chartpoint has a shadow.
getBorder()@deprecated. Please use the ‘border’ property instead. Gets the border.
getArea()@deprecated. Please use the ‘area’ property instead. Gets the area.
getMarker()@deprecated. Please use the ‘marker’ property instead. Gets the marker.
getDataLabels()@deprecated. Please use the ‘dataLabels’ property instead. Returns a DataLabels object that represents the data label associated with this chart point.
get_YValue()@deprecated. Please use the ‘yValue’ property instead. Gets or sets the Y value of the chart point.
setYValue(Object)@deprecated. Please use the ‘yValue’ property instead. Gets or sets the Y value of the chart point.
getYValueType()@deprecated. Please use the ‘yValueType’ property instead. Gets Y value type of the chart point.
getXValue()@deprecated. Please use the ‘xValue’ property instead. Gets or sets the X value of the chart point.
setXValue(Object)@deprecated. Please use the ‘xValue’ property instead. Gets or sets the X value of the chart point.
getXValueType()@deprecated. Please use the ‘xValueType’ property instead. Gets X value type of the chart point.
getShapeProperties()@deprecated. Please use the ‘shapeProperties’ property instead. Gets the ShapePropertyCollection object that holds the visual shape properties of the ChartPoint.
isInSecondaryPlot()@deprecated. Please use the ‘isInSecondaryPlot’ property instead. Gets or sets a value indicates whether this data points is in the second pie or bar on a pie of pie or bar of pie chart
setIsInSecondaryPlot(boolean)@deprecated. Please use the ‘isInSecondaryPlot’ property instead. Gets or sets a value indicates whether this data points is in the second pie or bar on a pie of pie or bar of pie chart
getShapeX()@deprecated. Please use the ‘shapeX’ property instead. Gets the x coordinate of the upper left corner in units of 1/4000 of chart’s width after calls Chart.Calculate() method.
getShapeY()@deprecated. Please use the ‘shapeY’ property instead. Gets the y coordinate of the upper left corner in units of 1/4000 of chart’s height after calls Chart.Calculate() method.
getShapeWidth()@deprecated. Please use the ‘shapeWidth’ property instead. Gets the width in units of 1/4000 of chart’s width after calls Chart.Calculate() method.
getShapeHeight()@deprecated. Please use the ‘shapeHeight’ property instead. Gets the height in units of 1/4000 of chart’s height after calls Chart.Calculate() method.
getShapeXPx()@deprecated. Please use the ‘shapeXPx’ property instead. Gets the x coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.
getShapeYPx()@deprecated. Please use the ‘shapeYPx’ property instead. Gets the y coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.
getShapeWidthPx()@deprecated. Please use the ‘shapeWidthPx’ property instead. Gets the width in units of pixels after calls Chart.Calculate() method.
getShapeHeightPx()@deprecated. Please use the ‘shapeHeightPx’ property instead. Gets the height in units of pixels after calls Chart.Calculate() method.
getBorderWidthPx()@deprecated. Please use the ‘borderWidthPx’ property instead. Gets the width of border in units of pixels after calls Chart.Calculate() method.
getRadiusPx()@deprecated. Please use the ‘radiusPx’ property instead. Gets the radius of bubble, pie or doughnut in units of pixels after calls Chart.Calculate() method.
getDoughnutInnerRadius()@deprecated. Please use the ‘doughnutInnerRadius’ property instead. Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart.
getInnerRadiusPx()@deprecated. Please use the ‘innerRadiusPx’ property instead. Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart.
getStartAngle()@deprecated. Please use the ‘startAngle’ property instead. Gets the starting angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() method. Applies to Pie chart.
getEndAngle()@deprecated. Please use the ’endAngle’ property instead. Gets the ending angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() method. Applies to Pie chart.
getArcStartPointXPx()@deprecated. Please use the ‘arcStartPointXPx’ property instead. Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
getArcStartPointYPx()@deprecated. Please use the ‘arcStartPointYPx’ property instead. Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
getArcEndPointXPx()@deprecated. Please use the ‘arcEndPointXPx’ property instead. Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
getArcEndPointYPx()@deprecated. Please use the ‘arcEndPointYPx’ property instead. Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
getInnerArcStartPointXPx()@deprecated. Please use the ‘innerArcStartPointXPx’ property instead. Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.
getInnerArcStartPointYPx()@deprecated. Please use the ‘innerArcStartPointYPx’ property instead. Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.
getInnerArcEndPointXPx()@deprecated. Please use the ‘innerArcEndPointXPx’ property instead. Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.
getInnerArcEndPointYPx()@deprecated. Please use the ‘innerArcEndPointYPx’ property instead. Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.
getTopPointCount()Gets the number of top points after calls Chart.Calculate() method.
getTopPointXPx(number)Gets x-coordinate of the top point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Cone, Cylinder, Pyramid and Area3D
getTopPointYPx(number)Gets y-coordinate of the top point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Cone, Cylinder, Pyramid and Area3D
getBottomPointCount()Gets the number of bottom points after calls Chart.Calculate() method.
getBottomPointXPx(number)Gets x-coordinate of the bottom point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Cone, Cylinder, Pyramid
getBottomPointYPx(number)Gets y-coordinate of the bottom point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Cone, Cylinder, Pyramid
getOnCategoryAxisPointCount()Gets the number of the points on category axis after calls Chart.Calculate() method. Only applies to area chart.
getOnCategoryAxisPointXPx(number)Gets x-coordinate of the point on category axis after calls Chart.Calculate() method. Only applies to Area chart.
getOnCategoryAxisPointYPx(number)Gets y-coordinate of the point on category axis after calls Chart.Calculate() method. Only applies to Area chart.
isNull()Checks whether the implementation object is null.

explosion

The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.

explosion : number;

shadow

True if the chartpoint has a shadow.

shadow : boolean;

border

Readonly. Gets the border.

border : Line;

area

Readonly. Gets the area.

area : Area;

marker

Readonly. Gets the marker.

marker : Marker;

dataLabels

Readonly. Returns a DataLabels object that represents the data label associated with this chart point.

dataLabels : DataLabels;

yValue

Gets or sets the Y value of the chart point.

yValue : Object;

yValueType

Readonly. Gets Y value type of the chart point.

yValueType : CellValueType;

xValue

Gets or sets the X value of the chart point.

xValue : Object;

xValueType

Readonly. Gets X value type of the chart point.

xValueType : CellValueType;

shapeProperties

Readonly. Gets the ShapePropertyCollection object that holds the visual shape properties of the ChartPoint.

shapeProperties : ShapePropertyCollection;

isInSecondaryPlot

Gets or sets a value indicates whether this data points is in the second pie or bar on a pie of pie or bar of pie chart

isInSecondaryPlot : boolean;

shapeX

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

shapeX : number;

shapeY

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

shapeY : number;

shapeWidth

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

shapeWidth : number;

shapeHeight

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

shapeHeight : number;

shapeXPx

Readonly. Gets the x coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.

shapeXPx : number;

shapeYPx

Readonly. Gets the y coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.

shapeYPx : number;

shapeWidthPx

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

shapeWidthPx : number;

shapeHeightPx

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

shapeHeightPx : number;

borderWidthPx

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

borderWidthPx : number;

radiusPx

Readonly. Gets the radius of bubble, pie or doughnut in units of pixels after calls Chart.Calculate() method.

radiusPx : number;

doughnutInnerRadius

Readonly. Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart.

doughnutInnerRadius : number;

innerRadiusPx

Readonly. Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart.

innerRadiusPx : number;

Remarks

NOTE: This property is now obsolete. Instead, please use ChartPoint.DoughnutInnerRadius property. This property will be removed 12 months later since June 2024. Aspose apologizes for any inconvenience you may have experienced.

startAngle

Readonly. Gets the starting angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() method. Applies to Pie chart.

startAngle : number;

endAngle

Readonly. Gets the ending angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() method. Applies to Pie chart.

endAngle : number;

arcStartPointXPx

Readonly. Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.

arcStartPointXPx : number;

arcStartPointYPx

Readonly. Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.

arcStartPointYPx : number;

arcEndPointXPx

Readonly. Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.

arcEndPointXPx : number;

arcEndPointYPx

Readonly. Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.

arcEndPointYPx : number;

innerArcStartPointXPx

Readonly. Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.

innerArcStartPointXPx : number;

innerArcStartPointYPx

Readonly. Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.

innerArcStartPointYPx : number;

innerArcEndPointXPx

Readonly. Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.

innerArcEndPointXPx : number;

innerArcEndPointYPx

Readonly. Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.

innerArcEndPointYPx : number;

getExplosion()

@deprecated. Please use the ’explosion’ property instead. The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.

getExplosion() : number;

setExplosion(number)

@deprecated. Please use the ’explosion’ property instead. The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.

setExplosion(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

getShadow()

@deprecated. Please use the ‘shadow’ property instead. True if the chartpoint has a shadow.

getShadow() : boolean;

setShadow(boolean)

@deprecated. Please use the ‘shadow’ property instead. True if the chartpoint has a shadow.

setShadow(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getBorder()

@deprecated. Please use the ‘border’ property instead. Gets the border.

getBorder() : Line;

Returns

Line

getArea()

@deprecated. Please use the ‘area’ property instead. Gets the area.

getArea() : Area;

Returns

Area

getMarker()

@deprecated. Please use the ‘marker’ property instead. Gets the marker.

getMarker() : Marker;

Returns

Marker

getDataLabels()

@deprecated. Please use the ‘dataLabels’ property instead. Returns a DataLabels object that represents the data label associated with this chart point.

getDataLabels() : DataLabels;

Returns

DataLabels

get_YValue()

@deprecated. Please use the ‘yValue’ property instead. Gets or sets the Y value of the chart point.

get_YValue() : Object;

setYValue(Object)

@deprecated. Please use the ‘yValue’ property instead. Gets or sets the Y value of the chart point.

setYValue(value: Object) : void;

Parameters:

ParameterTypeDescription
valueObjectThe value to set.

getYValueType()

@deprecated. Please use the ‘yValueType’ property instead. Gets Y value type of the chart point.

getYValueType() : CellValueType;

Returns

CellValueType

getXValue()

@deprecated. Please use the ‘xValue’ property instead. Gets or sets the X value of the chart point.

getXValue() : Object;

setXValue(Object)

@deprecated. Please use the ‘xValue’ property instead. Gets or sets the X value of the chart point.

setXValue(value: Object) : void;

Parameters:

ParameterTypeDescription
valueObjectThe value to set.

getXValueType()

@deprecated. Please use the ‘xValueType’ property instead. Gets X value type of the chart point.

getXValueType() : CellValueType;

Returns

CellValueType

getShapeProperties()

@deprecated. Please use the ‘shapeProperties’ property instead. Gets the ShapePropertyCollection object that holds the visual shape properties of the ChartPoint.

getShapeProperties() : ShapePropertyCollection;

Returns

ShapePropertyCollection

isInSecondaryPlot()

@deprecated. Please use the ‘isInSecondaryPlot’ property instead. Gets or sets a value indicates whether this data points is in the second pie or bar on a pie of pie or bar of pie chart

isInSecondaryPlot() : boolean;

setIsInSecondaryPlot(boolean)

@deprecated. Please use the ‘isInSecondaryPlot’ property instead. Gets or sets a value indicates whether this data points is in the second pie or bar on a pie of pie or bar of pie chart

setIsInSecondaryPlot(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getShapeX()

@deprecated. Please use the ‘shapeX’ property instead. Gets the x coordinate of the upper left corner in units of 1/4000 of chart’s width after calls Chart.Calculate() method.

getShapeX() : number;

getShapeY()

@deprecated. Please use the ‘shapeY’ property instead. Gets the y coordinate of the upper left corner in units of 1/4000 of chart’s height after calls Chart.Calculate() method.

getShapeY() : number;

getShapeWidth()

@deprecated. Please use the ‘shapeWidth’ property instead. Gets the width in units of 1/4000 of chart’s width after calls Chart.Calculate() method.

getShapeWidth() : number;

getShapeHeight()

@deprecated. Please use the ‘shapeHeight’ property instead. Gets the height in units of 1/4000 of chart’s height after calls Chart.Calculate() method.

getShapeHeight() : number;

getShapeXPx()

@deprecated. Please use the ‘shapeXPx’ property instead. Gets the x coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.

getShapeXPx() : number;

getShapeYPx()

@deprecated. Please use the ‘shapeYPx’ property instead. Gets the y coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.

getShapeYPx() : number;

getShapeWidthPx()

@deprecated. Please use the ‘shapeWidthPx’ property instead. Gets the width in units of pixels after calls Chart.Calculate() method.

getShapeWidthPx() : number;

getShapeHeightPx()

@deprecated. Please use the ‘shapeHeightPx’ property instead. Gets the height in units of pixels after calls Chart.Calculate() method.

getShapeHeightPx() : number;

getBorderWidthPx()

@deprecated. Please use the ‘borderWidthPx’ property instead. Gets the width of border in units of pixels after calls Chart.Calculate() method.

getBorderWidthPx() : number;

getRadiusPx()

@deprecated. Please use the ‘radiusPx’ property instead. Gets the radius of bubble, pie or doughnut in units of pixels after calls Chart.Calculate() method.

getRadiusPx() : number;

getDoughnutInnerRadius()

@deprecated. Please use the ‘doughnutInnerRadius’ property instead. Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart.

getDoughnutInnerRadius() : number;

getInnerRadiusPx()

@deprecated. Please use the ‘innerRadiusPx’ property instead. Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart.

getInnerRadiusPx() : number;

Remarks

NOTE: This property is now obsolete. Instead, please use ChartPoint.DoughnutInnerRadius property. This property will be removed 12 months later since June 2024. Aspose apologizes for any inconvenience you may have experienced.

getStartAngle()

@deprecated. Please use the ‘startAngle’ property instead. Gets the starting angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() method. Applies to Pie chart.

getStartAngle() : number;

getEndAngle()

@deprecated. Please use the ’endAngle’ property instead. Gets the ending angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() method. Applies to Pie chart.

getEndAngle() : number;

getArcStartPointXPx()

@deprecated. Please use the ‘arcStartPointXPx’ property instead. Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.

getArcStartPointXPx() : number;

getArcStartPointYPx()

@deprecated. Please use the ‘arcStartPointYPx’ property instead. Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.

getArcStartPointYPx() : number;

getArcEndPointXPx()

@deprecated. Please use the ‘arcEndPointXPx’ property instead. Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.

getArcEndPointXPx() : number;

getArcEndPointYPx()

@deprecated. Please use the ‘arcEndPointYPx’ property instead. Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.

getArcEndPointYPx() : number;

getInnerArcStartPointXPx()

@deprecated. Please use the ‘innerArcStartPointXPx’ property instead. Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.

getInnerArcStartPointXPx() : number;

getInnerArcStartPointYPx()

@deprecated. Please use the ‘innerArcStartPointYPx’ property instead. Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.

getInnerArcStartPointYPx() : number;

getInnerArcEndPointXPx()

@deprecated. Please use the ‘innerArcEndPointXPx’ property instead. Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.

getInnerArcEndPointXPx() : number;

getInnerArcEndPointYPx()

@deprecated. Please use the ‘innerArcEndPointYPx’ property instead. Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.

getInnerArcEndPointYPx() : number;

getTopPointCount()

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

getTopPointCount() : number;

getTopPointXPx(number)

Gets x-coordinate of the top point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Cone, Cylinder, Pyramid and Area3D

getTopPointXPx(index: number) : number;

Parameters:

ParameterTypeDescription
indexnumber

getTopPointYPx(number)

Gets y-coordinate of the top point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Cone, Cylinder, Pyramid and Area3D

getTopPointYPx(index: number) : number;

Parameters:

ParameterTypeDescription
indexnumber

getBottomPointCount()

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

getBottomPointCount() : number;

getBottomPointXPx(number)

Gets x-coordinate of the bottom point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Cone, Cylinder, Pyramid

getBottomPointXPx(index: number) : number;

Parameters:

ParameterTypeDescription
indexnumber

getBottomPointYPx(number)

Gets y-coordinate of the bottom point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Cone, Cylinder, Pyramid

getBottomPointYPx(index: number) : number;

Parameters:

ParameterTypeDescription
indexnumber

getOnCategoryAxisPointCount()

Gets the number of the points on category axis after calls Chart.Calculate() method. Only applies to area chart.

getOnCategoryAxisPointCount() : number;

Remarks

Area 2D chart return 1 Area 3D chart return 2.

getOnCategoryAxisPointXPx(number)

Gets x-coordinate of the point on category axis after calls Chart.Calculate() method. Only applies to Area chart.

getOnCategoryAxisPointXPx(index: number) : number;

Parameters:

ParameterTypeDescription
indexnumber

Remarks

Area 2D chart: index is 0. Area 3D chart: index is 0 or 1.

getOnCategoryAxisPointYPx(number)

Gets y-coordinate of the point on category axis after calls Chart.Calculate() method. Only applies to Area chart.

getOnCategoryAxisPointYPx(index: number) : number;

Parameters:

ParameterTypeDescription
indexnumber

Remarks

Area 2D chart: index is 0. Area 3D chart: index is 0 or 1.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;