|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.spire.presentation.PptObject
com.spire.presentation.charts.entity.ChartAxis
public class ChartAxis
Encapsulates the object that represents a chart's axis.
| Constructor Summary | |
|---|---|
ChartAxis()
|
|
ChartAxis(Chart parent)
|
|
ChartAxis(DateAxis axis,
Chart parent)
|
|
ChartAxis(PlotCategoryAxisData axis,
Chart parent)
|
|
ChartAxis(SeriesAxis axis,
Chart parent)
|
|
ChartAxis(ValueAxis axis,
Chart parent)
|
|
| Method Summary | |
|---|---|
AxisType |
getAxisType()
Gets CategoryAxis Type. |
ChartBaseUnitType |
getBaseUnitScale()
Represents the base unit scale for the category axis. |
ChartCrossesType |
getChartCrossType()
Represents the CrossType on the specified axis where the other axis crosses. |
IChartEffectFormat |
getChartEffectFormat()
Represents format of axis |
float |
getCrossAt()
Represents the point on the value axis where the category axis crosses it. |
int |
getCrossBetweenType()
Get CrossBetweenType |
ChartDisplayUnitType |
getDisplayUnit()
Returns or sets the unit label for the specified axis. |
int |
getLblOffset()
Get LblOffset |
int |
getLogScale()
Gets or sets the logarithmic base. |
IChartGridLine |
getMajorGridTextLines()
Represents major gridlines on a chart axis. |
TickMarkType |
getMajorTickMark()
Represents major tick marks. |
float |
getMajorUnit()
Represents the major units for the axis. |
ChartBaseUnitType |
getMajorUnitScale()
Represents the major unit scale for the category axis. |
float |
getMaxValue()
Get Maximum value on axis. |
IChartGridLine |
getMinorGridLines()
Represents minor gridlines on a chart axis. |
TickMarkType |
getMinorTickMark()
Represents the type of minor tick mark for the specified axis. |
float |
getMinorUnit()
Get Value of minor increment. |
ChartBaseUnitType |
getMinorUnitScale()
Represents the major unit scale for the category axis. |
float |
getMinValue()
Represents the minimum value on the value axis. |
java.lang.String |
getNumberFormat()
Gets number format string. |
AxisPositionType |
getPosition()
Represents position of axis |
ITextFrameProperties |
getTextProperties()
Represent text properties of axis |
float |
getTextRotationAngle()
Text rotation angle. |
TickLabelPositionType |
getTickLabelPosition()
Represents the position of tick-mark labels on the specified axis. |
long |
getTickLabelSpacing()
Represents the number of categories or series between tick-mark labels. |
ChartTextArea |
getTitle()
Gets the axis' title. |
boolean |
hasDataSource()
Indicates whether the format is linked source data. |
void |
hasDataSource(boolean value)
Indicates whether the format is linked source data. |
boolean |
hasMultiLvlLbl()
Get hasMultiLvlLbl. |
void |
hasMultiLvlLbl(boolean hasMultiLvlLbl)
set hasMultiLvlLbl. |
boolean |
hasTitle()
Indicates whether a axis has a visible title. |
void |
hasTitle(boolean value)
Indicates whether a axis has a visible title. |
boolean |
isAutoMajor()
Automatic major selected |
void |
isAutoMajor(boolean value)
Automatic major selected |
boolean |
isAutomaticTickLabelSpacing()
Specifies automatic tick label spacing value. |
void |
isAutomaticTickLabelSpacing(boolean value)
Specifies automatic tick label spacing value. |
boolean |
isAutoMax()
Automatic maximum selected. |
void |
isAutoMax(boolean value)
Automatic maximum selected. |
boolean |
isAutoMin()
Automatic minimum selected. |
void |
isAutoMin(boolean value)
Automatic minimum selected. |
boolean |
isAutoMinor()
Indicates whether the minor unit of the axis is automatically assigned. |
void |
isAutoMinor(boolean value)
Indicates whether the minor unit of the axis is automatically assigned. |
boolean |
isCrossCategories()
Indicates that the value axis crosses the category axis between categorie |
void |
isCrossCategories(boolean value)
Set that the value axis crosses the category axis between categorie |
boolean |
isLogScale()
Logarithmic scale. |
void |
isLogScale(boolean value)
Logarithmic scale. |
boolean |
isMergeSameLabel()
Get isMergeSameLabel |
void |
isMergeSameLabel(boolean mergeSameLabel)
Set isMergeSameLabel |
boolean |
isReversed()
Gets or set plots data points from last to first. |
void |
isReversed(boolean value)
Gets or set plots data points from last to first. |
boolean |
isVisible()
Gets or sets if the axis is visible. |
void |
isVisible(boolean value)
Gets or sets if the axis is visible. |
void |
setAxisType(AxisType value)
sets CategoryAxis Type. |
void |
setBaseUnitScale(ChartBaseUnitType value)
Set the base unit scale for the category axis. |
void |
setChartCrossType(ChartCrossesType value)
Sets the CrossType on the specified axis where the other axis crosses. |
void |
setCrossAt(float value)
Set the point on the value axis where the category axis crosses it. |
void |
setCrossBetweenType(int value)
Set CrossBetweenType |
void |
setDisplayUnit(ChartDisplayUnitType value)
Returns or sets the unit label for the specified axis. |
void |
setLogScale(int value)
Gets or sets the logarithmic base. |
void |
setMajorTickMark(TickMarkType value)
Represents major tick marks. |
void |
setMajorUnit(float value)
Set the major units for the axis. |
void |
setMajorUnitScale(ChartBaseUnitType value)
Set the major unit scale for the category axis. |
void |
setMaxValue(float value)
Set Maximum value on axis. |
void |
setMinorTickMark(TickMarkType value)
Set the type of minor tick mark for the specified axis. |
void |
setMinorUnit(float value)
Set Value of minor increment. |
void |
setMinorUnitScale(ChartBaseUnitType value)
Set the major unit scale for the category axis. |
void |
setMinValue(float value)
Set the minimum value on the value axis. |
void |
setNumberFormat(java.lang.String value)
Sets number format string. |
void |
setPosition(AxisPositionType value)
Set position of axis |
void |
setTextRotationAngle(float value)
Text rotation angle. |
void |
setTickLabelPosition(TickLabelPositionType value)
Set the position of tick-mark labels on the specified axis. |
void |
setTickLabelSpacing(long value)
Set the number of categories or series between tick-mark labels. |
| Methods inherited from class com.spire.presentation.PptObject |
|---|
checkDisposed, getParent |
| Methods inherited from interface com.spire.presentation.charts.entity.IChartAxis |
|---|
dispose, getParent |
| Constructor Detail |
|---|
public ChartAxis()
public ChartAxis(Chart parent)
public ChartAxis(ValueAxis axis,
Chart parent)
public ChartAxis(PlotCategoryAxisData axis,
Chart parent)
public ChartAxis(SeriesAxis axis,
Chart parent)
public ChartAxis(DateAxis axis,
Chart parent)
| Method Detail |
|---|
public boolean isMergeSameLabel()
isMergeSameLabel in interface IChartAxispublic void isMergeSameLabel(boolean mergeSameLabel)
isMergeSameLabel in interface IChartAxismergeSameLabel - public boolean hasMultiLvlLbl()
hasMultiLvlLbl in interface IChartAxispublic void hasMultiLvlLbl(boolean hasMultiLvlLbl)
hasMultiLvlLbl in interface IChartAxishasMultiLvlLbl - public boolean isCrossCategories()
isCrossCategories in interface IChartAxispublic void isCrossCategories(boolean value)
IChartAxis
isCrossCategories in interface IChartAxispublic float getCrossAt()
getCrossAt in interface IChartAxispublic void setCrossAt(float value)
IChartAxis
setCrossAt in interface IChartAxispublic ChartDisplayUnitType getDisplayUnit()
getDisplayUnit in interface IChartAxispublic void setDisplayUnit(ChartDisplayUnitType value)
setDisplayUnit in interface IChartAxisvalue - public boolean isAutoMax()
isAutoMax in interface IChartAxispublic void isAutoMax(boolean value)
isAutoMax in interface IChartAxisvalue - public float getMaxValue()
getMaxValue in interface IChartAxispublic void setMaxValue(float value)
setMaxValue in interface IChartAxisvalue - public float getMinorUnit()
getMinorUnit in interface IChartAxispublic void setMinorUnit(float value)
setMinorUnit in interface IChartAxisvalue - public boolean isAutoMinor()
isAutoMinor in interface IChartAxispublic void isAutoMinor(boolean value)
isAutoMinor in interface IChartAxisvalue - public float getMajorUnit()
getMajorUnit in interface IChartAxispublic void setMajorUnit(float value)
setMajorUnit in interface IChartAxisvalue - public boolean isAutoMajor()
isAutoMajor in interface IChartAxispublic void isAutoMajor(boolean value)
isAutoMajor in interface IChartAxispublic boolean isAutoMin()
isAutoMin in interface IChartAxispublic void isAutoMin(boolean value)
isAutoMin in interface IChartAxispublic float getMinValue()
getMinValue in interface IChartAxispublic void setMinValue(float value)
setMinValue in interface IChartAxisvalue - public boolean isLogScale()
isLogScale in interface IChartAxispublic void isLogScale(boolean value)
isLogScale in interface IChartAxisvalue - public int getLogScale()
getLogScale in interface IChartAxispublic void setLogScale(int value)
setLogScale in interface IChartAxisvalue - public boolean isReversed()
isReversed in interface IChartAxispublic void isReversed(boolean value)
isReversed in interface IChartAxisvalue - public boolean isVisible()
isVisible in interface IChartAxispublic void isVisible(boolean value)
isVisible in interface IChartAxisvalue - public TickMarkType getMajorTickMark()
getMajorTickMark in interface IChartAxispublic void setMajorTickMark(TickMarkType value)
setMajorTickMark in interface IChartAxisvalue - public TickMarkType getMinorTickMark()
getMinorTickMark in interface IChartAxispublic void setMinorTickMark(TickMarkType value)
setMinorTickMark in interface IChartAxisvalue - public TickLabelPositionType getTickLabelPosition()
getTickLabelPosition in interface IChartAxispublic void setTickLabelPosition(TickLabelPositionType value)
setTickLabelPosition in interface IChartAxisvalue - public ChartBaseUnitType getMajorUnitScale()
getMajorUnitScale in interface IChartAxispublic void setMajorUnitScale(ChartBaseUnitType value)
setMajorUnitScale in interface IChartAxisvalue - public ChartBaseUnitType getMinorUnitScale()
getMinorUnitScale in interface IChartAxispublic void setMinorUnitScale(ChartBaseUnitType value)
setMinorUnitScale in interface IChartAxisvalue - public ChartBaseUnitType getBaseUnitScale()
getBaseUnitScale in interface IChartAxispublic void setBaseUnitScale(ChartBaseUnitType value)
setBaseUnitScale in interface IChartAxisvalue - public IChartGridLine getMinorGridLines()
getMinorGridLines in interface IChartAxispublic IChartGridLine getMajorGridTextLines()
getMajorGridTextLines in interface IChartAxispublic IChartEffectFormat getChartEffectFormat()
getChartEffectFormat in interface IChartAxispublic ITextFrameProperties getTextProperties()
getTextProperties in interface IChartAxispublic ChartTextArea getTitle()
getTitle in interface IChartAxispublic ChartCrossesType getChartCrossType()
getChartCrossType in interface IChartAxispublic void setChartCrossType(ChartCrossesType value)
IChartAxis
setChartCrossType in interface IChartAxispublic AxisPositionType getPosition()
getPosition in interface IChartAxispublic void setPosition(AxisPositionType value)
setPosition in interface IChartAxisvalue - public boolean hasTitle()
hasTitle in interface IChartAxispublic void hasTitle(boolean value)
hasTitle in interface IChartAxispublic int getCrossBetweenType()
getCrossBetweenType in interface IChartAxispublic void setCrossBetweenType(int value)
setCrossBetweenType in interface IChartAxispublic java.lang.String getNumberFormat()
getNumberFormat in interface IChartAxispublic void setNumberFormat(java.lang.String value)
setNumberFormat in interface IChartAxisvalue - public boolean hasDataSource()
hasDataSource in interface IChartAxispublic void hasDataSource(boolean value)
hasDataSource in interface IChartAxisvalue - public float getTextRotationAngle()
getTextRotationAngle in interface IChartAxispublic void setTextRotationAngle(float value)
setTextRotationAngle in interface IChartAxisvalue - public long getTickLabelSpacing()
getTickLabelSpacing in interface IChartAxispublic void setTickLabelSpacing(long value)
setTickLabelSpacing in interface IChartAxisvalue - public boolean isAutomaticTickLabelSpacing()
isAutomaticTickLabelSpacing in interface IChartAxispublic void isAutomaticTickLabelSpacing(boolean value)
isAutomaticTickLabelSpacing in interface IChartAxisvalue - public int getLblOffset()
public AxisType getAxisType()
IChartAxis
getAxisType in interface IChartAxispublic void setAxisType(AxisType value)
IChartAxis
setAxisType in interface IChartAxis
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||