com.aspose.cells
Class ChartPoint

java.lang.Object
    extended by com.aspose.cells.ChartPoint

public class ChartPoint 
extends java.lang.Object

Represents a single point in a series in a chart.


Property Getters/Setters Summary
floatgetArcEndPointXPx()
           Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
floatgetArcEndPointYPx()
           Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
floatgetArcStartPointXPx()
           Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
floatgetArcStartPointYPx()
           Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Pie and Doughnut chart.
AreagetArea()
           Gets the Area.
LinegetBorder()
           Gets the Line.
intgetBorderWidthPx()
           Gets the width of border in units of pixels after calls Chart.Calculate() method.
DataLabelsgetDataLabels()
           Returns a DataLabels object that represents the data label associated with the point.
floatgetEndAngle()
           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.
intgetExplosion()
voidsetExplosion(int)
           The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.
floatgetInnerArcEndPointXPx()
           Gets the x coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.
floatgetInnerArcEndPointYPx()
           Gets the y coordinate of ending point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.
floatgetInnerArcStartPointXPx()
           Gets the x coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.
floatgetInnerArcStartPointYPx()
           Gets the y coordinate of starting point for the pie section after calls Chart.Calculate() method. Applies to Doughnut chart.
intgetInnerRadiusPx()
           Gets the inner radius of doughnut slice in units of pixels after calls Chart.Calculate() method. Applies to Doughnut chart.
booleanisInSecondaryPlot()
voidsetInSecondaryPlot(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
MarkergetMarker()
           Gets the Marker.
intgetRadiusPx()
           Gets the radius of bubble, pie or doughnut in units of pixels after calls Chart.Calculate() method.
booleangetShadow()
voidsetShadow(boolean)
           True if the chartpoint has a shadow.
intgetShapeHeight()
           Gets the height in units of 1/4000 of chart's height after calls Chart.Calculate() method.
intgetShapeHeightPx()
           Gets the height in units of pixels after calls Chart.Calculate() method.
ShapePropertyCollectiongetShapeProperties()
           Gets the object that holds the visual shape properties of the ChartPoint.
intgetShapeWidth()
           Gets the width in units of 1/4000 of chart's width after calls Chart.Calculate() method.
intgetShapeWidthPx()
           Gets the width in units of pixels after calls Chart.Calculate() method.
intgetShapeX()
           Gets the x coordinate of the upper left corner in units of 1/4000 of chart's width after calls Chart.Calculate() method.
intgetShapeXPx()
           Gets the x coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.
intgetShapeY()
           Gets the y coordinate of the upper left corner in units of 1/4000 of chart's height after calls Chart.Calculate() method.
intgetShapeYPx()
           Gets the y coordinate of the upper left corner in units of pixels after calls Chart.Calculate() method.
floatgetStartAngle()
           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.
java.lang.ObjectgetXValue()
voidsetXValue(java.lang.Object)
           Gets or sets the X value of the chart point.
intgetXValueType()
           Gets X value type of the chart point. The value of the property is CellValueType integer constant.
java.lang.ObjectgetYValue()
voidsetYValue(java.lang.Object)
           Gets or sets the Y value of the chart point.
intgetYValueType()
           Gets Y value type of the chart point. The value of the property is CellValueType integer constant.
 
Method Summary
intgetBottomPointCount()
           Gets the number of bottom points after calls Chart.Calculate() method.
floatgetBottomPointXPx(int index)
           Gets x-coordinate of the bottom point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Cone, Cylinder, Pyramid
floatgetBottomPointYPx(int index)
           Gets y-coordinate of the bottom point of shape after calls Chart.Calculate() method. Applies 3D charts: Column3D, Bar3D, Cone, Cylinder, Pyramid
intgetOnCategoryAxisPointCount()
           Gets the number of the points on category axis after calls Chart.Calculate() method. Only applies to area chart.
floatgetOnCategoryAxisPointXPx(int index)
           Gets x-coordinate of the point on category axis after calls Chart.Calculate() method. Only applies to Area chart.
floatgetOnCategoryAxisPointYPx(int index)
           Gets y-coordinate of the point on category axis after calls Chart.Calculate() method. Only applies to Area chart.
intgetTopPointCount()
           Gets the number of top points after calls Chart.Calculate() method.
floatgetTopPointXPx(int 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
floatgetTopPointYPx(int 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
 

Property Getters/Setters Detail

getExplosion/setExplosion

public int getExplosion() / public void setExplosion(int value)
The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.

setExplosion

public void setExplosion(int value)
The distance of an open pie slice from the center of the pie chart is expressed as a percentage of the pie diameter.

getShadow/setShadow

public boolean getShadow() / public void setShadow(boolean value)
True if the chartpoint has a shadow.

setShadow

public void setShadow(boolean value)
True if the chartpoint has a shadow.

getBorder

public Line getBorder()
Gets the Line.

getArea

public Area getArea()
Gets the Area.

getMarker

public Marker getMarker()
Gets the Marker.

getDataLabels

public DataLabels getDataLabels()
Returns a DataLabels object that represents the data label associated with the point.

getYValue/setYValue

public java.lang.Object getYValue() / public void setYValue(java.lang.Object value)
Gets or sets the Y value of the chart point.

setYValue

public void setYValue(java.lang.Object value)
Gets or sets the Y value of the chart point.

getYValueType

public int getYValueType()
Gets Y value type of the chart point. The value of the property is CellValueType integer constant.

getXValue/setXValue

public java.lang.Object getXValue() / public void setXValue(java.lang.Object value)
Gets or sets the X value of the chart point.

setXValue

public void setXValue(java.lang.Object value)
Gets or sets the X value of the chart point.

getXValueType

public int getXValueType()
Gets X value type of the chart point. The value of the property is CellValueType integer constant.

getShapeProperties

public ShapePropertyCollection getShapeProperties()
Gets the object that holds the visual shape properties of the ChartPoint.
See Also:
ShapePropertyCollection

isInSecondaryPlot/setInSecondaryPlot

public boolean isInSecondaryPlot() / public void setInSecondaryPlot(boolean value)
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

setInSecondaryPlot

public void setInSecondaryPlot(boolean value)
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

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

getShapeY

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

getShapeWidth

public int getShapeWidth()
Gets the width in units of 1/4000 of chart's width after calls Chart.Calculate() method.

getShapeHeight

public int getShapeHeight()
Gets the height in units of 1/4000 of chart's height after calls Chart.Calculate() method.

getShapeXPx

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

getShapeYPx

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

getShapeWidthPx

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

getShapeHeightPx

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

getBorderWidthPx

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

getRadiusPx

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

getInnerRadiusPx

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

getStartAngle

public float getStartAngle()
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

public float getEndAngle()
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

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

getArcStartPointYPx

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

getArcEndPointXPx

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

getArcEndPointYPx

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

getInnerArcStartPointXPx

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

getInnerArcStartPointYPx

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

getInnerArcEndPointXPx

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

getInnerArcEndPointYPx

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

Method Detail

getTopPointCount

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

getTopPointXPx

public float getTopPointXPx(int 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

public float getTopPointYPx(int 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

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

getBottomPointXPx

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

getBottomPointYPx

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

getOnCategoryAxisPointCount

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

public float getOnCategoryAxisPointXPx(int 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

public float getOnCategoryAxisPointYPx(int 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.

See Also:
          Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
          Aspose.Cells Support Forum - our preferred method of support.