ChartPoint

ChartPoint class

Represents a single point in a series in a chart.

Properties

NameTypeDescription
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.
BorderLineGets the Line .
AreaAreaGets the Area .
MarkerMarkerGets the Marker .
DataLabelsDataLabelsReturns a DataLabels object that represents the data label associated with this chart point.
YValueObjectGets or sets the Y value of the chart point.
YValueTypeNumberGets Y value type of the chart point. The value of the property is CellValueType integer constant.
XValueObjectGets or sets the X value of the chart point.
XValueTypeNumberGets X value type of the chart point. The value of the property is CellValueType integer constant.
ShapePropertiesShapePropertyCollectionGets 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
ShapeXNumberGets the x coordinate of the upper left corner in units of 1/4000 of chart’s width after calls Chart.Calculate() method.
ShapeYNumberGets the y coordinate of the upper left corner in units of 1/4000 of chart’s height after calls Chart.Calculate() method
ShapeWidthNumberGets the width in units of 1/4000 of chart’s width after calls Chart.Calculate() method.
ShapeHeightNumberGets the height in units of 1/4000 of chart’s height after calls Chart.Calculate() method.
ShapeXPxNumberGets the x coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.
ShapeYPxNumberGets the y coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.
ShapeWidthPxNumberGets the width in units of pixels after calls Chart.Calculate() method.
ShapeHeightPxNumberGets the height in units of pixels after calls Chart.Calculate() method.
BorderWidthPxNumberGets the width of border in units of pixels after calls Chart.Calculate() method.
RadiusPxNumberGets the radius of bubble, pie or doughnut in units of pixels after calls Chart.Calculate() method.
DoughnutInnerRadiusNumberGets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut cha
InnerRadiusPxNumberGets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut cha
StartAngleNumberGets the starting angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate()
EndAngleNumberGets the ending angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() m
ArcStartPointXPxNumberGets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dou
ArcStartPointYPxNumberGets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dou
ArcEndPointXPxNumberGets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dough
ArcEndPointYPxNumberGets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dough
InnerArcStartPointXPxNumberGets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut ch
InnerArcStartPointYPxNumberGets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut ch
InnerArcEndPointXPxNumberGets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut char
InnerArcEndPointYPxNumberGets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut char

Methods

NameDescription
getTopPointCountGets the number of top points after calls Chart.Calculate() method.
getTopPointXPxGets x-coordinate of the top point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Co
getTopPointYPxGets y-coordinate of the top point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Co
getBottomPointCountGets the number of bottom points after calls Chart.Calculate() method.
getBottomPointXPxGets x-coordinate of the bottom point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D,
getBottomPointYPxGets y-coordinate of the bottom point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D,
getOnCategoryAxisPointCountGets the number of the points on category axis after calls Chart.Calculate() method. Only applies to area chart.

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

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

Area |

ChartPoint.Explosion property

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

Type: Number

ChartPoint.Shadow property

True if the chartpoint has a shadow.

Type: boolean

ChartPoint.Border property

Gets the Line .

Type: Line

ChartPoint.Area property

Gets the Area .

Type: Area

ChartPoint.Marker property

Gets the Marker .

Type: Marker

ChartPoint.DataLabels property

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

Type: DataLabels

ChartPoint.YValue property

Gets or sets the Y value of the chart point.

Type: Object

ChartPoint.YValueType property

Gets Y value type of the chart point. The value of the property is CellValueType integer constant.

Type: Number

ChartPoint.XValue property

Gets or sets the X value of the chart point.

Type: Object

ChartPoint.XValueType property

Gets X value type of the chart point. The value of the property is CellValueType integer constant.

Type: Number

ChartPoint.ShapeProperties property

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

Type: ShapePropertyCollection

ChartPoint.IsInSecondaryPlot property

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

Type: boolean

ChartPoint.ShapeX property

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

Type: Number

ChartPoint.ShapeY property

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

Type: Number

ChartPoint.ShapeWidth property

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

Type: Number

ChartPoint.ShapeHeight property

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

Type: Number

ChartPoint.ShapeXPx property

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

Type: Number

ChartPoint.ShapeYPx property

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

Type: Number

ChartPoint.ShapeWidthPx property

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

Type: Number

ChartPoint.ShapeHeightPx property

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

Type: Number

ChartPoint.BorderWidthPx property

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

Type: Number

ChartPoint.RadiusPx property

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

Type: Number

ChartPoint.DoughnutInnerRadius property

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

Type: Number

ChartPoint.InnerRadiusPx property

Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart. 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.

Type: Number

ChartPoint.StartAngle property

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.

Type: Number

ChartPoint.EndAngle property

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.

Type: Number

ChartPoint.ArcStartPointXPx property

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

Type: Number

ChartPoint.ArcStartPointYPx property

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

Type: Number

ChartPoint.ArcEndPointXPx property

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

Type: Number

ChartPoint.ArcEndPointYPx property

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

Type: Number

ChartPoint.InnerArcStartPointXPx property

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

Type: Number

ChartPoint.InnerArcStartPointYPx property

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

Type: Number

ChartPoint.InnerArcEndPointXPx property

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

Type: Number

ChartPoint.InnerArcEndPointYPx property

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

Type: Number

getTopPointCount()

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

getTopPointXPx(index)

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(index)

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(index)

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

getBottomPointYPx(index)

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.

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

getOnCategoryAxisPointXPx(index)

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

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

getOnCategoryAxisPointYPx(index)

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

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