public abstract class LineAxis extends Axis
Modifier and Type | Field and Description |
---|---|
static int |
LINE_COLOR_PROPERTY_KEY |
static int |
LINE_THICKNESS_PROPERTY_KEY |
AXIS_Z_INDEX, LABEL_COLOR, LABEL_COLOR_PROPERTY_KEY, LABEL_FIT_MODE, LABEL_FIT_MODE_PROPERTY_KEY, LABEL_FONT_KEY, LABEL_FONT_PROPERTY_KEY, LABEL_FONT_STYLE_KEY, LABEL_FONT_STYLE_PROPERTY_KEY, LABEL_ROTATION_ANGLE, LABEL_ROTATION_ANGLE_PROPERTY_KEY, LABEL_SIZE_KEY, LABEL_SIZE_PROPERTY_KEY, LINE_COLOR_KEY, LINE_THICKNESS_KEY, TICK_COLOR_KEY, TICK_COLOR_PROPERTY_KEY, TICK_THICKNESS_KEY, TICK_THICKNESS_PROPERTY_KEY
Modifier and Type | Method and Description |
---|---|
int |
getLineColor()
Gets the color used to draw the axis' line.
|
float[] |
getLineDashArray()
Gets the pattern used when drawing axis line.
|
float |
getLineThickness()
Gets the line thickness of the of the axis in pixels.
|
boolean |
getShowLine()
Gets a value that determines whether the axis will draw its line.
|
void |
render(Canvas canvas)
Used to render the current presenter instance onto the passed canvas object.
|
void |
setLineColor(int lineColor)
Sets the color used to draw the axis' line.
|
void |
setLineDashArray(float[] value)
Sets the pattern used when drawing axis line.
|
void |
setLineThickness(float value)
Sets the line thickness of the axis in pixels.
|
void |
setShowLine(boolean value)
Sets a value that determines whether the axis will draw its line.
|
getAxisType, getDataPointsForValue, getLabelFitMode, getLabelFont, getLabelFontStyle, getLabelFormat, getLabelInterval, getLabelLayoutMode, getLabelMargin, getLabelOffset, getLabelRenderer, getLabelRotationAngle, getLabelSize, getLabelTextColor, getLabelValueToStringConverter, getLastLabelVisibility, getLastLayoutContext, getLayoutSlot, getMajorTickOffset, getModel, getShowLabels, getTickColor, getTickThickness, getVerticalWidth, renderLabel, resolveLabelRenderer, setAxisType, setLabelFitMode, setLabelFont, setLabelFontStyle, setLabelFormat, setLabelInterval, setLabelLayoutMode, setLabelMargin, setLabelOffset, setLabelRenderer, setLabelRotationAngle, setLabelSize, setLabelTextColor, setLabelValueToStringConverter, setLastLabelVisibility, setMajorTickOffset, setShowLabels, setTickColor, setTickThickness, setVerticalWidth
attach, detach, getCanApplyPalette, getChart, getCollectionIndex, getPalette, getZIndex, invalidatePalette, onPaletteInvalidated, onPaletteUpdated, requestLayout, requestRender, setZIndex, updatePalette
getPaletteFamily, getPaletteFamilyCore, isLoaded, isPaletteApplied, isVisible, measureContent, paletteFamily, postRender, refreshNode, setCanApplyPalette, setPaletteFamily, setVisible, setVisible
getValue, resetPropertyValue, setValue, setValue
public static final int LINE_COLOR_PROPERTY_KEY
public static final int LINE_THICKNESS_PROPERTY_KEY
public float getLineThickness()
public void setLineThickness(float value)
value
- the thickness in pixels.public boolean getShowLine()
public void setShowLine(boolean value)
public int getLineColor()
public void setLineColor(int lineColor)
lineColor
- the integer representation of the color.public float[] getLineDashArray()
public void setLineDashArray(float[] value)
value
- an array of float values determining the dash pattern for the axis line.public void render(Canvas canvas)
PresenterBase