-
public class YAxisRenderer extends AxisRenderer
-
-
Field Summary
Fields Modifier and Type Field Description private final RectFgridClippingRectprivate <ERROR CLASS>paintGridprivate PaintpaintAxisLabelsprivate <ERROR CLASS>paintAxisLineprivate Transformertransformer
-
Constructor Summary
Constructors Constructor Description YAxisRenderer(ViewPortHandler viewPortHandler, YAxis yAxis, Transformer trans)
-
Method Summary
Modifier and Type Method Description RectFgetGridClippingRect()final <ERROR CLASS>getPaintGrid()paint object for the grid lines final Unit)>setPaintGrid(<ERROR CLASS> paintGrid)final PaintgetPaintAxisLabels()paint for the x-label values final UnitsetPaintAxisLabels(Paint paintAxisLabels)final <ERROR CLASS>getPaintAxisLine()paint for the line surrounding the chart final Unit)>setPaintAxisLine(<ERROR CLASS> paintAxisLine)final TransformergetTransformer()transformer to transform values to screen pixels and return final UnitsetTransformer(Transformer transformer)transformer to transform values to screen pixels and return UnitrenderAxisLabels(Canvas c)draws the y-axis labels to the screen UnitrenderAxisLine(Canvas c)Draws the line that goes alongside the axis. UnitrenderGridLines(Canvas c)Draws the grid lines belonging to the axis. UnitrenderLimitLines(Canvas c)Draws the LimitLines associated with this axis to the screen. -
-
Constructor Detail
-
YAxisRenderer
YAxisRenderer(ViewPortHandler viewPortHandler, YAxis yAxis, Transformer trans)
-
-
Method Detail
-
getGridClippingRect
RectF getGridClippingRect()
-
getPaintGrid
final <ERROR CLASS> getPaintGrid()
paint object for the grid lines
-
setPaintGrid
final Unit )>setPaintGrid(<ERROR CLASS> paintGrid)
-
getPaintAxisLabels
final Paint getPaintAxisLabels()
paint for the x-label values
-
setPaintAxisLabels
final Unit setPaintAxisLabels(Paint paintAxisLabels)
-
getPaintAxisLine
final <ERROR CLASS> getPaintAxisLine()
paint for the line surrounding the chart
-
setPaintAxisLine
final Unit )>setPaintAxisLine(<ERROR CLASS> paintAxisLine)
-
getTransformer
final Transformer getTransformer()
transformer to transform values to screen pixels and return
-
setTransformer
final Unit setTransformer(Transformer transformer)
transformer to transform values to screen pixels and return
-
renderAxisLabels
Unit renderAxisLabels(Canvas c)
draws the y-axis labels to the screen
-
renderAxisLine
Unit renderAxisLine(Canvas c)
Draws the line that goes alongside the axis.
-
renderGridLines
Unit renderGridLines(Canvas c)
Draws the grid lines belonging to the axis.
-
renderLimitLines
Unit renderLimitLines(Canvas c)
Draws the LimitLines associated with this axis to the screen.
-
-
-
-