ChartPoint

ChartPoint class

Represents a single point in a series in a chart.

Properties

NameTypeDescription
ExplosionintThe 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.
YValueTypeintGets 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.
XValueTypeintGets 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
ShapeXintGets the x coordinate of the upper left corner in units of 1/4000 of chart’s width after calls Chart.Calculate() method.
ShapeYintGets the y coordinate of the upper left corner in units of 1/4000 of chart’s height after calls Chart.Calculate() method
ShapeWidthintGets the width in units of 1/4000 of chart’s width after calls Chart.Calculate() method.
ShapeHeightintGets the height in units of 1/4000 of chart’s height after calls Chart.Calculate() method.
ShapeXPxintGets the x coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.
ShapeYPxintGets the y coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.
ShapeWidthPxintGets the width in units of pixels after calls Chart.Calculate() method.
ShapeHeightPxintGets the height in units of pixels after calls Chart.Calculate() method.
BorderWidthPxintGets the width of border in units of pixels after calls Chart.Calculate() method.
RadiusPxintGets the radius of bubble, pie or doughnut in units of pixels after calls Chart.Calculate() method.
DoughnutInnerRadiusintGets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut cha
InnerRadiusPxintGets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut cha
StartAnglefloatGets the starting angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate()
EndAnglefloatGets the ending angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() m
ArcStartPointXPxfloatGets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dou
ArcStartPointYPxfloatGets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dou
ArcEndPointXPxfloatGets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dough
ArcEndPointYPxfloatGets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dough
InnerArcStartPointXPxfloatGets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut ch
InnerArcStartPointYPxfloatGets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut ch
InnerArcEndPointXPxfloatGets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut char
InnerArcEndPointYPxfloatGets 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: int

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: int

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: int

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: int

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: int

ChartPoint.ShapeWidth property

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

Type: int

ChartPoint.ShapeHeight property

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

Type: int

ChartPoint.ShapeXPx property

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

Type: int

ChartPoint.ShapeYPx property

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

Type: int

ChartPoint.ShapeWidthPx property

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

Type: int

ChartPoint.ShapeHeightPx property

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

Type: int

ChartPoint.BorderWidthPx property

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

Type: int

ChartPoint.RadiusPx property

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

Type: int

ChartPoint.DoughnutInnerRadius property

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

Type: int

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: int

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: float

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: float

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: float

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: float

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: float

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: float

ChartPoint.InnerArcStartPointXPx property

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

Type: float

ChartPoint.InnerArcStartPointYPx property

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

Type: float

ChartPoint.InnerArcEndPointXPx property

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

Type: float

ChartPoint.InnerArcEndPointYPx property

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

Type: float

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.