public class XYPlot extends Plot<XYSeries,XYSeriesFormatter,XYSeriesRenderer>
Modifier and Type | Class and Description |
---|---|
static class |
XYPlot.PreviewMode |
Plot.BorderStyle, Plot.RenderMode
android.view.View.AccessibilityDelegate, android.view.View.BaseSavedState, android.view.View.DragShadowBuilder, android.view.View.MeasureSpec, android.view.View.OnApplyWindowInsetsListener, android.view.View.OnAttachStateChangeListener, android.view.View.OnClickListener, android.view.View.OnContextClickListener, android.view.View.OnCreateContextMenuListener, android.view.View.OnDragListener, android.view.View.OnFocusChangeListener, android.view.View.OnGenericMotionListener, android.view.View.OnHoverListener, android.view.View.OnKeyListener, android.view.View.OnLayoutChangeListener, android.view.View.OnLongClickListener, android.view.View.OnScrollChangeListener, android.view.View.OnSystemUiVisibilityChangeListener, android.view.View.OnTouchListener
ACCESSIBILITY_LIVE_REGION_ASSERTIVE, ACCESSIBILITY_LIVE_REGION_NONE, ACCESSIBILITY_LIVE_REGION_POLITE, ALPHA, DRAWING_CACHE_QUALITY_AUTO, DRAWING_CACHE_QUALITY_HIGH, DRAWING_CACHE_QUALITY_LOW, EMPTY_STATE_SET, ENABLED_FOCUSED_SELECTED_STATE_SET, ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_FOCUSED_STATE_SET, ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, ENABLED_SELECTED_STATE_SET, ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, ENABLED_STATE_SET, ENABLED_WINDOW_FOCUSED_STATE_SET, FIND_VIEWS_WITH_CONTENT_DESCRIPTION, FIND_VIEWS_WITH_TEXT, FOCUS_BACKWARD, FOCUS_DOWN, FOCUS_FORWARD, FOCUS_LEFT, FOCUS_RIGHT, FOCUS_UP, FOCUSABLES_ALL, FOCUSABLES_TOUCH_MODE, FOCUSED_SELECTED_STATE_SET, FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, FOCUSED_STATE_SET, FOCUSED_WINDOW_FOCUSED_STATE_SET, GONE, HAPTIC_FEEDBACK_ENABLED, IMPORTANT_FOR_ACCESSIBILITY_AUTO, IMPORTANT_FOR_ACCESSIBILITY_NO, IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS, IMPORTANT_FOR_ACCESSIBILITY_YES, INVISIBLE, KEEP_SCREEN_ON, LAYER_TYPE_HARDWARE, LAYER_TYPE_NONE, LAYER_TYPE_SOFTWARE, LAYOUT_DIRECTION_INHERIT, LAYOUT_DIRECTION_LOCALE, LAYOUT_DIRECTION_LTR, LAYOUT_DIRECTION_RTL, MEASURED_HEIGHT_STATE_SHIFT, MEASURED_SIZE_MASK, MEASURED_STATE_MASK, MEASURED_STATE_TOO_SMALL, NO_ID, OVER_SCROLL_ALWAYS, OVER_SCROLL_IF_CONTENT_SCROLLS, OVER_SCROLL_NEVER, PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET, PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_STATE_SET, PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_SELECTED_STATE_SET, PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_ENABLED_STATE_SET, PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_SELECTED_STATE_SET, PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_FOCUSED_STATE_SET, PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET, PRESSED_SELECTED_STATE_SET, PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET, PRESSED_STATE_SET, PRESSED_WINDOW_FOCUSED_STATE_SET, ROTATION, ROTATION_X, ROTATION_Y, SCALE_X, SCALE_Y, SCREEN_STATE_OFF, SCREEN_STATE_ON, SCROLL_AXIS_HORIZONTAL, SCROLL_AXIS_NONE, SCROLL_AXIS_VERTICAL, SCROLL_INDICATOR_BOTTOM, SCROLL_INDICATOR_END, SCROLL_INDICATOR_LEFT, SCROLL_INDICATOR_RIGHT, SCROLL_INDICATOR_START, SCROLL_INDICATOR_TOP, SCROLLBAR_POSITION_DEFAULT, SCROLLBAR_POSITION_LEFT, SCROLLBAR_POSITION_RIGHT, SCROLLBARS_INSIDE_INSET, SCROLLBARS_INSIDE_OVERLAY, SCROLLBARS_OUTSIDE_INSET, SCROLLBARS_OUTSIDE_OVERLAY, SELECTED_STATE_SET, SELECTED_WINDOW_FOCUSED_STATE_SET, SOUND_EFFECTS_ENABLED, STATUS_BAR_HIDDEN, STATUS_BAR_VISIBLE, SYSTEM_UI_FLAG_FULLSCREEN, SYSTEM_UI_FLAG_HIDE_NAVIGATION, SYSTEM_UI_FLAG_IMMERSIVE, SYSTEM_UI_FLAG_IMMERSIVE_STICKY, SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN, SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION, SYSTEM_UI_FLAG_LAYOUT_STABLE, SYSTEM_UI_FLAG_LIGHT_STATUS_BAR, SYSTEM_UI_FLAG_LOW_PROFILE, SYSTEM_UI_FLAG_VISIBLE, SYSTEM_UI_LAYOUT_FLAGS, TEXT_ALIGNMENT_CENTER, TEXT_ALIGNMENT_GRAVITY, TEXT_ALIGNMENT_INHERIT, TEXT_ALIGNMENT_TEXT_END, TEXT_ALIGNMENT_TEXT_START, TEXT_ALIGNMENT_VIEW_END, TEXT_ALIGNMENT_VIEW_START, TEXT_DIRECTION_ANY_RTL, TEXT_DIRECTION_FIRST_STRONG, TEXT_DIRECTION_FIRST_STRONG_LTR, TEXT_DIRECTION_FIRST_STRONG_RTL, TEXT_DIRECTION_INHERIT, TEXT_DIRECTION_LOCALE, TEXT_DIRECTION_LTR, TEXT_DIRECTION_RTL, TRANSLATION_X, TRANSLATION_Y, TRANSLATION_Z, VIEW_LOG_TAG, VISIBLE, WINDOW_FOCUSED_STATE_SET, X, Y, Z
Constructor and Description |
---|
XYPlot(android.content.Context context,
android.util.AttributeSet attributes) |
XYPlot(android.content.Context context,
android.util.AttributeSet attrs,
int defStyle) |
XYPlot(android.content.Context context,
String title) |
XYPlot(android.content.Context context,
String title,
Plot.RenderMode mode) |
Modifier and Type | Method and Description |
---|---|
boolean |
addMarker(XValueMarker marker)
Appends the specified marker to the end of plot's xValueMarkers list.
|
boolean |
addMarker(YValueMarker marker)
Appends the specified marker to the end of plot's yValueMarkers list.
|
void |
calculateMinMaxVals() |
void |
centerOnDomainOrigin(Number origin)
Centers the domain axis on origin.
|
void |
centerOnDomainOrigin(Number origin,
Number extent,
BoundaryMode mode)
Centers the domain on origin, calculating the upper and lower boundaries of the axis
using mode and extent.
|
void |
centerOnRangeOrigin(Number origin)
Centers the range axis on origin.
|
void |
centerOnRangeOrigin(Number origin,
Number extent,
BoundaryMode mode)
Centers the domain on origin, calculating the upper and lower boundaries of the axis
using mode and extent.
|
boolean |
containsPoint(float x,
float y)
Checks whether the point is within the plot's graph area.
|
boolean |
containsPoint(android.graphics.PointF point)
`
Convenience method - wraps containsPoint(PointF).
|
protected Number |
getCalculatedLowerBoundary(BoundaryMode mode,
Number previousMin,
Number calculatedMin) |
Number |
getCalculatedMaxX()
CalculatedMaxX value after the the framing model has been applied.
|
Number |
getCalculatedMaxY()
CalculatedMaxY value after the the framing model has been applied.
|
Number |
getCalculatedMinX()
CalculatedMinX value after the the framing model has been applied.
|
Number |
getCalculatedMinY()
CalculatedMinY value after the the framing model has been applied.
|
protected Number |
getCalculatedUpperBoundary(BoundaryMode mode,
Number previousMax,
Number calculatedMax) |
RectRegion |
getDefaultBounds() |
Number |
getDomainLeftMax() |
Number |
getDomainLeftMin() |
Number |
getDomainOrigin() |
Number |
getDomainRightMax() |
Number |
getDomainRightMin() |
StepMode |
getDomainStepMode() |
StepModel |
getDomainStepModel() |
double |
getDomainStepValue() |
TextLabelWidget |
getDomainTitle() |
XYGraphWidget |
getGraph() |
XYLegendWidget |
getLegend() |
int |
getLinesPerDomainLabel()
Convenience method - wraps XYGraphWidget.getLinesPerDomainLabel().
|
int |
getLinesPerRangeLabel()
Convenience method - wraps XYGraphWidget.getLinesPerRangeLabel().
|
protected Number[] |
getOriginMinMax(BoundaryMode mode,
Number origin,
Number extent) |
Number |
getRangeBottomMax() |
Number |
getRangeBottomMin() |
Number |
getRangeOrigin() |
StepMode |
getRangeStepMode() |
StepModel |
getRangeStepModel() |
double |
getRangeStepValue() |
TextLabelWidget |
getRangeTitle() |
Number |
getRangeTopMax() |
Number |
getRangeTopMin() |
Number |
getXVal(android.graphics.PointF point) |
protected List<XValueMarker> |
getXValueMarkers() |
Number |
getYVal(android.graphics.PointF point) |
protected List<YValueMarker> |
getYValueMarkers() |
boolean |
isDrawDomainOriginEnabled() |
boolean |
isDrawRangeOriginEnabled() |
protected void |
notifyListenersBeforeDraw(android.graphics.Canvas canvas) |
protected void |
onAfterConfig()
Invoked immediately following configurator / styleable attr application.
|
protected void |
onPreInit()
Concrete implementations may do any final setup / initialization
here.
|
protected void |
processAttrs(android.content.res.TypedArray attrs)
If a styleable is available for the derived class, this method will be invoked with those attrs.
|
XValueMarker |
removeMarker(XValueMarker marker)
Removes the specified marker from the plot.
|
YValueMarker |
removeMarker(YValueMarker marker)
Removes the specified marker from the plot.
|
int |
removeMarkers()
Convenience method - combines removeYMarkers() and removeXMarkers().
|
int |
removeXMarkers()
Removes all XValueMarker instances from the plot.
|
int |
removeYMarkers()
Removes all YValueMarker instances from the plot.
|
void |
setCursorPosition(float x,
float y) |
void |
setCursorPosition(android.graphics.PointF point) |
void |
setDefaultBounds(RectRegion defaultBounds) |
void |
setDomainBoundaries(Number lowerBoundary,
BoundaryMode lowerBoundaryMode,
Number upperBoundary,
BoundaryMode upperBoundaryMode)
Setup the boundary mode, boundary values only applicable in FIXED mode.
|
void |
setDomainBoundaries(Number lowerBoundary,
Number upperBoundary,
BoundaryMode mode)
Setup the boundary mode, boundary values only applicable in FIXED mode.
|
protected void |
setDomainFramingModel(XYFramingModel model) |
void |
setDomainLabel(String domainLabel) |
void |
setDomainLeftMax(Number domainLeftMax) |
void |
setDomainLeftMin(Number domainLeftMin) |
void |
setDomainLowerBoundary(Number boundary,
BoundaryMode mode)
Setup the boundary mode, boundary values only applicable in FIXED mode.
|
protected void |
setDomainLowerBoundaryMode(BoundaryMode mode) |
void |
setDomainRightMax(Number domainRightMax) |
void |
setDomainRightMin(Number domainRightMin) |
void |
setDomainStep(StepMode mode,
double value) |
void |
setDomainStepMode(StepMode domainStepMode) |
void |
setDomainStepModel(StepModel domainStepModel) |
void |
setDomainStepValue(double domainStepValue) |
void |
setDomainTitle(TextLabelWidget domainTitle) |
void |
setDomainUpperBoundary(Number boundary,
BoundaryMode mode)
Setup the boundary mode, boundary values only applicable in FIXED mode.
|
protected void |
setDomainUpperBoundaryMode(BoundaryMode mode) |
void |
setDrawDomainOriginEnabled(boolean drawDomainOriginEnabled) |
void |
setDrawRangeOriginEnabled(boolean drawRangeOriginEnabled) |
void |
setGraph(XYGraphWidget graph) |
void |
setLegend(XYLegendWidget legend) |
void |
setLinesPerDomainLabel(int linesPerDomainLabel)
Convenience method - wraps XYGraphWidget.setLinesPerDomainLabel().
|
void |
setLinesPerRangeLabel(int linesPerLabel)
Convenience method - wraps XYGraphWidget.setLinesPerRangeLabel().
|
void |
setRangeBottomMax(Number rangeBottomMax) |
void |
setRangeBottomMin(Number rangeBottomMin) |
void |
setRangeBoundaries(Number lowerBoundary,
BoundaryMode lowerBoundaryMode,
Number upperBoundary,
BoundaryMode upperBoundaryMode)
Setup the boundary mode, boundary values only applicable in FIXED mode.
|
void |
setRangeBoundaries(Number lowerBoundary,
Number upperBoundary,
BoundaryMode mode)
Setup the boundary mode, boundary values only applicable in FIXED mode.
|
protected void |
setRangeFramingModel(XYFramingModel model) |
void |
setRangeLabel(String rangeLabel) |
void |
setRangeLowerBoundary(Number boundary,
BoundaryMode mode)
Setup the boundary mode, boundary values only applicable in FIXED mode.
|
protected void |
setRangeLowerBoundaryMode(BoundaryMode mode) |
void |
setRangeStep(StepMode mode,
double value) |
void |
setRangeStepMode(StepMode rangeStepMode) |
void |
setRangeStepModel(StepModel rangeStepModel) |
void |
setRangeStepValue(double rangeStepValue) |
void |
setRangeTitle(TextLabelWidget rangeTitle) |
void |
setRangeTopMax(Number rangeTopMax) |
void |
setRangeTopMin(Number rangeTopMin) |
void |
setRangeUpperBoundary(Number boundary,
BoundaryMode mode)
Setup the boundary mode, boundary values only applicable in FIXED mode.
|
protected void |
setRangeUpperBoundaryMode(BoundaryMode mode) |
void |
setUserDomainOrigin(Number origin) |
protected void |
setUserMaxX(Number maxX) |
protected void |
setUserMaxY(Number maxY) |
protected void |
setUserMinX(Number minX) |
protected void |
setUserMinY(Number minY) |
void |
setUserRangeOrigin(Number origin) |
void |
updateDomainMinMaxForOriginModel() |
void |
updateRangeMinMaxForOriginModel() |
addListener, addSeries, addSeries, clear, drawBackground, drawBorder, drawRect, getBackgroundPaint, getBorderPaint, getDisplayDimensions, getFormatter, getLayoutManager, getPlotMarginBottom, getPlotMarginLeft, getPlotMarginRight, getPlotMarginTop, getPlotPaddingBottom, getPlotPaddingLeft, getPlotPaddingRight, getPlotPaddingTop, getRenderer, getRendererList, getRenderers, getRenderMode, getSeries, getSeries, getSeriesRegistry, getTitle, isEmpty, isHwAccelerationSupported, layout, notifyListenersAfterDraw, onDetachedFromWindow, onDraw, onSizeChanged, redraw, removeListener, removeSeries, removeSeries, renderOnCanvas, setBackgroundPaint, setBorderPaint, setBorderStyle, setLayoutManager, setMarkupEnabled, setPlotMarginBottom, setPlotMarginLeft, setPlotMarginRight, setPlotMargins, setPlotMarginTop, setPlotPadding, setPlotPaddingBottom, setPlotPaddingLeft, setPlotPaddingRight, setPlotPaddingTop, setRenderMode, setTitle, setTitle
addChildrenForAccessibility, addFocusables, addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, addTouchables, animate, announceForAccessibility, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelLongPress, cancelPendingInputEvents, canResolveLayoutDirection, canResolveTextAlignment, canResolveTextDirection, canScrollHorizontally, canScrollVertically, checkInputConnectionProxy, clearAnimation, clearFocus, combineMeasuredStates, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScroll, computeSystemWindowInsets, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, createAccessibilityNodeInfo, createContextMenu, destroyDrawingCache, dispatchApplyWindowInsets, dispatchConfigurationChanged, dispatchDisplayHint, dispatchDragEvent, dispatchDraw, dispatchDrawableHotspotChanged, dispatchGenericFocusedEvent, dispatchGenericMotionEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, dispatchProvideStructure, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetActivated, dispatchSetPressed, dispatchSetSelected, dispatchSystemUiVisibilityChanged, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, draw, drawableHotspotChanged, drawableStateChanged, findFocus, findViewById, findViewsWithText, findViewWithTag, fitSystemWindows, focusSearch, forceLayout, generateViewId, getAccessibilityClassName, getAccessibilityLiveRegion, getAccessibilityNodeProvider, getAccessibilityTraversalAfter, getAccessibilityTraversalBefore, getAlpha, getAnimation, getApplicationWindowToken, getBackground, getBackgroundTintList, getBackgroundTintMode, getBaseline, getBottom, getBottomFadingEdgeStrength, getBottomPaddingOffset, getCameraDistance, getClipBounds, getClipBounds, getClipToOutline, getContentDescription, getContext, getContextMenuInfo, getDefaultSize, getDisplay, getDrawableState, getDrawingCache, getDrawingCache, getDrawingCacheBackgroundColor, getDrawingCacheQuality, getDrawingRect, getDrawingTime, getElevation, getFilterTouchesWhenObscured, getFitsSystemWindows, getFocusables, getFocusedRect, getForeground, getForegroundGravity, getForegroundTintList, getForegroundTintMode, getGlobalVisibleRect, getGlobalVisibleRect, getHandler, getHeight, getHitRect, getHorizontalFadingEdgeLength, getHorizontalScrollbarHeight, getId, getImportantForAccessibility, getKeepScreenOn, getKeyDispatcherState, getLabelFor, getLayerType, getLayoutDirection, getLayoutParams, getLeft, getLeftFadingEdgeStrength, getLeftPaddingOffset, getLocalVisibleRect, getLocationInWindow, getLocationOnScreen, getMatrix, getMeasuredHeight, getMeasuredHeightAndState, getMeasuredState, getMeasuredWidth, getMeasuredWidthAndState, getMinimumHeight, getMinimumWidth, getNextFocusDownId, getNextFocusForwardId, getNextFocusLeftId, getNextFocusRightId, getNextFocusUpId, getOnFocusChangeListener, getOutlineProvider, getOverlay, getOverScrollMode, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getParent, getParentForAccessibility, getPivotX, getPivotY, getResources, getRight, getRightFadingEdgeStrength, getRightPaddingOffset, getRootView, getRootWindowInsets, getRotation, getRotationX, getRotationY, getScaleX, getScaleY, getScrollBarDefaultDelayBeforeFade, getScrollBarFadeDuration, getScrollBarSize, getScrollBarStyle, getScrollIndicators, getScrollX, getScrollY, getSolidColor, getStateListAnimator, getSuggestedMinimumHeight, getSuggestedMinimumWidth, getSystemUiVisibility, getTag, getTag, getTextAlignment, getTextDirection, getTop, getTopFadingEdgeStrength, getTopPaddingOffset, getTouchables, getTouchDelegate, getTransitionName, getTranslationX, getTranslationY, getTranslationZ, getVerticalFadingEdgeLength, getVerticalScrollbarPosition, getVerticalScrollbarWidth, getViewTreeObserver, getVisibility, getWidth, getWindowAttachCount, getWindowId, getWindowSystemUiVisibility, getWindowToken, getWindowVisibility, getWindowVisibleDisplayFrame, getX, getY, getZ, hasFocus, hasFocusable, hasNestedScrollingParent, hasOnClickListeners, hasOverlappingRendering, hasTransientState, hasWindowFocus, inflate, invalidate, invalidate, invalidate, invalidateDrawable, invalidateOutline, isAccessibilityFocused, isActivated, isAttachedToWindow, isClickable, isContextClickable, isDirty, isDrawingCacheEnabled, isDuplicateParentStateEnabled, isEnabled, isFocusable, isFocusableInTouchMode, isFocused, isHapticFeedbackEnabled, isHardwareAccelerated, isHorizontalFadingEdgeEnabled, isHorizontalScrollBarEnabled, isHovered, isImportantForAccessibility, isInEditMode, isInLayout, isInTouchMode, isLaidOut, isLayoutDirectionResolved, isLayoutRequested, isLongClickable, isNestedScrollingEnabled, isOpaque, isPaddingOffsetRequired, isPaddingRelative, isPressed, isSaveEnabled, isSaveFromParentEnabled, isScrollbarFadingEnabled, isScrollContainer, isSelected, isShown, isSoundEffectsEnabled, isTextAlignmentResolved, isTextDirectionResolved, isVerticalFadingEdgeEnabled, isVerticalScrollBarEnabled, jumpDrawablesToCurrentState, layout, measure, mergeDrawableStates, offsetLeftAndRight, offsetTopAndBottom, onAnimationEnd, onAnimationStart, onApplyWindowInsets, onAttachedToWindow, onCancelPendingInputEvents, onCheckIsTextEditor, onConfigurationChanged, onCreateContextMenu, onCreateDrawableState, onCreateInputConnection, onDisplayHint, onDragEvent, onDrawForeground, onDrawScrollBars, onFilterTouchEventForSecurity, onFinishInflate, onFinishTemporaryDetach, onFocusChanged, onGenericMotionEvent, onHoverChanged, onHoverEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onKeyDown, onKeyLongPress, onKeyMultiple, onKeyPreIme, onKeyShortcut, onKeyUp, onLayout, onMeasure, onOverScrolled, onPopulateAccessibilityEvent, onProvideStructure, onProvideVirtualStructure, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollChanged, onSetAlpha, onStartTemporaryDetach, onTouchEvent, onTrackballEvent, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performAccessibilityAction, performClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, playSoundEffect, post, postDelayed, postInvalidate, postInvalidate, postInvalidateDelayed, postInvalidateDelayed, postInvalidateOnAnimation, postInvalidateOnAnimation, postOnAnimation, postOnAnimationDelayed, refreshDrawableState, removeCallbacks, removeOnAttachStateChangeListener, removeOnLayoutChangeListener, requestApplyInsets, requestFitSystemWindows, requestFocus, requestFocus, requestFocus, requestFocusFromTouch, requestLayout, requestRectangleOnScreen, requestRectangleOnScreen, requestUnbufferedDispatch, resolveSize, resolveSizeAndState, restoreHierarchyState, saveHierarchyState, scheduleDrawable, scrollBy, scrollTo, sendAccessibilityEvent, sendAccessibilityEventUnchecked, setAccessibilityDelegate, setAccessibilityLiveRegion, setAccessibilityTraversalAfter, setAccessibilityTraversalBefore, setActivated, setAlpha, setAnimation, setBackground, setBackgroundColor, setBackgroundDrawable, setBackgroundResource, setBackgroundTintList, setBackgroundTintMode, setBottom, setCameraDistance, setClickable, setClipBounds, setClipToOutline, setContentDescription, setContextClickable, setDrawingCacheBackgroundColor, setDrawingCacheEnabled, setDrawingCacheQuality, setDuplicateParentStateEnabled, setElevation, setEnabled, setFadingEdgeLength, setFilterTouchesWhenObscured, setFitsSystemWindows, setFocusable, setFocusableInTouchMode, setForeground, setForegroundGravity, setForegroundTintList, setForegroundTintMode, setHapticFeedbackEnabled, setHasTransientState, setHorizontalFadingEdgeEnabled, setHorizontalScrollBarEnabled, setHovered, setId, setImportantForAccessibility, setKeepScreenOn, setLabelFor, setLayerPaint, setLayerType, setLayoutDirection, setLayoutParams, setLeft, setLongClickable, setMeasuredDimension, setMinimumHeight, setMinimumWidth, setNestedScrollingEnabled, setNextFocusDownId, setNextFocusForwardId, setNextFocusLeftId, setNextFocusRightId, setNextFocusUpId, setOnApplyWindowInsetsListener, setOnClickListener, setOnContextClickListener, setOnCreateContextMenuListener, setOnDragListener, setOnFocusChangeListener, setOnGenericMotionListener, setOnHoverListener, setOnKeyListener, setOnLongClickListener, setOnScrollChangeListener, setOnSystemUiVisibilityChangeListener, setOnTouchListener, setOutlineProvider, setOverScrollMode, setPadding, setPaddingRelative, setPivotX, setPivotY, setPressed, setRight, setRotation, setRotationX, setRotationY, setSaveEnabled, setSaveFromParentEnabled, setScaleX, setScaleY, setScrollBarDefaultDelayBeforeFade, setScrollBarFadeDuration, setScrollbarFadingEnabled, setScrollBarSize, setScrollBarStyle, setScrollContainer, setScrollIndicators, setScrollIndicators, setScrollX, setScrollY, setSelected, setSoundEffectsEnabled, setStateListAnimator, setSystemUiVisibility, setTag, setTag, setTextAlignment, setTextDirection, setTop, setTouchDelegate, setTransitionName, setTranslationX, setTranslationY, setTranslationZ, setVerticalFadingEdgeEnabled, setVerticalScrollBarEnabled, setVerticalScrollbarPosition, setVisibility, setWillNotCacheDrawing, setWillNotDraw, setX, setY, setZ, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startNestedScroll, stopNestedScroll, toString, unscheduleDrawable, unscheduleDrawable, verifyDrawable, willNotCacheDrawing, willNotDraw
public XYPlot(android.content.Context context, String title)
public XYPlot(android.content.Context context, String title, Plot.RenderMode mode)
public XYPlot(android.content.Context context, android.util.AttributeSet attributes)
public XYPlot(android.content.Context context, android.util.AttributeSet attrs, int defStyle)
protected void onPreInit()
Plot
onPreInit
in class Plot<XYSeries,XYSeriesFormatter,XYSeriesRenderer>
protected void onAfterConfig()
Plot
onAfterConfig
in class Plot<XYSeries,XYSeriesFormatter,XYSeriesRenderer>
protected void processAttrs(android.content.res.TypedArray attrs)
Plot
processAttrs
in class Plot<XYSeries,XYSeriesFormatter,XYSeriesRenderer>
attrs
- Attrs for the derived class.protected void notifyListenersBeforeDraw(android.graphics.Canvas canvas)
notifyListenersBeforeDraw
in class Plot<XYSeries,XYSeriesFormatter,XYSeriesRenderer>
public boolean containsPoint(float x, float y)
x
- y
- public boolean containsPoint(android.graphics.PointF point)
point
- public void setCursorPosition(android.graphics.PointF point)
public void setCursorPosition(float x, float y)
public Number getYVal(android.graphics.PointF point)
public Number getXVal(android.graphics.PointF point)
public void calculateMinMaxVals()
protected Number getCalculatedUpperBoundary(BoundaryMode mode, Number previousMax, Number calculatedMax)
protected Number getCalculatedLowerBoundary(BoundaryMode mode, Number previousMin, Number calculatedMin)
public void centerOnDomainOrigin(Number origin)
origin
- public void centerOnDomainOrigin(Number origin, Number extent, BoundaryMode mode)
origin
- extent
- mode
- public void centerOnRangeOrigin(Number origin)
origin
- public void centerOnRangeOrigin(Number origin, Number extent, BoundaryMode mode)
origin
- extent
- mode
- protected Number[] getOriginMinMax(BoundaryMode mode, Number origin, Number extent)
mode
- origin
- extent
- public void updateDomainMinMaxForOriginModel()
public void updateRangeMinMaxForOriginModel()
public int getLinesPerRangeLabel()
public void setLinesPerRangeLabel(int linesPerLabel)
linesPerLabel
- public int getLinesPerDomainLabel()
public void setLinesPerDomainLabel(int linesPerDomainLabel)
linesPerDomainLabel
- public StepMode getDomainStepMode()
public void setDomainStepMode(StepMode domainStepMode)
public double getDomainStepValue()
public void setDomainStepValue(double domainStepValue)
public void setDomainStep(StepMode mode, double value)
public StepMode getRangeStepMode()
public void setRangeStepMode(StepMode rangeStepMode)
public double getRangeStepValue()
public void setRangeStepValue(double rangeStepValue)
public void setRangeStep(StepMode mode, double value)
public XYLegendWidget getLegend()
public void setLegend(XYLegendWidget legend)
public XYGraphWidget getGraph()
public void setGraph(XYGraphWidget graph)
public TextLabelWidget getDomainTitle()
public void setDomainTitle(TextLabelWidget domainTitle)
public void setDomainLabel(String domainLabel)
public TextLabelWidget getRangeTitle()
public void setRangeTitle(TextLabelWidget rangeTitle)
public void setRangeLabel(String rangeLabel)
public void setDomainBoundaries(Number lowerBoundary, Number upperBoundary, BoundaryMode mode)
lowerBoundary
- upperBoundary
- mode
- public void setDomainBoundaries(Number lowerBoundary, BoundaryMode lowerBoundaryMode, Number upperBoundary, BoundaryMode upperBoundaryMode)
lowerBoundary
- lowerBoundaryMode
- upperBoundary
- upperBoundaryMode
- public void setRangeBoundaries(Number lowerBoundary, Number upperBoundary, BoundaryMode mode)
lowerBoundary
- upperBoundary
- mode
- public void setRangeBoundaries(Number lowerBoundary, BoundaryMode lowerBoundaryMode, Number upperBoundary, BoundaryMode upperBoundaryMode)
lowerBoundary
- lowerBoundaryMode
- upperBoundary
- upperBoundaryMode
- protected void setDomainUpperBoundaryMode(BoundaryMode mode)
protected void setUserMaxX(Number maxX)
public void setDomainUpperBoundary(Number boundary, BoundaryMode mode)
boundary
- mode
- protected void setDomainLowerBoundaryMode(BoundaryMode mode)
protected void setUserMinX(Number minX)
public void setDomainLowerBoundary(Number boundary, BoundaryMode mode)
boundary
- mode
- protected void setRangeUpperBoundaryMode(BoundaryMode mode)
protected void setUserMaxY(Number maxY)
public void setRangeUpperBoundary(Number boundary, BoundaryMode mode)
boundary
- mode
- protected void setRangeLowerBoundaryMode(BoundaryMode mode)
protected void setUserMinY(Number minY)
public void setRangeLowerBoundary(Number boundary, BoundaryMode mode)
boundary
- mode
- public Number getDomainOrigin()
public Number getRangeOrigin()
public void setUserDomainOrigin(Number origin)
public void setUserRangeOrigin(Number origin)
protected void setDomainFramingModel(XYFramingModel model)
protected void setRangeFramingModel(XYFramingModel model)
public Number getCalculatedMinX()
public Number getCalculatedMaxX()
public Number getCalculatedMinY()
public Number getCalculatedMaxY()
public boolean isDrawDomainOriginEnabled()
public void setDrawDomainOriginEnabled(boolean drawDomainOriginEnabled)
public boolean isDrawRangeOriginEnabled()
public void setDrawRangeOriginEnabled(boolean drawRangeOriginEnabled)
public boolean addMarker(YValueMarker marker)
marker
- The YValueMarker to be added.public YValueMarker removeMarker(YValueMarker marker)
marker
- public int removeMarkers()
public int removeYMarkers()
public boolean addMarker(XValueMarker marker)
marker
- The XValueMarker to be added.public XValueMarker removeMarker(XValueMarker marker)
marker
- public int removeXMarkers()
protected List<YValueMarker> getYValueMarkers()
protected List<XValueMarker> getXValueMarkers()
public RectRegion getDefaultBounds()
public void setDefaultBounds(RectRegion defaultBounds)
public Number getRangeTopMin()
public void setRangeTopMin(Number rangeTopMin)
rangeTopMin
- the rangeTopMin to setpublic Number getRangeTopMax()
public void setRangeTopMax(Number rangeTopMax)
rangeTopMax
- the rangeTopMax to setpublic Number getRangeBottomMin()
public void setRangeBottomMin(Number rangeBottomMin)
rangeBottomMin
- the rangeBottomMin to setpublic Number getRangeBottomMax()
public void setRangeBottomMax(Number rangeBottomMax)
rangeBottomMax
- the rangeBottomMax to setpublic Number getDomainLeftMin()
public void setDomainLeftMin(Number domainLeftMin)
domainLeftMin
- the domainLeftMin to setpublic Number getDomainLeftMax()
public void setDomainLeftMax(Number domainLeftMax)
domainLeftMax
- the domainLeftMax to setpublic Number getDomainRightMin()
public void setDomainRightMin(Number domainRightMin)
domainRightMin
- the domainRightMin to setpublic Number getDomainRightMax()
public void setDomainRightMax(Number domainRightMax)
domainRightMax
- the domainRightMax to setpublic StepModel getDomainStepModel()
public void setDomainStepModel(StepModel domainStepModel)
public StepModel getRangeStepModel()
public void setRangeStepModel(StepModel rangeStepModel)