public class XYPlot extends Plot<XYSeries,XYSeriesFormatter,XYSeriesRenderer,XYSeriesBundle,XYSeriesRegistry>
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, DRAG_FLAG_GLOBAL, DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION, DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION, DRAG_FLAG_GLOBAL_URI_READ, DRAG_FLAG_GLOBAL_URI_WRITE, DRAG_FLAG_OPAQUE, 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).
|
RectRegion |
getBounds() |
protected Number |
getCalculatedLowerBoundary(BoundaryMode mode,
Number previousMin,
Number calculatedMin) |
protected Number |
getCalculatedUpperBoundary(BoundaryMode mode,
Number previousMax,
Number calculatedMax) |
Number |
getDomainOrigin() |
StepMode |
getDomainStepMode() |
StepModel |
getDomainStepModel() |
double |
getDomainStepValue() |
TextLabelWidget |
getDomainTitle() |
XYGraphWidget |
getGraph() |
RectRegion |
getInnerLimits() |
XYLegendWidget |
getLegend() |
int |
getLinesPerDomainLabel()
Convenience method - wraps XYGraphWidget.getLinesPerDomainLabel().
|
int |
getLinesPerRangeLabel()
Convenience method - wraps XYGraphWidget.getLinesPerRangeLabel().
|
XYCoords |
getOrigin() |
protected Number[] |
getOriginMinMax(BoundaryMode mode,
Number origin,
Number extent) |
RectRegion |
getOuterLimits() |
Number |
getRangeOrigin() |
StepMode |
getRangeStepMode() |
StepModel |
getRangeStepModel() |
double |
getRangeStepValue() |
TextLabelWidget |
getRangeTitle() |
protected XYSeriesRegistry |
getRegistryInstance() |
Number |
getXVal(float xPix) |
Number |
getXVal(android.graphics.PointF point) |
protected List<XValueMarker> |
getXValueMarkers() |
Number |
getYVal(float yPix) |
Number |
getYVal(android.graphics.PointF point) |
protected List<YValueMarker> |
getYValueMarkers() |
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 |
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 |
setDomainLowerBoundary(Number boundary,
BoundaryMode mode)
Setup the boundary mode, boundary values only applicable in FIXED mode.
|
protected void |
setDomainLowerBoundaryMode(BoundaryMode mode) |
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 |
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 |
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 |
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, attachSeries, clear, drawBackground, drawBorder, drawRect, getBackgroundPaint, getBorderPaint, getDisplayDimensions, getFormatter, getLayoutManager, getListeners, getPlotMarginBottom, getPlotMarginLeft, getPlotMarginRight, getPlotMarginTop, getPlotPaddingBottom, getPlotPaddingLeft, getPlotPaddingRight, getPlotPaddingTop, getRegistry, getRenderer, getRendererList, getRenderers, getRenderMode, getSeries, getSeries, getTitle, init, 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, setRegistry, setRenderMode, setTitle, setTitle
addChildrenForAccessibility, addFocusables, addFocusables, addOnAttachStateChangeListener, addOnLayoutChangeListener, addTouchables, animate, announceForAccessibility, awakenScrollBars, awakenScrollBars, awakenScrollBars, bringToFront, buildDrawingCache, buildDrawingCache, buildLayer, callOnClick, cancelDragAndDrop, 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, dispatchFinishTemporaryDetach, dispatchGenericFocusedEvent, dispatchGenericMotionEvent, dispatchGenericPointerEvent, dispatchHoverEvent, dispatchKeyEvent, dispatchKeyEventPreIme, dispatchKeyShortcutEvent, dispatchNestedFling, dispatchNestedPreFling, dispatchNestedPrePerformAccessibilityAction, dispatchNestedPreScroll, dispatchNestedScroll, dispatchPopulateAccessibilityEvent, dispatchProvideStructure, dispatchRestoreInstanceState, dispatchSaveInstanceState, dispatchSetActivated, dispatchSetPressed, dispatchSetSelected, dispatchStartTemporaryDetach, dispatchSystemUiVisibilityChanged, dispatchTouchEvent, dispatchTrackballEvent, dispatchUnhandledMove, dispatchVisibilityChanged, dispatchWindowFocusChanged, dispatchWindowSystemUiVisiblityChanged, dispatchWindowVisibilityChanged, draw, drawableHotspotChanged, drawableStateChanged, findFocus, findViewById, findViewsWithText, findViewWithTag, fitSystemWindows, focusSearch, forceHasOverlappingRendering, 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, getHasOverlappingRendering, 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, getPointerIcon, 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, isTemporarilyDetached, 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, onResolvePointerIcon, onRestoreInstanceState, onRtlPropertiesChanged, onSaveInstanceState, onScreenStateChanged, onScrollChanged, onSetAlpha, onStartTemporaryDetach, onTouchEvent, onTrackballEvent, onVisibilityAggregated, onVisibilityChanged, onWindowFocusChanged, onWindowSystemUiVisibilityChanged, onWindowVisibilityChanged, overScrollBy, performAccessibilityAction, performClick, performContextClick, performContextClick, performHapticFeedback, performHapticFeedback, performLongClick, 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, setPointerIcon, 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, showContextMenu, startActionMode, startActionMode, startAnimation, startDrag, startDragAndDrop, startNestedScroll, stopNestedScroll, toString, unscheduleDrawable, unscheduleDrawable, updateDragShadow, 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,XYSeriesBundle,XYSeriesRegistry>
protected void onAfterConfig()
Plot
onAfterConfig
in class Plot<XYSeries,XYSeriesFormatter,XYSeriesRenderer,XYSeriesBundle,XYSeriesRegistry>
protected void processAttrs(android.content.res.TypedArray attrs)
Plot
processAttrs
in class Plot<XYSeries,XYSeriesFormatter,XYSeriesRenderer,XYSeriesBundle,XYSeriesRegistry>
attrs
- Attrs for the derived class.protected void notifyListenersBeforeDraw(android.graphics.Canvas canvas)
notifyListenersBeforeDraw
in class Plot<XYSeries,XYSeriesFormatter,XYSeriesRenderer,XYSeriesBundle,XYSeriesRegistry>
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 getXVal(float xPix)
public Number getYVal(float yPix)
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 XYCoords getOrigin()
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 RectRegion getBounds()
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 getInnerLimits()
public RectRegion getOuterLimits()
public StepModel getDomainStepModel()
public void setDomainStepModel(StepModel domainStepModel)
public StepModel getRangeStepModel()
public void setRangeStepModel(StepModel rangeStepModel)
protected XYSeriesRegistry getRegistryInstance()
getRegistryInstance
in class Plot<XYSeries,XYSeriesFormatter,XYSeriesRenderer,XYSeriesBundle,XYSeriesRegistry>