public class YAxisRendererHorizontalBarChart extends YAxisRenderer
mYAxismAxisLabelPaint, mAxisLinePaint, mGridPaint, mLimitLinePaint, mTransmMaxX, mMinX, mViewPortHandler| Constructor and Description |
|---|
YAxisRendererHorizontalBarChart(ViewPortHandler viewPortHandler,
YAxis yAxis,
Transformer trans) |
| Modifier and Type | Method and Description |
|---|---|
void |
computeAxis(float yMin,
float yMax)
Computes the axis values.
|
protected void |
drawYLabels(android.graphics.Canvas c,
float fixedPosition,
float[] positions,
float offset)
draws the y-labels on the specified x-position
|
void |
renderAxisLabels(android.graphics.Canvas c)
draws the y-axis labels to the screen
|
void |
renderAxisLine(android.graphics.Canvas c)
Draws the line that goes alongside the axis.
|
void |
renderGridLines(android.graphics.Canvas c)
Draws the grid lines belonging to the axis.
|
void |
renderLimitLines(android.graphics.Canvas c)
Draws the LimitLines associated with this axis to the screen.
|
computeAxisValuesgetPaintAxisLabels, getPaintAxisLine, getPaintGrid, getTransformercalcXBounds, fitsBoundspublic YAxisRendererHorizontalBarChart(ViewPortHandler viewPortHandler, YAxis yAxis, Transformer trans)
public void computeAxis(float yMin,
float yMax)
computeAxis in class YAxisRendereryMin - - the minimum y-value in the data object for this axisyMax - - the maximum y-value in the data object for this axispublic void renderAxisLabels(android.graphics.Canvas c)
renderAxisLabels in class YAxisRendererpublic void renderAxisLine(android.graphics.Canvas c)
AxisRendererrenderAxisLine in class YAxisRendererprotected void drawYLabels(android.graphics.Canvas c,
float fixedPosition,
float[] positions,
float offset)
drawYLabels in class YAxisRendererfixedPosition - positions - public void renderGridLines(android.graphics.Canvas c)
AxisRendererrenderGridLines in class YAxisRendererpublic void renderLimitLines(android.graphics.Canvas c)
renderLimitLines in class YAxisRendererc -