|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectandroid.view.View
cn.limc.androidcharts.view.BaseChart
cn.limc.androidcharts.view.SpiderWebChart
public class SpiderWebChart
SpiderWebChart is a kind of graph that display data on web-like graph. each data was displayed in the longitude lines,like a area graph.
SpiderWebChartは円グラフとアリアグラフを合わせるのグラフ一種です、データをワッブで表示します。
SpiderWebChart是一种将数据内容显示在网状图上的一种图表、是将饼图和面积图结合表示的一种图表
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 int[] |
COLORS
default color for display data |
static int |
DEFAULT_BACKGROUND_COLOR
default color for background |
static boolean |
DEFAULT_DISPLAY_LATITUDE
default should display latitude lines |
static boolean |
DEFAULT_DISPLAY_LONGITUDE
default should display longitude lines |
static int |
DEFAULT_LATITUDE_COLOR
default color for latitude lines |
static int |
DEFAULT_LATITUDE_NUM
default latitude numbers |
static int |
DEFAULT_LONGITUDE_COLOR
default color for longitude lines |
static int |
DEFAULT_LONGITUDE_LENGTH
default longitude length |
static int |
DEFAULT_LONGITUDE_NUM
default longitude numbers |
static android.graphics.Point |
DEFAULT_POSITION
default position |
static java.lang.String |
DEFAULT_TITLE
default title |
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 | |
---|---|
SpiderWebChart(android.content.Context context)
|
|
SpiderWebChart(android.content.Context context,
android.util.AttributeSet attrs)
|
|
SpiderWebChart(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle)
|
Method Summary | |
---|---|
int |
getBackgroundColor()
|
java.util.List<java.util.List<TitleValueEntity>> |
getData()
|
int |
getLatitudeColor()
|
int |
getLatitudeNum()
|
int |
getLongitudeColor()
|
int |
getLongitudeLength()
|
int |
getLongitudeNum()
|
android.graphics.Point |
getPosition()
|
java.lang.String |
getTitle()
|
boolean |
isDisplayLatitude()
|
boolean |
isDisplayLongitude()
|
void |
setBackgroundColor(int backgroundColor)
|
void |
setData(java.util.List<java.util.List<TitleValueEntity>> data)
|
void |
setDisplayLatitude(boolean displayLatitude)
|
void |
setDisplayLongitude(boolean displayLongitude)
|
void |
setLatitudeColor(int latitudeColor)
|
void |
setLatitudeNum(int latitudeNum)
|
void |
setLongitudeColor(int longitudeColor)
|
void |
setLongitudeLength(int longitudeLength)
|
void |
setLongitudeNum(int longitudeNum)
|
void |
setPosition(android.graphics.Point position)
|
void |
setTitle(java.lang.String title)
|
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, onTouchEvent, 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 |
---|
public static final java.lang.String DEFAULT_TITLE
default title
タイトルのデフォルト値
默认图表标题
public static final boolean DEFAULT_DISPLAY_LONGITUDE
default should display longitude lines
経線を表示する
默认是否显示经线
public static final int DEFAULT_LONGITUDE_NUM
default longitude numbers
経線の数量のデフォルト値
默认经线数量
public static final int DEFAULT_LONGITUDE_LENGTH
default longitude length
経線の長さのデフォルト値
默认经线长度
public static final int DEFAULT_LONGITUDE_COLOR
default color for longitude lines
経線の色のデフォルト値
默认经线颜色
public static final boolean DEFAULT_DISPLAY_LATITUDE
default should display latitude lines
緯線を表示する
默认是否显示纬线
public static final int DEFAULT_LATITUDE_NUM
default latitude numbers
緯線の数量のデフォルト値
默认纬线数量
public static final int DEFAULT_LATITUDE_COLOR
default color for latitude lines
緯線の色のデフォルト値
默认纬线颜色
public static final android.graphics.Point DEFAULT_POSITION
default position
中心位置のデフォルト値
默认绘图中心位置
public static final int DEFAULT_BACKGROUND_COLOR
default color for background
背景の色のデフォルト値
默认蛛网背景色
public static final int[] COLORS
default color for display data
データの色のデフォルト値
默认数据的显示颜色
Constructor Detail |
---|
public SpiderWebChart(android.content.Context context)
public SpiderWebChart(android.content.Context context, android.util.AttributeSet attrs, int defStyle)
public SpiderWebChart(android.content.Context context, android.util.AttributeSet attrs)
Method Detail |
---|
public java.util.List<java.util.List<TitleValueEntity>> getData()
public void setData(java.util.List<java.util.List<TitleValueEntity>> data)
data
- the data to setpublic java.lang.String getTitle()
public void setTitle(java.lang.String title)
title
- the title to setpublic android.graphics.Point getPosition()
public void setPosition(android.graphics.Point position)
position
- the position to setpublic boolean isDisplayLongitude()
public void setDisplayLongitude(boolean displayLongitude)
displayLongitude
- the displayLongitude to setpublic int getLongitudeNum()
public void setLongitudeNum(int longitudeNum)
longitudeNum
- the longitudeNum to setpublic int getLongitudeColor()
public void setLongitudeColor(int longitudeColor)
longitudeColor
- the longitudeColor to setpublic int getLongitudeLength()
public void setLongitudeLength(int longitudeLength)
longitudeLength
- the longitudeLength to setpublic boolean isDisplayLatitude()
public void setDisplayLatitude(boolean displayLatitude)
displayLatitude
- the displayLatitude to setpublic int getLatitudeNum()
public void setLatitudeNum(int latitudeNum)
latitudeNum
- the latitudeNum to setpublic int getLatitudeColor()
public void setLatitudeColor(int latitudeColor)
latitudeColor
- the latitudeColor to setpublic int getBackgroundColor()
public void setBackgroundColor(int backgroundColor)
setBackgroundColor
in class android.view.View
backgroundColor
- the backgroundColor to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |