cn.limc.androidcharts.view
Class GridChart

java.lang.Object
  extended by android.view.View
      extended by cn.limc.androidcharts.view.BaseChart
          extended by cn.limc.androidcharts.view.GridChart
All Implemented Interfaces:
android.graphics.drawable.Drawable.Callback, android.view.accessibility.AccessibilityEventSource, android.view.KeyEvent.Callback, ITouchEventNotify, ITouchEventResponse, IChart
Direct Known Subclasses:
CandleStickChart, LineChart, StickChart

public class GridChart
extends BaseChart
implements ITouchEventNotify, ITouchEventResponse

GridChart is base type of all the charts that use a grid to display like line-chart stick-chart etc. GridChart implemented a simple grid with basic functions what can be used in it's inherited charts.

GridChartは全部グリドチャートのベスクラスです、一部処理は共通化け実現した。

GridChart是所有网格图表的基础类对象,它实现了基本的网格图表功能,这些功能将被它的继承类使用

Version:
v1.0 2011/05/30 14:19:50
Author:
limc

Nested Class Summary
 
Nested classes/interfaces inherited from class android.view.View
android.view.View.BaseSavedState, android.view.View.MeasureSpec, android.view.View.OnClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnFocusChangeListener, android.view.View.OnKeyListener, android.view.View.OnLongClickListener, android.view.View.OnTouchListener
 
Field Summary
static float DEFAULT_AXIS_MARGIN_BOTTOM
           default margin of the axis to the bottom border
static float DEFAULT_AXIS_MARGIN_LEFT
           default margin of the axis to the left border
static float DEFAULT_AXIS_MARGIN_RIGHT
           default margin of the axis to the right border
static float DEFAULT_AXIS_MARGIN_TOP
           default margin of the axis to the top border
static int DEFAULT_AXIS_X_COLOR
           default color of X axis
static int DEFAULT_AXIS_Y_COLOR
           default color of Y axis
static int DEFAULT_AXIS_Y_MAX_TITLE_LENGTH
           default titles' max length for display of Y axis
static int DEFAULT_BACKGROUND_COLOR
           default background color
static int DEFAULT_BORDER_COLOR
           default color of text for the longitude degrees display
static android.graphics.PathEffect DEFAULT_DASH_EFFECT
           default dashed line type
static boolean DEFAULT_DASH_LATITUDE
           Should display latitude as dashed line?
static boolean DEFAULT_DASH_LONGITUDE
           Should display longitude as dashed line?
static boolean DEFAULT_DISPLAY_AXIS_X_TITLE
           Should display the degrees in X axis?
static boolean DEFAULT_DISPLAY_AXIS_Y_TITLE
           Should display the degrees in Y axis?
static boolean DEFAULT_DISPLAY_BORDER
           Should display the border?
static boolean DEFAULT_DISPLAY_CROSS_X_ON_TOUCH
           Should display the Y cross line if grid is touched?
static boolean DEFAULT_DISPLAY_CROSS_Y_ON_TOUCH
           Should display the Y cross line if grid is touched?
static boolean DEFAULT_DISPLAY_LATITUDE
           Should display longitude line?
static boolean DEFAULT_DISPLAY_LONGITUDE
           Should display longitude line?
static int DEFAULT_LAITUDE_COLOR
           default color of grid‘s latitude line
static int DEFAULT_LATITUDE_FONT_COLOR
           default color of text for the latitude degrees display
static int DEFAULT_LATITUDE_FONT_SIZE
           default font size of text for the latitude degrees display
static int DEFAULT_LATITUDE_NUM
           default numbers of grid‘s latitude line
static int DEFAULT_LONGITUDE_COLOR
           default color of grid‘s longitude line
static int DEFAULT_LONGITUDE_FONT_COLOR
           default color of text for the longitude degrees display
static int DEFAULT_LONGITUDE_FONT_SIZE
           default font size of text for the longitude degrees display
static int DEFAULT_LONGITUDE_NUM
           default numbers of grid‘s longitude line
 
Fields inherited from class android.view.View
DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, GONE, HAPTIC_FEEDBACK_ENABLED, INVISIBLE, KEEP_SCREEN_ON, NO_ID, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SOUND_EFFECTS_ENABLED, VISIBLE
 
Constructor Summary
GridChart(android.content.Context context)
           
GridChart(android.content.Context context, android.util.AttributeSet attrs)
           
GridChart(android.content.Context context, android.util.AttributeSet attrs, int defStyle)
           
 
Method Summary
 void addNotify(ITouchEventResponse notify)
          Add a ITouchEventResponse object by its index
 float getAxisMarginBottom()
           
 float getAxisMarginLeft()
           
 float getAxisMarginRight()
           
 float getAxisMarginTop()
           
 int getAxisXColor()
           
 java.lang.String getAxisXGraduate(java.lang.Object value)
           calculate degree title on X axis
 java.util.List<java.lang.String> getAxisXTitles()
           
 int getAxisYColor()
           
 java.lang.String getAxisYGraduate(java.lang.Object value)
           calculate degree title on Y axis
 int getAxisYMaxTitleLength()
           
 java.util.List<java.lang.String> getAxisYTitles()
           
 int getBackgroundColor()
           
 int getBorderColor()
           
 float getClickPostX()
           
 float getClickPostY()
           
 android.graphics.PathEffect getDashEffect()
           
 int getLatitudeColor()
           
 int getLatitudeFontColor()
           
 int getLatitudeFontSize()
           
 int getLatitudeNum()
           
 int getLongitudeColor()
           
 int getLongitudeFontColor()
           
 int getLongitudeFontSize()
           
 int getLongitudeNum()
           
 java.util.List<ITouchEventResponse> getNotifyList()
           
 android.graphics.PointF getTouchPoint()
           
 boolean isDashLatitude()
           
 boolean isDashLongitude()
           
 boolean isDisplayAxisXTitle()
           
 boolean isDisplayAxisYTitle()
           
 boolean isDisplayBorder()
           
 boolean isDisplayCrossXOnTouch()
           
 boolean isDisplayCrossYOnTouch()
           
 boolean isDisplayLatitude()
           
 boolean isDisplayLongitude()
           
 void notifyEvent(GridChart chart)
          Response Notify
 void notifyEventAll(GridChart chart)
          Notify all ITouchEventResponse objects
 boolean onTouchEvent(android.view.MotionEvent event)
           
 void removeAllNotify()
          Remove all ITouchEventResponse objects
 void removeNotify(int i)
          Remove a ITouchEventResponse object by its index
 void setAxisMarginBottom(float axisMarginBottom)
           
 void setAxisMarginLeft(float axisMarginLeft)
           
 void setAxisMarginRight(float axisMarginRight)
           
 void setAxisMarginTop(float axisMarginTop)
           
 void setAxisXColor(int axisXColor)
           
 void setAxisXTitles(java.util.List<java.lang.String> axisXTitles)
           
 void setAxisYColor(int axisYColor)
           
 void setAxisYMaxTitleLength(int axisYMaxTitleLength)
           
 void setAxisYTitles(java.util.List<java.lang.String> axisYTitles)
           
 void setBackgroundColor(int backgroundColor)
           
 void setBorderColor(int borderColor)
           
 void setClickPostX(float clickPostX)
           
 void setClickPostY(float clickPostY)
           
 void setDashEffect(android.graphics.PathEffect dashEffect)
           
 void setDashLatitude(boolean dashLatitude)
           
 void setDashLongitude(boolean dashLongitude)
           
 void setDisplayAxisXTitle(boolean displayAxisXTitle)
           
 void setDisplayAxisYTitle(boolean displayAxisYTitle)
           
 void setDisplayBorder(boolean displayBorder)
           
 void setDisplayCrossXOnTouch(boolean displayCrossXOnTouch)
           
 void setDisplayCrossYOnTouch(boolean displayCrossYOnTouch)
           
 void setDisplayLatitude(boolean displayLatitude)
           
 void setDisplayLongitude(boolean displayLongitude)
           
 void setLatitudeColor(int latitudeColor)
           
 void setLatitudeFontColor(int latitudeFontColor)
           
 void setLatitudeFontSize(int latitudeFontSize)
           
 void setLatitudeNum(int latitudeNum)
           
 void setLongitudeColor(int longitudeColor)
           
 void setLongitudeFontColor(int longitudeFontColor)
           
 void setLongitudeFontSize(int longitudeFontSize)
           
 void setLongitudeNum(int longitudeNum)
           
 void setNotifyList(java.util.List<ITouchEventResponse> notifyList)
           
 void setTouchPoint(android.graphics.PointF touchPoint)
           
 
Methods inherited from class android.view.View
addFocusables, addFocusables, addTouchables, bringToFront, buildDrawingCache, buildDrawingCache, cancelLongPress, checkInputConnectionProxy, clearAnimation, clearFocus, computeScroll, createContextMenu, destroyDrawingCache, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchPopulateAccessibilityEvent, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchWindowFocusChanged, dispatchWindowVisibilityChanged, draw, findFocus, findViewById, findViewWithTag, focusSearch, forceLayout, getAnimation, getApplicationWindowToken, getBackground, getBaseline, getBottom, getContentDescription, getContext, getDefaultSize, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getFocusables, getFocusedRect, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getId, getKeepScreenOn, getKeyDispatcherState, getLayoutParams, getLeft, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMeasuredHeight, getMeasuredWidth, getNextFocusDownId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getPaddingBottom, getPaddingLeft, getPaddingRight, getPaddingTop, getParent, getResources, getRight, getRootView, getScrollBarStyle, getScrollX, getScrollY, getSolidColor, getTag, getTag, getTop, getTouchables, getTouchDelegate, getVerticalFadingEdgeLength, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, hasFocus, hasFocusable, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, isClickable, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHapticFeedbackEnabled, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isInEditMode, isInTouchMode, isLayoutRequested, isLongClickable, isOpaque, isPressed, isSaveEnabled, isScrollbarFadingEnabled, isSelected, isShown, isSoundEffectsEnabled, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, layout, measure, offsetLeftAndRight, offsetTopAndBottom, onCheckIsTextEditor, onCreateInputConnection, onFinishTemporaryDetach, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onStartTemporaryDetach, onTrackballEvent, onWindowFocusChanged, performClick, performHapticFeedback, performHapticFeedback, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, refreshDrawableState, removeCallbacks, requestFocus, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestRectangleOnScreen, requestRectangleOnScreen, resolveSize, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAnimation, setBackgroundDrawable, setBackgroundResource, setClickable, setContentDescription, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setEnabled, setFadingEdgeLength, setFocusable, setFocusableInTouchMode, setHapticFeedbackEnabled, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setId, setKeepScreenOn, setLayoutParams, setLongClickable, setMinimumHeight, setMinimumWidth, setNextFocusDownId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnClickListener, setOnCreateContextMenuListener, setOnFocusChangeListener, setOnKeyListener, setOnLongClickListener, setOnTouchListener, setPadding, setPressed, setSaveEnabled, setScrollbarFadingEnabled, setScrollBarStyle, setScrollContainer, setSelected, setSoundEffectsEnabled, setTag, setTag, setTouchDelegate, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVisibility, setWillNotCacheDrawing, setWillNotDraw, showContextMenu, startAnimation, unscheduleDrawable, unscheduleDrawable, willNotCacheDrawing, willNotDraw
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BACKGROUND_COLOR

public static final int DEFAULT_BACKGROUND_COLOR

default background color

背景の色のデフォルト値

默认背景色

See Also:
Constant Field Values

DEFAULT_AXIS_X_COLOR

public static final int DEFAULT_AXIS_X_COLOR

default color of X axis

X軸の色のデフォルト値

默认坐标轴X的显示颜色

See Also:
Constant Field Values

DEFAULT_AXIS_Y_COLOR

public static final int DEFAULT_AXIS_Y_COLOR

default color of Y axis

Y軸の色のデフォルト値

默认坐标轴Y的显示颜色

See Also:
Constant Field Values

DEFAULT_LONGITUDE_COLOR

public static final int DEFAULT_LONGITUDE_COLOR

default color of grid‘s longitude line

経線の色のデフォルト値

默认网格经线的显示颜色

See Also:
Constant Field Values

DEFAULT_LAITUDE_COLOR

public static final int DEFAULT_LAITUDE_COLOR

default color of grid‘s latitude line

緯線の色のデフォルト値

默认网格纬线的显示颜色

See Also:
Constant Field Values

DEFAULT_AXIS_MARGIN_LEFT

public static final float DEFAULT_AXIS_MARGIN_LEFT

default margin of the axis to the left border

轴線より左枠線の距離のデフォルト値

默认轴线左边距

See Also:
Constant Field Values

DEFAULT_AXIS_MARGIN_BOTTOM

public static final float DEFAULT_AXIS_MARGIN_BOTTOM

default margin of the axis to the bottom border

轴線より下枠線の距離のデフォルト値

默认轴线下边距

See Also:
Constant Field Values

DEFAULT_AXIS_MARGIN_TOP

public static final float DEFAULT_AXIS_MARGIN_TOP

default margin of the axis to the top border

轴線より上枠線の距離のデフォルト値

默认轴线上边距

See Also:
Constant Field Values

DEFAULT_AXIS_MARGIN_RIGHT

public static final float DEFAULT_AXIS_MARGIN_RIGHT

default margin of the axis to the right border

轴線より右枠線の距離のデフォルト値

轴线右边距

See Also:
Constant Field Values

DEFAULT_LATITUDE_NUM

public static final int DEFAULT_LATITUDE_NUM

default numbers of grid‘s latitude line

緯線の数量のデフォルト値

网格纬线的数量

See Also:
Constant Field Values

DEFAULT_LONGITUDE_NUM

public static final int DEFAULT_LONGITUDE_NUM

default numbers of grid‘s longitude line

経線の数量のデフォルト値

网格经线的数量

See Also:
Constant Field Values

DEFAULT_DISPLAY_LONGITUDE

public static final boolean DEFAULT_DISPLAY_LONGITUDE

Should display longitude line?

経線を表示するか?

默认经线是否显示


DEFAULT_DASH_LONGITUDE

public static final boolean DEFAULT_DASH_LONGITUDE

Should display longitude as dashed line?

経線を点線にするか?

默认经线是否显示为虚线


DEFAULT_DISPLAY_LATITUDE

public static final boolean DEFAULT_DISPLAY_LATITUDE

Should display longitude line?

緯線を表示するか?

纬线是否显示


DEFAULT_DASH_LATITUDE

public static final boolean DEFAULT_DASH_LATITUDE

Should display latitude as dashed line?

緯線を点線にするか?

纬线是否显示为虚线


DEFAULT_DISPLAY_AXIS_X_TITLE

public static final boolean DEFAULT_DISPLAY_AXIS_X_TITLE

Should display the degrees in X axis?

X軸のタイトルを表示するか?

X轴上的标题是否显示


DEFAULT_DISPLAY_AXIS_Y_TITLE

public static final boolean DEFAULT_DISPLAY_AXIS_Y_TITLE

Should display the degrees in Y axis?

Y軸のタイトルを表示するか?

默认Y轴上的标题是否显示


DEFAULT_DISPLAY_BORDER

public static final boolean DEFAULT_DISPLAY_BORDER

Should display the border?

枠を表示するか?

默认控件是否显示边框


DEFAULT_BORDER_COLOR

public static final int DEFAULT_BORDER_COLOR

default color of text for the longitude degrees display

経度のタイトルの色のデフォルト値

默认经线刻度字体颜色

See Also:
Constant Field Values

DEFAULT_LONGITUDE_FONT_COLOR

public static final int DEFAULT_LONGITUDE_FONT_COLOR

default color of text for the longitude degrees display

経度のタイトルの色のデフォルト値

经线刻度字体颜色

See Also:
Constant Field Values

DEFAULT_LONGITUDE_FONT_SIZE

public static final int DEFAULT_LONGITUDE_FONT_SIZE

default font size of text for the longitude degrees display

経度のタイトルのフォントサイズのデフォルト値

经线刻度字体大小

See Also:
Constant Field Values

DEFAULT_LATITUDE_FONT_COLOR

public static final int DEFAULT_LATITUDE_FONT_COLOR

default color of text for the latitude degrees display

緯度のタイトルの色のデフォルト値

纬线刻度字体颜色

See Also:
Constant Field Values

DEFAULT_LATITUDE_FONT_SIZE

public static final int DEFAULT_LATITUDE_FONT_SIZE

default font size of text for the latitude degrees display

緯度のタイトルのフォントサイズのデフォルト値

默认纬线刻度字体大小

See Also:
Constant Field Values

DEFAULT_AXIS_Y_MAX_TITLE_LENGTH

public static final int DEFAULT_AXIS_Y_MAX_TITLE_LENGTH

default titles' max length for display of Y axis

Y軸の表示用タイトルの最大文字長さのデフォルト値

默认Y轴标题最大文字长度

See Also:
Constant Field Values

DEFAULT_DASH_EFFECT

public static final android.graphics.PathEffect DEFAULT_DASH_EFFECT

default dashed line type

点線タイプのデフォルト値

默认虚线效果


DEFAULT_DISPLAY_CROSS_X_ON_TOUCH

public static final boolean DEFAULT_DISPLAY_CROSS_X_ON_TOUCH

Should display the Y cross line if grid is touched?

タッチしたポイントがある場合、十字線の垂直線を表示するか?

默认在控件被点击时,显示十字竖线线

See Also:
Constant Field Values

DEFAULT_DISPLAY_CROSS_Y_ON_TOUCH

public static final boolean DEFAULT_DISPLAY_CROSS_Y_ON_TOUCH

Should display the Y cross line if grid is touched?

タッチしたポイントがある場合、十字線の水平線を表示するか?

默认在控件被点击时,显示十字横线线

See Also:
Constant Field Values
Constructor Detail

GridChart

public GridChart(android.content.Context context)

GridChart

public GridChart(android.content.Context context,
                 android.util.AttributeSet attrs,
                 int defStyle)

GridChart

public GridChart(android.content.Context context,
                 android.util.AttributeSet attrs)
Method Detail

onTouchEvent

public boolean onTouchEvent(android.view.MotionEvent event)
Overrides:
onTouchEvent in class android.view.View

getAxisXGraduate

public java.lang.String getAxisXGraduate(java.lang.Object value)

calculate degree title on X axis

X軸の目盛を計算する

计算X轴上显示的坐标值

Parameters:
value -

value for calculate

計算有用データ

计算用数据

Returns:
String

degree

目盛

坐标值


getAxisYGraduate

public java.lang.String getAxisYGraduate(java.lang.Object value)

calculate degree title on Y axis

Y軸の目盛を計算する

计算Y轴上显示的坐标值

Parameters:
value -

value for calculate

計算有用データ

计算用数据

Returns:
String

degree

目盛

坐标值


notifyEvent

public void notifyEvent(GridChart chart)
Description copied from interface: ITouchEventResponse

Response Notify

レスポンスをする

响应通知

Specified by:
notifyEvent in interface ITouchEventResponse
Parameters:
chart -

source chart

ソースチャート

源头对象


addNotify

public void addNotify(ITouchEventResponse notify)
Description copied from interface: ITouchEventNotify

Add a ITouchEventResponse object by its index

ITouchEventResponseレスポンスオブジェクトを追加

增加ITouchEventResponse响应对象

Specified by:
addNotify in interface ITouchEventNotify
Parameters:
notify -

ITouchEventResponse object

ITouchEventResponse オブジェクト

对象


removeNotify

public void removeNotify(int i)
Description copied from interface: ITouchEventNotify

Remove a ITouchEventResponse object by its index

ITouchEventResponseレスポンスオブジェクトを削除

删除ITouchEventResponse响应对象

Specified by:
removeNotify in interface ITouchEventNotify
Parameters:
i -

index

インデックス

index


removeAllNotify

public void removeAllNotify()
Description copied from interface: ITouchEventNotify

Remove all ITouchEventResponse objects

全部ITouchEventResponseレスポンスオブジェクトを削除

删除全部ITouchEventResponse响应对象

Specified by:
removeAllNotify in interface ITouchEventNotify

notifyEventAll

public void notifyEventAll(GridChart chart)
Description copied from interface: ITouchEventNotify

Notify all ITouchEventResponse objects

全部ITouchEventResponseレスポンスオブジェクトを通知

通知全部ITouchEventResponse响应对象

Specified by:
notifyEventAll in interface ITouchEventNotify
Parameters:
chart -

source chart

ソースチャート

源头对象


getAxisXColor

public int getAxisXColor()
Returns:
the axisXColor

setAxisXColor

public void setAxisXColor(int axisXColor)
Parameters:
axisXColor - the axisXColor to set

getAxisYColor

public int getAxisYColor()
Returns:
the axisYColor

setAxisYColor

public void setAxisYColor(int axisYColor)
Parameters:
axisYColor - the axisYColor to set

getLongitudeColor

public int getLongitudeColor()
Returns:
the longitudeColor

setLongitudeColor

public void setLongitudeColor(int longitudeColor)
Parameters:
longitudeColor - the longitudeColor to set

getLatitudeColor

public int getLatitudeColor()
Returns:
the latitudeColor

setLatitudeColor

public void setLatitudeColor(int latitudeColor)
Parameters:
latitudeColor - the latitudeColor to set

getAxisMarginLeft

public float getAxisMarginLeft()
Returns:
the axisMarginLeft

setAxisMarginLeft

public void setAxisMarginLeft(float axisMarginLeft)
Parameters:
axisMarginLeft - the axisMarginLeft to set

getAxisMarginBottom

public float getAxisMarginBottom()
Returns:
the axisMarginBottom

setAxisMarginBottom

public void setAxisMarginBottom(float axisMarginBottom)
Parameters:
axisMarginBottom - the axisMarginBottom to set

getAxisMarginTop

public float getAxisMarginTop()
Returns:
the axisMarginTop

setAxisMarginTop

public void setAxisMarginTop(float axisMarginTop)
Parameters:
axisMarginTop - the axisMarginTop to set

getAxisMarginRight

public float getAxisMarginRight()
Returns:
the axisMarginRight

setAxisMarginRight

public void setAxisMarginRight(float axisMarginRight)
Parameters:
axisMarginRight - the axisMarginRight to set

isDisplayAxisXTitle

public boolean isDisplayAxisXTitle()
Returns:
the displayAxisXTitle

setDisplayAxisXTitle

public void setDisplayAxisXTitle(boolean displayAxisXTitle)
Parameters:
displayAxisXTitle - the displayAxisXTitle to set

isDisplayAxisYTitle

public boolean isDisplayAxisYTitle()
Returns:
the displayAxisYTitle

setDisplayAxisYTitle

public void setDisplayAxisYTitle(boolean displayAxisYTitle)
Parameters:
displayAxisYTitle - the displayAxisYTitle to set

getLatitudeNum

public int getLatitudeNum()
Returns:
the latitudeNum

setLatitudeNum

public void setLatitudeNum(int latitudeNum)
Parameters:
latitudeNum - the latitudeNum to set

getLongitudeNum

public int getLongitudeNum()
Returns:
the longitudeNum

setLongitudeNum

public void setLongitudeNum(int longitudeNum)
Parameters:
longitudeNum - the longitudeNum to set

isDisplayLongitude

public boolean isDisplayLongitude()
Returns:
the displayLongitude

setDisplayLongitude

public void setDisplayLongitude(boolean displayLongitude)
Parameters:
displayLongitude - the displayLongitude to set

isDashLongitude

public boolean isDashLongitude()
Returns:
the dashLongitude

setDashLongitude

public void setDashLongitude(boolean dashLongitude)
Parameters:
dashLongitude - the dashLongitude to set

isDisplayLatitude

public boolean isDisplayLatitude()
Returns:
the displayLatitude

setDisplayLatitude

public void setDisplayLatitude(boolean displayLatitude)
Parameters:
displayLatitude - the displayLatitude to set

isDashLatitude

public boolean isDashLatitude()
Returns:
the dashLatitude

setDashLatitude

public void setDashLatitude(boolean dashLatitude)
Parameters:
dashLatitude - the dashLatitude to set

getDashEffect

public android.graphics.PathEffect getDashEffect()
Returns:
the dashEffect

setDashEffect

public void setDashEffect(android.graphics.PathEffect dashEffect)
Parameters:
dashEffect - the dashEffect to set

isDisplayBorder

public boolean isDisplayBorder()
Returns:
the displayBorder

setDisplayBorder

public void setDisplayBorder(boolean displayBorder)
Parameters:
displayBorder - the displayBorder to set

getBorderColor

public int getBorderColor()
Returns:
the borderColor

setBorderColor

public void setBorderColor(int borderColor)
Parameters:
borderColor - the borderColor to set

getLongitudeFontColor

public int getLongitudeFontColor()
Returns:
the longitudeFontColor

setLongitudeFontColor

public void setLongitudeFontColor(int longitudeFontColor)
Parameters:
longitudeFontColor - the longitudeFontColor to set

getLongitudeFontSize

public int getLongitudeFontSize()
Returns:
the longitudeFontSize

setLongitudeFontSize

public void setLongitudeFontSize(int longitudeFontSize)
Parameters:
longitudeFontSize - the longitudeFontSize to set

getLatitudeFontColor

public int getLatitudeFontColor()
Returns:
the latitudeFontColor

setLatitudeFontColor

public void setLatitudeFontColor(int latitudeFontColor)
Parameters:
latitudeFontColor - the latitudeFontColor to set

getLatitudeFontSize

public int getLatitudeFontSize()
Returns:
the latitudeFontSize

setLatitudeFontSize

public void setLatitudeFontSize(int latitudeFontSize)
Parameters:
latitudeFontSize - the latitudeFontSize to set

getAxisXTitles

public java.util.List<java.lang.String> getAxisXTitles()
Returns:
the axisXTitles

setAxisXTitles

public void setAxisXTitles(java.util.List<java.lang.String> axisXTitles)
Parameters:
axisXTitles - the axisXTitles to set

getAxisYTitles

public java.util.List<java.lang.String> getAxisYTitles()
Returns:
the axisYTitles

setAxisYTitles

public void setAxisYTitles(java.util.List<java.lang.String> axisYTitles)
Parameters:
axisYTitles - the axisYTitles to set

getAxisYMaxTitleLength

public int getAxisYMaxTitleLength()
Returns:
the axisYMaxTitleLength

setAxisYMaxTitleLength

public void setAxisYMaxTitleLength(int axisYMaxTitleLength)
Parameters:
axisYMaxTitleLength - the axisYMaxTitleLength to set

isDisplayCrossXOnTouch

public boolean isDisplayCrossXOnTouch()
Returns:
the displayCrossXOnTouch

setDisplayCrossXOnTouch

public void setDisplayCrossXOnTouch(boolean displayCrossXOnTouch)
Parameters:
displayCrossXOnTouch - the displayCrossXOnTouch to set

isDisplayCrossYOnTouch

public boolean isDisplayCrossYOnTouch()
Returns:
the displayCrossYOnTouch

setDisplayCrossYOnTouch

public void setDisplayCrossYOnTouch(boolean displayCrossYOnTouch)
Parameters:
displayCrossYOnTouch - the displayCrossYOnTouch to set

getClickPostX

public float getClickPostX()
Returns:
the clickPostX

setClickPostX

public void setClickPostX(float clickPostX)
Parameters:
clickPostX - the clickPostX to set

getClickPostY

public float getClickPostY()
Returns:
the clickPostY

setClickPostY

public void setClickPostY(float clickPostY)
Parameters:
clickPostY - the clickPostY to set

getNotifyList

public java.util.List<ITouchEventResponse> getNotifyList()
Returns:
the notifyList

setNotifyList

public void setNotifyList(java.util.List<ITouchEventResponse> notifyList)
Parameters:
notifyList - the notifyList to set

getTouchPoint

public android.graphics.PointF getTouchPoint()
Returns:
the touchPoint

setTouchPoint

public void setTouchPoint(android.graphics.PointF touchPoint)
Parameters:
touchPoint - the touchPoint to set

getBackgroundColor

public int getBackgroundColor()
Returns:
the backgroundColor

setBackgroundColor

public void setBackgroundColor(int backgroundColor)
Overrides:
setBackgroundColor in class android.view.View
Parameters:
backgroundColor - the backgroundColor to set