public abstract class AxisRenderer
extends com.mindfusion.charting.components.Component
Axis
ranges.Modifier | Constructor and Description |
---|---|
protected |
AxisRenderer(Axis axis)
Initializes a new instance of the AxisRenderer class.
|
Modifier and Type | Method and Description |
---|---|
Axis |
getAxis()
The Axis that will be drawn by this object.
|
com.mindfusion.drawing.Brush |
getAxisStroke()
Gets the Brush that should be used to draw axis lines.
|
com.mindfusion.drawing.DashStyle |
getAxisStrokeDashStyle()
Gets the dash style axis lines should be stroked with.
|
java.lang.Double |
getAxisStrokeThickness()
Gets the thickness axis lines should be stroked with.
|
com.mindfusion.drawing.Align |
getLabelAlignment()
Gets the alignment of data labels.
|
com.mindfusion.drawing.Brush |
getLabelBrush()
Gets the Brush that should be used to draw axis labels.
|
java.lang.String |
getLabelFontName()
Gets the name of font that should be used to draw axis labels.
|
java.lang.Double |
getLabelFontSize()
Gets the size of font that should be used to draw axis labels.
|
java.util.EnumSet<com.mindfusion.drawing.FontStyle> |
getLabelFontStyle()
Gets the style of font that should be used to draw axis labels.
|
double |
getLabelPadding()
Gets the padding space between the axis line and coordinate labels.
|
double |
getLabelRotationAngle()
Gets the rotation angle of data labels.
|
SeriesContainer |
getLabelsSource()
Gets the object whose Series labels should be rendered along this axis.
|
boolean |
getPinLabels()
Gets a value indicating whether coordinate labels should be pinned
in place or scroll together with the plot when users pan it.
|
boolean |
getShowCoordinates()
Gets a value indicating whether this AxisRenderer should draw axis coordinates.
|
boolean |
getShowSeriesLabels()
Gets a value indicating whether this AxisRenderer should draw data labels.
|
boolean |
getShowTicks()
Gets a value indicating whether this AxisRenderer should draw axis ticks.
|
com.mindfusion.drawing.Brush |
getTitleBrush()
Gets the Brush that should be used to draw the axis Title.
|
java.lang.String |
getTitleFontName()
Gets the name of font that should be used to draw the axis Title.
|
java.lang.Double |
getTitleFontSize()
Gets the size of font that should be used to draw the axis Title.
|
java.util.EnumSet<com.mindfusion.drawing.FontStyle> |
getTitleFontStyle()
Gets the style of font that should be used to draw the axis Title.
|
void |
setAxis(Axis value)
The Axis that will be drawn by this object.
|
void |
setAxisStroke(com.mindfusion.drawing.Brush value)
Sets the Brush that should be used to draw axis lines.
|
void |
setAxisStrokeDashStyle(com.mindfusion.drawing.DashStyle value)
Sets the dash style axis lines should be stroked with.
|
void |
setAxisStrokeThickness(double value)
Sets the thickness axis lines should be stroked with.
|
void |
setLabelAlignment(com.mindfusion.drawing.Align alignment)
Sets the alignment of data labels.
|
void |
setLabelBrush(com.mindfusion.drawing.Brush value)
Sets the Brush that should be used to draw axis labels.
|
void |
setLabelFontName(java.lang.String value)
Sets the name of font that should be used to draw axis labels.
|
void |
setLabelFontSize(java.lang.Double value)
Sets the size of font that should be used to draw axis labels.
|
void |
setLabelFontStyle(java.util.EnumSet<com.mindfusion.drawing.FontStyle> value)
Sets the style of font that should be used to draw axis labels.
|
void |
setLabelPadding(double value)
Sets the padding space between the axis line and coordinate labels.
|
void |
setLabelRotationAngle(double value)
Sets the rotation angle of data labels.
|
void |
setLabelsSource(SeriesContainer value)
Sets the object whose Series labels should be rendered along this axis.
|
void |
setPinLabels(boolean value)
Sets a value indicating whether coordinate labels should be pinned
in place or scroll together with the plot when users pan it.
|
void |
setShowCoordinates(boolean value)
Sets a value indicating whether this AxisRenderer should draw axis coordinates.
|
void |
setShowSeriesLabels(boolean value)
Sets a value indicating whether this AxisRenderer should draw data labels.
|
void |
setShowTicks(boolean value)
Sets a value indicating whether this AxisRenderer should draw axis ticks.
|
void |
setTitleBrush(com.mindfusion.drawing.Brush value)
Sets the Brush that should be used to draw the axis Title.
|
void |
setTitleFontName(java.lang.String value)
Sets the name of font that should be used to draw the axis Title.
|
void |
setTitleFontSize(java.lang.Double value)
Sets the size of font that should be used to draw the axis Title.
|
void |
setTitleFontStyle(java.util.EnumSet<com.mindfusion.drawing.FontStyle> value)
Sets the style of font that should be used to draw the axis Title.
|
add, arrange, associateJComponent, createController, dissociateJComponent, draw, effectiveMeasuredHeight, effectiveMeasuredWidth, getActualHeight, getActualWidth, getDesiredHeight, getDesiredWidth, getGridColumn, getGridRow, getHeight, getHitTestVisibility, getHorizontalAlignment, getMargin, getParent, getRectInParent, getToolTip, getVerticalAlignment, getVisibility, getWidth, getXInParent, getYInParent, hitTest, invalidate, invalidate, invalidate, invalidateLayout, invalidateLayout, localToRoot, measure, rootToLocal, setActualHeight, setActualWidth, setDesiredHeight, setDesiredWidth, setGridColumn, setGridRow, setHeight, setHitTestVisibility, setHorizontalAlignment, setMargin, setParent, setToolTip, setVerticalAlignment, setVisibility, setWidth, setXInParent, setYInParent, visit
protected AxisRenderer(Axis axis)
axis
- The Axis that will be drawn by this object.public Axis getAxis()
public void setAxis(Axis value)
public boolean getPinLabels()
public void setPinLabels(boolean value)
public SeriesContainer getLabelsSource()
public void setLabelsSource(SeriesContainer value)
public boolean getShowCoordinates()
public void setShowCoordinates(boolean value)
public boolean getShowSeriesLabels()
public void setShowSeriesLabels(boolean value)
public boolean getShowTicks()
public void setShowTicks(boolean value)
public com.mindfusion.drawing.Brush getLabelBrush()
public void setLabelBrush(com.mindfusion.drawing.Brush value)
public java.lang.String getLabelFontName()
public void setLabelFontName(java.lang.String value)
public java.lang.Double getLabelFontSize()
public void setLabelFontSize(java.lang.Double value)
public java.util.EnumSet<com.mindfusion.drawing.FontStyle> getLabelFontStyle()
public void setLabelFontStyle(java.util.EnumSet<com.mindfusion.drawing.FontStyle> value)
public double getLabelPadding()
public void setLabelPadding(double value)
public com.mindfusion.drawing.Brush getTitleBrush()
public void setTitleBrush(com.mindfusion.drawing.Brush value)
public java.lang.String getTitleFontName()
public void setTitleFontName(java.lang.String value)
public java.lang.Double getTitleFontSize()
public void setTitleFontSize(java.lang.Double value)
public java.util.EnumSet<com.mindfusion.drawing.FontStyle> getTitleFontStyle()
public void setTitleFontStyle(java.util.EnumSet<com.mindfusion.drawing.FontStyle> value)
public com.mindfusion.drawing.Brush getAxisStroke()
public void setAxisStroke(com.mindfusion.drawing.Brush value)
public java.lang.Double getAxisStrokeThickness()
public void setAxisStrokeThickness(double value)
public com.mindfusion.drawing.DashStyle getAxisStrokeDashStyle()
public void setAxisStrokeDashStyle(com.mindfusion.drawing.DashStyle value)
public double getLabelRotationAngle()
public void setLabelRotationAngle(double value)
value
- A double value specifying angle in degrees.public com.mindfusion.drawing.Align getLabelAlignment()
Align
enumeration.public void setLabelAlignment(com.mindfusion.drawing.Align alignment)
alignment
- A member of the Align
enumeration.