ChartPoint
ChartPoint class
Represents a single point in a series in a chart.
Properties
| Name | Type | Description |
|---|---|---|
| Explosion | int | 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 | Gets the Line . |
| Area | Area | Gets the Area . |
| Marker | Marker | Gets the Marker . |
| DataLabels | DataLabels | 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 | int | Gets Y value type of the chart point. The value of the property is CellValueType integer constant. |
| XValue | Object | Gets or sets the X value of the chart point. |
| XValueType | int | Gets X value type of the chart point. The value of the property is CellValueType integer constant. |
| ShapeProperties | ShapePropertyCollection | 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 | int | Gets the x coordinate of the upper left corner in units of 1/4000 of chart’s width after calls Chart.Calculate() method. |
| ShapeY | int | Gets the y coordinate of the upper left corner in units of 1/4000 of chart’s height after calls Chart.Calculate() method |
| ShapeWidth | int | Gets the width in units of 1/4000 of chart’s width after calls Chart.Calculate() method. |
| ShapeHeight | int | Gets the height in units of 1/4000 of chart’s height after calls Chart.Calculate() method. |
| ShapeXPx | int | Gets the x coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method. |
| ShapeYPx | int | Gets the y coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method. |
| ShapeWidthPx | int | Gets the width in units of pixels after calls Chart.Calculate() method. |
| ShapeHeightPx | int | Gets the height in units of pixels after calls Chart.Calculate() method. |
| BorderWidthPx | int | Gets the width of border in units of pixels after calls Chart.Calculate() method. |
| RadiusPx | int | Gets the radius of bubble, pie or doughnut in units of pixels after calls Chart.Calculate() method. |
| DoughnutInnerRadius | int | Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut cha |
| InnerRadiusPx | int | Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut cha |
| StartAngle | float | Gets the starting angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() |
| EndAngle | float | Gets the ending angle for the pie section, measured in degrees clockwise from the x-axis after calls Chart.Calculate() m |
| ArcStartPointXPx | float | Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dou |
| ArcStartPointYPx | float | Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dou |
| ArcEndPointXPx | float | Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dough |
| ArcEndPointYPx | float | Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Dough |
| InnerArcStartPointXPx | float | Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut ch |
| InnerArcStartPointYPx | float | Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut ch |
| InnerArcEndPointXPx | float | Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut char |
| InnerArcEndPointYPx | float | Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut char |
Methods
| Name | Description |
|---|---|
| getTopPointCount | Gets the number of top points after calls Chart.Calculate() method. |
| getTopPointXPx | Gets x-coordinate of the top point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Co |
| getTopPointYPx | Gets y-coordinate of the top point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Co |
| getBottomPointCount | Gets the number of bottom points after calls Chart.Calculate() method. |
| getBottomPointXPx | Gets x-coordinate of the bottom point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, |
| getBottomPointYPx | Gets y-coordinate of the bottom point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, |
| getOnCategoryAxisPointCount | Gets 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.