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
Property | Type | Description |
---|---|---|
explosion | number | The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter. |
shadow | boolean | True if the chartpoint has a shadow. |
border | Line | Readonly. Gets the |
area | Area | Readonly. Gets the |
marker | Marker | Readonly. Gets the |
dataLabels | DataLabels | Readonly. Returns a DataLabels object that represents the data label associated with this chart point. |
yValue | Object | Gets or sets the Y value of the chart point. |
yValueType | CellValueType | Readonly. Gets Y value type of the chart point. |
xValue | Object | Gets or sets the X value of the chart point. |
xValueType | CellValueType | Readonly. Gets X value type of the chart point. |
shapeProperties | ShapePropertyCollection | Readonly. Gets the ShapePropertyCollection object that holds the visual shape properties of the ChartPoint. |
isInSecondaryPlot | boolean | 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 |
shapeX | number | Readonly. Gets the x coordinate of the upper left corner in units of 1/4000 of chart’s width after calls Chart.Calculate() method. |
shapeY | number | Readonly. Gets the y coordinate of the upper left corner in units of 1/4000 of chart’s height after calls Chart.Calculate() method. |
shapeWidth | number | Readonly. Gets the width in units of 1/4000 of chart’s width after calls Chart.Calculate() method. |
shapeHeight | number | Readonly. Gets the height in units of 1/4000 of chart’s height after calls Chart.Calculate() method. |
shapeXPx | number | Readonly. Gets the x coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method. |
shapeYPx | number | Readonly. Gets the y coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method. |
shapeWidthPx | number | Readonly. Gets the width in units of pixels after calls Chart.Calculate() method. |
shapeHeightPx | number | Readonly. Gets the height in units of pixels after calls Chart.Calculate() method. |
borderWidthPx | number | Readonly. Gets the width of border in units of pixels after calls Chart.Calculate() method. |
radiusPx | number | Readonly. Gets the radius of bubble, pie or doughnut in units of pixels after calls Chart.Calculate() method. |
doughnutInnerRadius | number | Readonly. Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart. |
innerRadiusPx | number | Readonly. Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart. |
startAngle | number | 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. |
endAngle | number | 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. |
arcStartPointXPx | number | Readonly. Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart. |
arcStartPointYPx | number | Readonly. Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart. |
arcEndPointXPx | number | Readonly. Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart. |
arcEndPointYPx | number | Readonly. Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart. |
innerArcStartPointXPx | number | Readonly. Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart. |
innerArcStartPointYPx | number | Readonly. Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart. |
innerArcEndPointXPx | number | Readonly. Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart. |
innerArcEndPointYPx | number | Readonly. Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart. |
Methods
Method | Description |
---|---|
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 |
getArea() | @deprecated. Please use the ‘area’ property instead. Gets the |
getMarker() | @deprecated. Please use the ‘marker’ property instead. Gets the |
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 : Line;
area
Readonly. Gets the
area : Area;
marker
Readonly. Gets the
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:
Parameter | Type | Description |
---|---|---|
value | number | The 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:
Parameter | Type | Description |
---|---|---|
value | boolean | The value to set. |
getBorder()
@deprecated. Please use the ‘border’ property instead. Gets the
getBorder() : Line;
Returns
getArea()
@deprecated. Please use the ‘area’ property instead. Gets the
getArea() : Area;
Returns
getMarker()
@deprecated. Please use the ‘marker’ property instead. Gets the
getMarker() : Marker;
Returns
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
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:
Parameter | Type | Description |
---|---|---|
value | Object | The value to set. |
getYValueType()
@deprecated. Please use the ‘yValueType’ property instead. Gets Y value type of the chart point.
getYValueType() : CellValueType;
Returns
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:
Parameter | Type | Description |
---|---|---|
value | Object | The value to set. |
getXValueType()
@deprecated. Please use the ‘xValueType’ property instead. Gets X value type of the chart point.
getXValueType() : CellValueType;
Returns
getShapeProperties()
@deprecated. Please use the ‘shapeProperties’ property instead. Gets the ShapePropertyCollection object that holds the visual shape properties of the ChartPoint.
getShapeProperties() : ShapePropertyCollection;
Returns
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:
Parameter | Type | Description |
---|---|---|
value | boolean | The 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:
Parameter | Type | Description |
---|---|---|
index | number |
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:
Parameter | Type | Description |
---|---|---|
index | number |
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:
Parameter | Type | Description |
---|---|---|
index | number |
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:
Parameter | Type | Description |
---|---|---|
index | number |
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:
Parameter | Type | Description |
---|---|---|
index | number |
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:
Parameter | Type | Description |
---|---|---|
index | number |
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;