public static interface

ShinobiChart.OnTickMarkDrawListener

com.shinobicontrols.charts.ShinobiChart.OnTickMarkDrawListener

Class Overview

Interface definition for a callback to be invoked when a tick mark is about to be drawn.

Summary

Public Methods
abstract void onDrawTickMark(Canvas canvas, TickMark tickMark, Rect labelBackgroundRect, Rect tickMarkRect, Axis<?, ?> axis)
Notification that a tick mark is about to be drawn.

Public Methods

public abstract void onDrawTickMark (Canvas canvas, TickMark tickMark, Rect labelBackgroundRect, Rect tickMarkRect, Axis<?, ?> axis)

Notification that a tick mark is about to be drawn. This method is responsible for drawing the label, label background and the tick mark line on to the canvas. The tick mark line is actually represented as a Rect rather than a simple line.

Parameters
canvas The canvas on which to draw the tick mark.
tickMark The tick mark.
labelBackgroundRect The Rect which will be used to draw the label background.
tickMarkRect The Rect which will be used to draw the tick mark line.
axis The axis which the tick mark belongs to.