public interface ChartAxis extends Persistent, Cloneable
Modifier and Type | Method and Description |
---|---|
ChartAxis |
clone() |
void |
draw()
Draws the ChartAxis with its current characteristics
|
String |
getChartAxisTitle()
Gets the axis' title
|
ChartService |
getChartService() |
int |
getLabelAngle()
Gets the current label paint
|
Font |
getLabelFont() |
Paint |
getLabelPaint()
Gets the current label paint
|
ChartAxis |
getSharedAxis() |
Font |
getTitleFont() |
boolean |
isAssociatedAxis() |
boolean |
isAxisShared()
Check if the axis is shared with another
|
boolean |
isAxisTitleEdited() |
boolean |
isCategoryAxis() |
boolean |
isChartAxisTitleVisible() |
boolean |
isVisible() |
void |
setCategoryLabelPositions(float domainAxisPosition) |
void |
setChartAxisTitle(String title)
Sets a title to the axis
|
void |
setChartService(ChartService cs) |
void |
setIsAxisTitleEdited(boolean isAxisTitleEdited) |
void |
setIsChartAxisTitleVisible(boolean title) |
void |
setIsSharedAxis(boolean b) |
void |
setLabelAngle(int angle)
Establishes a paint to the label
|
void |
setLabelFont(Font font) |
void |
setLabelPaint(Paint paint)
Establishes a paint to the label
|
void |
setSharedAxis(ChartAxis chartAxis) |
void |
setTitleFont(Font font) |
void |
setVisible(boolean visible) |
loadFromState, saveToState
String getChartAxisTitle()
void setChartAxisTitle(String title)
title
- boolean isChartAxisTitleVisible()
void setIsChartAxisTitleVisible(boolean title)
Font getTitleFont()
void setTitleFont(Font font)
void draw()
Paint getLabelPaint()
void setLabelPaint(Paint paint)
paint
- Font getLabelFont()
void setLabelFont(Font font)
int getLabelAngle()
void setLabelAngle(int angle)
paint
- boolean isAxisShared()
ChartAxis getSharedAxis()
boolean isAssociatedAxis()
boolean isVisible()
void setVisible(boolean visible)
boolean isCategoryAxis()
void setIsSharedAxis(boolean b)
void setSharedAxis(ChartAxis chartAxis)
ChartAxis clone()
ChartService getChartService()
void setChartService(ChartService cs)
boolean isAxisTitleEdited()
void setIsAxisTitleEdited(boolean isAxisTitleEdited)
void setCategoryLabelPositions(float domainAxisPosition)