Chart Class

The Chart view that visualizes data as a Cartesian series.

Declaration

public class Chart
extends ChartBase

The following image demonstrates the common chart elements: Cartesian chart elements

Each series defines appearance and behavior of data. Series, compatible with the Cartesian Chart View are inherit from the Series class.

In addition to series, the Cartesian Chart contains the legend that displays designations of series and series points, and axes (the X-axis is an argument axis and the Y-axis - a value axis) that manage coordinate space of the chart.

Refer to Cartesian Chart to learn more about the Cartesian Chart.

Note

Use the PieChart view to display Pie series.

Inheritance

Inherited Members

java.lang.Object.equals(java.lang.Object)
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long, int)
android.view.View.ACCESSIBILITY_LIVE_REGION_ASSERTIVE
android.view.View.ACCESSIBILITY_LIVE_REGION_NONE
android.view.View.ACCESSIBILITY_LIVE_REGION_POLITE
android.view.View.ALPHA
android.view.View.DRAWING_CACHE_QUALITY_AUTO
android.view.View.DRAWING_CACHE_QUALITY_HIGH
android.view.View.DRAWING_CACHE_QUALITY_LOW
android.view.View.FIND_VIEWS_WITH_CONTENT_DESCRIPTION
android.view.View.FIND_VIEWS_WITH_TEXT
android.view.View.FOCUSABLES_ALL
android.view.View.FOCUSABLES_TOUCH_MODE
android.view.View.FOCUS_BACKWARD
android.view.View.FOCUS_DOWN
android.view.View.FOCUS_FORWARD
android.view.View.FOCUS_LEFT
android.view.View.FOCUS_RIGHT
android.view.View.FOCUS_UP
android.view.View.GONE
android.view.View.HAPTIC_FEEDBACK_ENABLED
android.view.View.IMPORTANT_FOR_ACCESSIBILITY_AUTO
android.view.View.IMPORTANT_FOR_ACCESSIBILITY_NO
android.view.View.IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS
android.view.View.IMPORTANT_FOR_ACCESSIBILITY_YES
android.view.View.INVISIBLE
android.view.View.KEEP_SCREEN_ON
android.view.View.LAYER_TYPE_HARDWARE
android.view.View.LAYER_TYPE_NONE
android.view.View.LAYER_TYPE_SOFTWARE
android.view.View.LAYOUT_DIRECTION_INHERIT
android.view.View.LAYOUT_DIRECTION_LOCALE
android.view.View.LAYOUT_DIRECTION_LTR
android.view.View.LAYOUT_DIRECTION_RTL
android.view.View.MEASURED_HEIGHT_STATE_SHIFT
android.view.View.MEASURED_SIZE_MASK
android.view.View.MEASURED_STATE_MASK
android.view.View.MEASURED_STATE_TOO_SMALL
android.view.View.NO_ID
android.view.View.OVER_SCROLL_ALWAYS
android.view.View.OVER_SCROLL_IF_CONTENT_SCROLLS
android.view.View.OVER_SCROLL_NEVER
android.view.View.ROTATION
android.view.View.ROTATION_X
android.view.View.ROTATION_Y
android.view.View.SCALE_X
android.view.View.SCALE_Y
android.view.View.SCREEN_STATE_OFF
android.view.View.SCREEN_STATE_ON
android.view.View.SCROLLBARS_INSIDE_INSET
android.view.View.SCROLLBARS_INSIDE_OVERLAY
android.view.View.SCROLLBARS_OUTSIDE_INSET
android.view.View.SCROLLBARS_OUTSIDE_OVERLAY
android.view.View.SCROLLBAR_POSITION_DEFAULT
android.view.View.SCROLLBAR_POSITION_LEFT
android.view.View.SCROLLBAR_POSITION_RIGHT
android.view.View.SCROLL_AXIS_HORIZONTAL
android.view.View.SCROLL_AXIS_NONE
android.view.View.SCROLL_AXIS_VERTICAL
android.view.View.SCROLL_INDICATOR_BOTTOM
android.view.View.SCROLL_INDICATOR_END
android.view.View.SCROLL_INDICATOR_LEFT
android.view.View.SCROLL_INDICATOR_RIGHT
android.view.View.SCROLL_INDICATOR_START
android.view.View.SCROLL_INDICATOR_TOP
android.view.View.SOUND_EFFECTS_ENABLED
android.view.View.STATUS_BAR_HIDDEN
android.view.View.STATUS_BAR_VISIBLE
android.view.View.SYSTEM_UI_FLAG_FULLSCREEN
android.view.View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
android.view.View.SYSTEM_UI_FLAG_IMMERSIVE
android.view.View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY
android.view.View.SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
android.view.View.SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION
android.view.View.SYSTEM_UI_FLAG_LAYOUT_STABLE
android.view.View.SYSTEM_UI_FLAG_LIGHT_STATUS_BAR
android.view.View.SYSTEM_UI_FLAG_LOW_PROFILE
android.view.View.SYSTEM_UI_FLAG_VISIBLE
android.view.View.SYSTEM_UI_LAYOUT_FLAGS
android.view.View.TEXT_ALIGNMENT_CENTER
android.view.View.TEXT_ALIGNMENT_GRAVITY
android.view.View.TEXT_ALIGNMENT_INHERIT
android.view.View.TEXT_ALIGNMENT_TEXT_END
android.view.View.TEXT_ALIGNMENT_TEXT_START
android.view.View.TEXT_ALIGNMENT_VIEW_END
android.view.View.TEXT_ALIGNMENT_VIEW_START
android.view.View.TEXT_DIRECTION_ANY_RTL
android.view.View.TEXT_DIRECTION_FIRST_STRONG
android.view.View.TEXT_DIRECTION_FIRST_STRONG_LTR
android.view.View.TEXT_DIRECTION_FIRST_STRONG_RTL
android.view.View.TEXT_DIRECTION_INHERIT
android.view.View.TEXT_DIRECTION_LOCALE
android.view.View.TEXT_DIRECTION_LTR
android.view.View.TEXT_DIRECTION_RTL
android.view.View.TRANSLATION_X
android.view.View.TRANSLATION_Y
android.view.View.TRANSLATION_Z
android.view.View.VISIBLE
android.view.View.X
android.view.View.Y
android.view.View.Z
android.view.View.addChildrenForAccessibility(java.util.ArrayList<android.view.View>)
android.view.View.addFocusables(java.util.ArrayList<android.view.View>, int)
android.view.View.addFocusables(java.util.ArrayList<android.view.View>, int, int)
android.view.View.addOnAttachStateChangeListener(android.view.View.OnAttachStateChangeListener)
android.view.View.addOnLayoutChangeListener(android.view.View.OnLayoutChangeListener)
android.view.View.addTouchables(java.util.ArrayList<android.view.View>)
android.view.View.animate()
android.view.View.announceForAccessibility(java.lang.CharSequence)
android.view.View.bringToFront()
android.view.View.buildDrawingCache()
android.view.View.buildDrawingCache(boolean)
android.view.View.buildLayer()
android.view.View.callOnClick()
android.view.View.canResolveLayoutDirection()
android.view.View.canResolveTextAlignment()
android.view.View.canResolveTextDirection()
android.view.View.canScrollHorizontally(int)
android.view.View.canScrollVertically(int)
android.view.View.cancelLongPress()
android.view.View.cancelPendingInputEvents()
android.view.View.checkInputConnectionProxy(android.view.View)
android.view.View.clearAnimation()
android.view.View.clearFocus()
android.view.View.combineMeasuredStates(int, int)
android.view.View.computeScroll()
android.view.View.computeSystemWindowInsets(android.view.WindowInsets, android.graphics.Rect)
android.view.View.createAccessibilityNodeInfo()
android.view.View.createContextMenu(android.view.ContextMenu)
android.view.View.destroyDrawingCache()
android.view.View.dispatchApplyWindowInsets(android.view.WindowInsets)
android.view.View.dispatchConfigurationChanged(android.content.res.Configuration)
android.view.View.dispatchDisplayHint(int)
android.view.View.dispatchDragEvent(android.view.DragEvent)
android.view.View.dispatchDrawableHotspotChanged(float, float)
android.view.View.dispatchGenericMotionEvent(android.view.MotionEvent)
android.view.View.dispatchKeyEvent(android.view.KeyEvent)
android.view.View.dispatchKeyEventPreIme(android.view.KeyEvent)
android.view.View.dispatchKeyShortcutEvent(android.view.KeyEvent)
android.view.View.dispatchNestedFling(float, float, boolean)
android.view.View.dispatchNestedPreFling(float, float)
android.view.View.dispatchNestedPrePerformAccessibilityAction(int, android.os.Bundle)
android.view.View.dispatchNestedPreScroll(int, int, int[], int[])
android.view.View.dispatchNestedScroll(int, int, int, int, int[])
android.view.View.dispatchPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent)
android.view.View.dispatchProvideStructure(android.view.ViewStructure)
android.view.View.dispatchSystemUiVisibilityChanged(int)
android.view.View.dispatchTouchEvent(android.view.MotionEvent)
android.view.View.dispatchTrackballEvent(android.view.MotionEvent)
android.view.View.dispatchUnhandledMove(android.view.View, int)
android.view.View.dispatchWindowFocusChanged(boolean)
android.view.View.dispatchWindowSystemUiVisiblityChanged(int)
android.view.View.dispatchWindowVisibilityChanged(int)
android.view.View.draw(android.graphics.Canvas)
android.view.View.drawableHotspotChanged(float, float)
android.view.View.findFocus()
android.view.View.findViewById(int)
android.view.View.findViewWithTag(java.lang.Object)
android.view.View.findViewsWithText(java.util.ArrayList<android.view.View>, java.lang.CharSequence, int)
android.view.View.focusSearch(int)
android.view.View.forceLayout()
android.view.View.generateViewId()
android.view.View.getAccessibilityClassName()
android.view.View.getAccessibilityLiveRegion()
android.view.View.getAccessibilityNodeProvider()
android.view.View.getAccessibilityTraversalAfter()
android.view.View.getAccessibilityTraversalBefore()
android.view.View.getAlpha()
android.view.View.getAnimation()
android.view.View.getApplicationWindowToken()
android.view.View.getBackground()
android.view.View.getBackgroundTintList()
android.view.View.getBackgroundTintMode()
android.view.View.getBaseline()
android.view.View.getBottom()
android.view.View.getCameraDistance()
android.view.View.getClipBounds()
android.view.View.getClipBounds(android.graphics.Rect)
android.view.View.getClipToOutline()
android.view.View.getContentDescription()
android.view.View.getContext()
android.view.View.getDefaultSize(int, int)
android.view.View.getDisplay()
android.view.View.getDrawableState()
android.view.View.getDrawingCache()
android.view.View.getDrawingCache(boolean)
android.view.View.getDrawingCacheBackgroundColor()
android.view.View.getDrawingCacheQuality()
android.view.View.getDrawingRect(android.graphics.Rect)
android.view.View.getDrawingTime()
android.view.View.getElevation()
android.view.View.getFilterTouchesWhenObscured()
android.view.View.getFitsSystemWindows()
android.view.View.getFocusables(int)
android.view.View.getFocusedRect(android.graphics.Rect)
android.view.View.getForeground()
android.view.View.getForegroundGravity()
android.view.View.getForegroundTintList()
android.view.View.getForegroundTintMode()
android.view.View.getGlobalVisibleRect(android.graphics.Rect)
android.view.View.getGlobalVisibleRect(android.graphics.Rect, android.graphics.Point)
android.view.View.getHandler()
android.view.View.getHeight()
android.view.View.getHitRect(android.graphics.Rect)
android.view.View.getHorizontalFadingEdgeLength()
android.view.View.getId()
android.view.View.getImportantForAccessibility()
android.view.View.getKeepScreenOn()
android.view.View.getKeyDispatcherState()
android.view.View.getLabelFor()
android.view.View.getLayerType()
android.view.View.getLayoutDirection()
android.view.View.getLayoutParams()
android.view.View.getLeft()
android.view.View.getLocalVisibleRect(android.graphics.Rect)
android.view.View.getLocationInWindow(int[])
android.view.View.getLocationOnScreen(int[])
android.view.View.getMatrix()
android.view.View.getMeasuredHeight()
android.view.View.getMeasuredHeightAndState()
android.view.View.getMeasuredState()
android.view.View.getMeasuredWidth()
android.view.View.getMeasuredWidthAndState()
android.view.View.getMinimumHeight()
android.view.View.getMinimumWidth()
android.view.View.getNextFocusDownId()
android.view.View.getNextFocusForwardId()
android.view.View.getNextFocusLeftId()
android.view.View.getNextFocusRightId()
android.view.View.getNextFocusUpId()
android.view.View.getOnFocusChangeListener()
android.view.View.getOutlineProvider()
android.view.View.getOverScrollMode()
android.view.View.getOverlay()
android.view.View.getPaddingBottom()
android.view.View.getPaddingEnd()
android.view.View.getPaddingLeft()
android.view.View.getPaddingRight()
android.view.View.getPaddingStart()
android.view.View.getPaddingTop()
android.view.View.getParent()
android.view.View.getParentForAccessibility()
android.view.View.getPivotX()
android.view.View.getPivotY()
android.view.View.getResources()
android.view.View.getRight()
android.view.View.getRootView()
android.view.View.getRootWindowInsets()
android.view.View.getRotation()
android.view.View.getRotationX()
android.view.View.getRotationY()
android.view.View.getScaleX()
android.view.View.getScaleY()
android.view.View.getScrollBarDefaultDelayBeforeFade()
android.view.View.getScrollBarFadeDuration()
android.view.View.getScrollBarSize()
android.view.View.getScrollBarStyle()
android.view.View.getScrollIndicators()
android.view.View.getScrollX()
android.view.View.getScrollY()
android.view.View.getSolidColor()
android.view.View.getStateListAnimator()
android.view.View.getSystemUiVisibility()
android.view.View.getTag()
android.view.View.getTag(int)
android.view.View.getTextAlignment()
android.view.View.getTextDirection()
android.view.View.getTop()
android.view.View.getTouchDelegate()
android.view.View.getTouchables()
android.view.View.getTransitionName()
android.view.View.getTranslationX()
android.view.View.getTranslationY()
android.view.View.getTranslationZ()
android.view.View.getVerticalFadingEdgeLength()
android.view.View.getVerticalScrollbarPosition()
android.view.View.getVerticalScrollbarWidth()
android.view.View.getViewTreeObserver()
android.view.View.getVisibility()
android.view.View.getWidth()
android.view.View.getWindowId()
android.view.View.getWindowSystemUiVisibility()
android.view.View.getWindowToken()
android.view.View.getWindowVisibility()
android.view.View.getWindowVisibleDisplayFrame(android.graphics.Rect)
android.view.View.getX()
android.view.View.getY()
android.view.View.getZ()
android.view.View.hasFocus()
android.view.View.hasFocusable()
android.view.View.hasNestedScrollingParent()
android.view.View.hasOnClickListeners()
android.view.View.hasOverlappingRendering()
android.view.View.hasTransientState()
android.view.View.hasWindowFocus()
android.view.View.inflate(android.content.Context, int, android.view.ViewGroup)
android.view.View.invalidate()
android.view.View.invalidate(android.graphics.Rect)
android.view.View.invalidate(int, int, int, int)
android.view.View.invalidateDrawable(android.graphics.drawable.Drawable)
android.view.View.invalidateOutline()
android.view.View.isAccessibilityFocused()
android.view.View.isActivated()
android.view.View.isAttachedToWindow()
android.view.View.isClickable()
android.view.View.isContextClickable()
android.view.View.isDirty()
android.view.View.isDrawingCacheEnabled()
android.view.View.isDuplicateParentStateEnabled()
android.view.View.isEnabled()
android.view.View.isFocusable()
android.view.View.isFocusableInTouchMode()
android.view.View.isFocused()
android.view.View.isHapticFeedbackEnabled()
android.view.View.isHardwareAccelerated()
android.view.View.isHorizontalFadingEdgeEnabled()
android.view.View.isHorizontalScrollBarEnabled()
android.view.View.isHovered()
android.view.View.isImportantForAccessibility()
android.view.View.isInEditMode()
android.view.View.isInLayout()
android.view.View.isInTouchMode()
android.view.View.isLaidOut()
android.view.View.isLayoutDirectionResolved()
android.view.View.isLayoutRequested()
android.view.View.isLongClickable()
android.view.View.isNestedScrollingEnabled()
android.view.View.isOpaque()
android.view.View.isPaddingRelative()
android.view.View.isPressed()
android.view.View.isSaveEnabled()
android.view.View.isSaveFromParentEnabled()
android.view.View.isScrollContainer()
android.view.View.isScrollbarFadingEnabled()
android.view.View.isSelected()
android.view.View.isShown()
android.view.View.isSoundEffectsEnabled()
android.view.View.isTextAlignmentResolved()
android.view.View.isTextDirectionResolved()
android.view.View.isVerticalFadingEdgeEnabled()
android.view.View.isVerticalScrollBarEnabled()
android.view.View.jumpDrawablesToCurrentState()
android.view.View.layout(int, int, int, int)
android.view.View.measure(int, int)
android.view.View.offsetLeftAndRight(int)
android.view.View.offsetTopAndBottom(int)
android.view.View.onApplyWindowInsets(android.view.WindowInsets)
android.view.View.onCancelPendingInputEvents()
android.view.View.onCheckIsTextEditor()
android.view.View.onCreateInputConnection(android.view.inputmethod.EditorInfo)
android.view.View.onDragEvent(android.view.DragEvent)
android.view.View.onDrawForeground(android.graphics.Canvas)
android.view.View.onFilterTouchEventForSecurity(android.view.MotionEvent)
android.view.View.onFinishTemporaryDetach()
android.view.View.onGenericMotionEvent(android.view.MotionEvent)
android.view.View.onHoverChanged(boolean)
android.view.View.onHoverEvent(android.view.MotionEvent)
android.view.View.onInitializeAccessibilityEvent(android.view.accessibility.AccessibilityEvent)
android.view.View.onInitializeAccessibilityNodeInfo(android.view.accessibility.AccessibilityNodeInfo)
android.view.View.onKeyDown(int, android.view.KeyEvent)
android.view.View.onKeyLongPress(int, android.view.KeyEvent)
android.view.View.onKeyMultiple(int, int, android.view.KeyEvent)
android.view.View.onKeyPreIme(int, android.view.KeyEvent)
android.view.View.onKeyShortcut(int, android.view.KeyEvent)
android.view.View.onKeyUp(int, android.view.KeyEvent)
android.view.View.onPopulateAccessibilityEvent(android.view.accessibility.AccessibilityEvent)
android.view.View.onProvideStructure(android.view.ViewStructure)
android.view.View.onProvideVirtualStructure(android.view.ViewStructure)
android.view.View.onRtlPropertiesChanged(int)
android.view.View.onScreenStateChanged(int)
android.view.View.onStartTemporaryDetach()
android.view.View.onTouchEvent(android.view.MotionEvent)
android.view.View.onTrackballEvent(android.view.MotionEvent)
android.view.View.onWindowFocusChanged(boolean)
android.view.View.onWindowSystemUiVisibilityChanged(int)
android.view.View.performAccessibilityAction(int, android.os.Bundle)
android.view.View.performClick()
android.view.View.performContextClick()
android.view.View.performHapticFeedback(int)
android.view.View.performHapticFeedback(int, int)
android.view.View.performLongClick()
android.view.View.playSoundEffect(int)
android.view.View.post(java.lang.Runnable)
android.view.View.postDelayed(java.lang.Runnable, long)
android.view.View.postInvalidate()
android.view.View.postInvalidate(int, int, int, int)
android.view.View.postInvalidateDelayed(long)
android.view.View.postInvalidateDelayed(long, int, int, int, int)
android.view.View.postInvalidateOnAnimation()
android.view.View.postInvalidateOnAnimation(int, int, int, int)
android.view.View.postOnAnimation(java.lang.Runnable)
android.view.View.postOnAnimationDelayed(java.lang.Runnable, long)
android.view.View.refreshDrawableState()
android.view.View.removeCallbacks(java.lang.Runnable)
android.view.View.removeOnAttachStateChangeListener(android.view.View.OnAttachStateChangeListener)
android.view.View.removeOnLayoutChangeListener(android.view.View.OnLayoutChangeListener)
android.view.View.requestApplyInsets()
android.view.View.requestFitSystemWindows()
android.view.View.requestFocus()
android.view.View.requestFocus(int)
android.view.View.requestFocus(int, android.graphics.Rect)
android.view.View.requestFocusFromTouch()
android.view.View.requestLayout()
android.view.View.requestRectangleOnScreen(android.graphics.Rect)
android.view.View.requestRectangleOnScreen(android.graphics.Rect, boolean)
android.view.View.requestUnbufferedDispatch(android.view.MotionEvent)
android.view.View.resolveSize(int, int)
android.view.View.resolveSizeAndState(int, int, int)
android.view.View.restoreHierarchyState(android.util.SparseArray<android.os.Parcelable>)
android.view.View.saveHierarchyState(android.util.SparseArray<android.os.Parcelable>)
android.view.View.scheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable, long)
android.view.View.scrollBy(int, int)
android.view.View.scrollTo(int, int)
android.view.View.sendAccessibilityEvent(int)
android.view.View.sendAccessibilityEventUnchecked(android.view.accessibility.AccessibilityEvent)
android.view.View.setAccessibilityDelegate(android.view.View.AccessibilityDelegate)
android.view.View.setAccessibilityLiveRegion(int)
android.view.View.setAccessibilityTraversalAfter(int)
android.view.View.setAccessibilityTraversalBefore(int)
android.view.View.setActivated(boolean)
android.view.View.setAlpha(float)
android.view.View.setAnimation(android.view.animation.Animation)
android.view.View.setBackground(android.graphics.drawable.Drawable)
android.view.View.setBackgroundColor(int)
android.view.View.setBackgroundDrawable(android.graphics.drawable.Drawable)
android.view.View.setBackgroundResource(int)
android.view.View.setBackgroundTintList(android.content.res.ColorStateList)
android.view.View.setBackgroundTintMode(android.graphics.PorterDuff.Mode)
android.view.View.setBottom(int)
android.view.View.setCameraDistance(float)
android.view.View.setClickable(boolean)
android.view.View.setClipBounds(android.graphics.Rect)
android.view.View.setClipToOutline(boolean)
android.view.View.setContentDescription(java.lang.CharSequence)
android.view.View.setContextClickable(boolean)
android.view.View.setDrawingCacheBackgroundColor(int)
android.view.View.setDrawingCacheEnabled(boolean)
android.view.View.setDrawingCacheQuality(int)
android.view.View.setDuplicateParentStateEnabled(boolean)
android.view.View.setElevation(float)
android.view.View.setEnabled(boolean)
android.view.View.setFadingEdgeLength(int)
android.view.View.setFilterTouchesWhenObscured(boolean)
android.view.View.setFitsSystemWindows(boolean)
android.view.View.setFocusable(boolean)
android.view.View.setFocusableInTouchMode(boolean)
android.view.View.setForeground(android.graphics.drawable.Drawable)
android.view.View.setForegroundGravity(int)
android.view.View.setForegroundTintList(android.content.res.ColorStateList)
android.view.View.setForegroundTintMode(android.graphics.PorterDuff.Mode)
android.view.View.setHapticFeedbackEnabled(boolean)
android.view.View.setHasTransientState(boolean)
android.view.View.setHorizontalFadingEdgeEnabled(boolean)
android.view.View.setHorizontalScrollBarEnabled(boolean)
android.view.View.setHovered(boolean)
android.view.View.setId(int)
android.view.View.setImportantForAccessibility(int)
android.view.View.setKeepScreenOn(boolean)
android.view.View.setLabelFor(int)
android.view.View.setLayerPaint(android.graphics.Paint)
android.view.View.setLayerType(int, android.graphics.Paint)
android.view.View.setLayoutDirection(int)
android.view.View.setLayoutParams(android.view.ViewGroup.LayoutParams)
android.view.View.setLeft(int)
android.view.View.setLongClickable(boolean)
android.view.View.setMinimumHeight(int)
android.view.View.setMinimumWidth(int)
android.view.View.setNestedScrollingEnabled(boolean)
android.view.View.setNextFocusDownId(int)
android.view.View.setNextFocusForwardId(int)
android.view.View.setNextFocusLeftId(int)
android.view.View.setNextFocusRightId(int)
android.view.View.setNextFocusUpId(int)
android.view.View.setOnApplyWindowInsetsListener(android.view.View.OnApplyWindowInsetsListener)
android.view.View.setOnClickListener(android.view.View.OnClickListener)
android.view.View.setOnContextClickListener(android.view.View.OnContextClickListener)
android.view.View.setOnCreateContextMenuListener(android.view.View.OnCreateContextMenuListener)
android.view.View.setOnDragListener(android.view.View.OnDragListener)
android.view.View.setOnFocusChangeListener(android.view.View.OnFocusChangeListener)
android.view.View.setOnGenericMotionListener(android.view.View.OnGenericMotionListener)
android.view.View.setOnHoverListener(android.view.View.OnHoverListener)
android.view.View.setOnKeyListener(android.view.View.OnKeyListener)
android.view.View.setOnLongClickListener(android.view.View.OnLongClickListener)
android.view.View.setOnScrollChangeListener(android.view.View.OnScrollChangeListener)
android.view.View.setOnSystemUiVisibilityChangeListener(android.view.View.OnSystemUiVisibilityChangeListener)
android.view.View.setOnTouchListener(android.view.View.OnTouchListener)
android.view.View.setOutlineProvider(android.view.ViewOutlineProvider)
android.view.View.setOverScrollMode(int)
android.view.View.setPadding(int, int, int, int)
android.view.View.setPaddingRelative(int, int, int, int)
android.view.View.setPivotX(float)
android.view.View.setPivotY(float)
android.view.View.setPressed(boolean)
android.view.View.setRight(int)
android.view.View.setRotation(float)
android.view.View.setRotationX(float)
android.view.View.setRotationY(float)
android.view.View.setSaveEnabled(boolean)
android.view.View.setSaveFromParentEnabled(boolean)
android.view.View.setScaleX(float)
android.view.View.setScaleY(float)
android.view.View.setScrollBarDefaultDelayBeforeFade(int)
android.view.View.setScrollBarFadeDuration(int)
android.view.View.setScrollBarSize(int)
android.view.View.setScrollBarStyle(int)
android.view.View.setScrollContainer(boolean)
android.view.View.setScrollIndicators(int)
android.view.View.setScrollIndicators(int, int)
android.view.View.setScrollX(int)
android.view.View.setScrollY(int)
android.view.View.setScrollbarFadingEnabled(boolean)
android.view.View.setSelected(boolean)
android.view.View.setSoundEffectsEnabled(boolean)
android.view.View.setStateListAnimator(android.animation.StateListAnimator)
android.view.View.setSystemUiVisibility(int)
android.view.View.setTag(int, java.lang.Object)
android.view.View.setTag(java.lang.Object)
android.view.View.setTextAlignment(int)
android.view.View.setTextDirection(int)
android.view.View.setTop(int)
android.view.View.setTouchDelegate(android.view.TouchDelegate)
android.view.View.setTransitionName(java.lang.String)
android.view.View.setTranslationX(float)
android.view.View.setTranslationY(float)
android.view.View.setTranslationZ(float)
android.view.View.setVerticalFadingEdgeEnabled(boolean)
android.view.View.setVerticalScrollBarEnabled(boolean)
android.view.View.setVerticalScrollbarPosition(int)
android.view.View.setVisibility(int)
android.view.View.setWillNotCacheDrawing(boolean)
android.view.View.setWillNotDraw(boolean)
android.view.View.setX(float)
android.view.View.setY(float)
android.view.View.setZ(float)
android.view.View.showContextMenu()
android.view.View.startActionMode(android.view.ActionMode.Callback)
android.view.View.startActionMode(android.view.ActionMode.Callback, int)
android.view.View.startAnimation(android.view.animation.Animation)
android.view.View.startDrag(android.content.ClipData, android.view.View.DragShadowBuilder, java.lang.Object, int)
android.view.View.startNestedScroll(int)
android.view.View.stopNestedScroll()
android.view.View.toString()
android.view.View.unscheduleDrawable(android.graphics.drawable.Drawable)
android.view.View.unscheduleDrawable(android.graphics.drawable.Drawable, java.lang.Runnable)
android.view.View.willNotCacheDrawing()
android.view.View.willNotDraw()
android.view.ViewGroup.FOCUS_AFTER_DESCENDANTS
android.view.ViewGroup.FOCUS_BEFORE_DESCENDANTS
android.view.ViewGroup.FOCUS_BLOCK_DESCENDANTS
android.view.ViewGroup.LAYOUT_MODE_CLIP_BOUNDS
android.view.ViewGroup.LAYOUT_MODE_OPTICAL_BOUNDS
android.view.ViewGroup.PERSISTENT_ALL_CACHES
android.view.ViewGroup.PERSISTENT_ANIMATION_CACHE
android.view.ViewGroup.PERSISTENT_NO_CACHE
android.view.ViewGroup.PERSISTENT_SCROLLING_CACHE
android.view.ViewGroup.addChildrenForAccessibility(java.util.ArrayList<android.view.View>)
android.view.ViewGroup.addFocusables(java.util.ArrayList<android.view.View>, int, int)
android.view.ViewGroup.addStatesFromChildren()
android.view.ViewGroup.addTouchables(java.util.ArrayList<android.view.View>)
android.view.ViewGroup.addView(android.view.View)
android.view.ViewGroup.addView(android.view.View, android.view.ViewGroup.LayoutParams)
android.view.ViewGroup.addView(android.view.View, int)
android.view.ViewGroup.addView(android.view.View, int, android.view.ViewGroup.LayoutParams)
android.view.ViewGroup.addView(android.view.View, int, int)
android.view.ViewGroup.bringChildToFront(android.view.View)
android.view.ViewGroup.childDrawableStateChanged(android.view.View)
android.view.ViewGroup.childHasTransientStateChanged(android.view.View, boolean)
android.view.ViewGroup.clearChildFocus(android.view.View)
android.view.ViewGroup.clearDisappearingChildren()
android.view.ViewGroup.clearFocus()
android.view.ViewGroup.dispatchApplyWindowInsets(android.view.WindowInsets)
android.view.ViewGroup.dispatchConfigurationChanged(android.content.res.Configuration)
android.view.ViewGroup.dispatchDisplayHint(int)
android.view.ViewGroup.dispatchDragEvent(android.view.DragEvent)
android.view.ViewGroup.dispatchDrawableHotspotChanged(float, float)
android.view.ViewGroup.dispatchKeyEvent(android.view.KeyEvent)
android.view.ViewGroup.dispatchKeyEventPreIme(android.view.KeyEvent)
android.view.ViewGroup.dispatchKeyShortcutEvent(android.view.KeyEvent)
android.view.ViewGroup.dispatchProvideStructure(android.view.ViewStructure)
android.view.ViewGroup.dispatchSetActivated(boolean)
android.view.ViewGroup.dispatchSetSelected(boolean)
android.view.ViewGroup.dispatchSystemUiVisibilityChanged(int)
android.view.ViewGroup.dispatchTouchEvent(android.view.MotionEvent)
android.view.ViewGroup.dispatchTrackballEvent(android.view.MotionEvent)
android.view.ViewGroup.dispatchUnhandledMove(android.view.View, int)
android.view.ViewGroup.dispatchWindowFocusChanged(boolean)
android.view.ViewGroup.dispatchWindowSystemUiVisiblityChanged(int)
android.view.ViewGroup.dispatchWindowVisibilityChanged(int)
android.view.ViewGroup.endViewTransition(android.view.View)
android.view.ViewGroup.findFocus()
android.view.ViewGroup.findViewsWithText(java.util.ArrayList<android.view.View>, java.lang.CharSequence, int)
android.view.ViewGroup.focusSearch(android.view.View, int)
android.view.ViewGroup.focusableViewAvailable(android.view.View)
android.view.ViewGroup.gatherTransparentRegion(android.graphics.Region)
android.view.ViewGroup.generateLayoutParams(android.util.AttributeSet)
android.view.ViewGroup.getAccessibilityClassName()
android.view.ViewGroup.getChildAt(int)
android.view.ViewGroup.getChildCount()
android.view.ViewGroup.getChildMeasureSpec(int, int, int)
android.view.ViewGroup.getChildVisibleRect(android.view.View, android.graphics.Rect, android.graphics.Point)
android.view.ViewGroup.getClipChildren()
android.view.ViewGroup.getClipToPadding()
android.view.ViewGroup.getDescendantFocusability()
android.view.ViewGroup.getFocusedChild()
android.view.ViewGroup.getLayoutAnimation()
android.view.ViewGroup.getLayoutAnimationListener()
android.view.ViewGroup.getLayoutMode()
android.view.ViewGroup.getLayoutTransition()
android.view.ViewGroup.getNestedScrollAxes()
android.view.ViewGroup.getOverlay()
android.view.ViewGroup.getPersistentDrawingCache()
android.view.ViewGroup.getTouchscreenBlocksFocus()
android.view.ViewGroup.hasFocus()
android.view.ViewGroup.hasFocusable()
android.view.ViewGroup.hasTransientState()
android.view.ViewGroup.indexOfChild(android.view.View)
android.view.ViewGroup.invalidateChild(android.view.View, android.graphics.Rect)
android.view.ViewGroup.invalidateChildInParent(int[], android.graphics.Rect)
android.view.ViewGroup.isAlwaysDrawnWithCacheEnabled()
android.view.ViewGroup.isAnimationCacheEnabled()
android.view.ViewGroup.isMotionEventSplittingEnabled()
android.view.ViewGroup.isTransitionGroup()
android.view.ViewGroup.jumpDrawablesToCurrentState()
android.view.ViewGroup.layout(int, int, int, int)
android.view.ViewGroup.notifySubtreeAccessibilityStateChanged(android.view.View, android.view.View, int)
android.view.ViewGroup.offsetDescendantRectToMyCoords(android.view.View, android.graphics.Rect)
android.view.ViewGroup.offsetRectIntoDescendantCoords(android.view.View, android.graphics.Rect)
android.view.ViewGroup.onInterceptHoverEvent(android.view.MotionEvent)
android.view.ViewGroup.onInterceptTouchEvent(android.view.MotionEvent)
android.view.ViewGroup.onNestedFling(android.view.View, float, float, boolean)
android.view.ViewGroup.onNestedPreFling(android.view.View, float, float)
android.view.ViewGroup.onNestedPrePerformAccessibilityAction(android.view.View, int, android.os.Bundle)
android.view.ViewGroup.onNestedPreScroll(android.view.View, int, int, int[])
android.view.ViewGroup.onNestedScroll(android.view.View, int, int, int, int)
android.view.ViewGroup.onNestedScrollAccepted(android.view.View, android.view.View, int)
android.view.ViewGroup.onRequestSendAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent)
android.view.ViewGroup.onStartNestedScroll(android.view.View, android.view.View, int)
android.view.ViewGroup.onStopNestedScroll(android.view.View)
android.view.ViewGroup.onViewAdded(android.view.View)
android.view.ViewGroup.onViewRemoved(android.view.View)
android.view.ViewGroup.recomputeViewAttributes(android.view.View)
android.view.ViewGroup.removeAllViews()
android.view.ViewGroup.removeAllViewsInLayout()
android.view.ViewGroup.removeView(android.view.View)
android.view.ViewGroup.removeViewAt(int)
android.view.ViewGroup.removeViewInLayout(android.view.View)
android.view.ViewGroup.removeViews(int, int)
android.view.ViewGroup.removeViewsInLayout(int, int)
android.view.ViewGroup.requestChildFocus(android.view.View, android.view.View)
android.view.ViewGroup.requestChildRectangleOnScreen(android.view.View, android.graphics.Rect, boolean)
android.view.ViewGroup.requestDisallowInterceptTouchEvent(boolean)
android.view.ViewGroup.requestFocus(int, android.graphics.Rect)
android.view.ViewGroup.requestSendAccessibilityEvent(android.view.View, android.view.accessibility.AccessibilityEvent)
android.view.ViewGroup.requestTransparentRegion(android.view.View)
android.view.ViewGroup.scheduleLayoutAnimation()
android.view.ViewGroup.setAddStatesFromChildren(boolean)
android.view.ViewGroup.setAlwaysDrawnWithCacheEnabled(boolean)
android.view.ViewGroup.setAnimationCacheEnabled(boolean)
android.view.ViewGroup.setClipChildren(boolean)
android.view.ViewGroup.setClipToPadding(boolean)
android.view.ViewGroup.setDescendantFocusability(int)
android.view.ViewGroup.setLayoutAnimation(android.view.animation.LayoutAnimationController)
android.view.ViewGroup.setLayoutAnimationListener(android.view.animation.Animation.AnimationListener)
android.view.ViewGroup.setLayoutMode(int)
android.view.ViewGroup.setLayoutTransition(android.animation.LayoutTransition)
android.view.ViewGroup.setMotionEventSplittingEnabled(boolean)
android.view.ViewGroup.setOnHierarchyChangeListener(android.view.ViewGroup.OnHierarchyChangeListener)
android.view.ViewGroup.setPersistentDrawingCache(int)
android.view.ViewGroup.setTouchscreenBlocksFocus(boolean)
android.view.ViewGroup.setTransitionGroup(boolean)
android.view.ViewGroup.shouldDelayChildPressedState()
android.view.ViewGroup.showContextMenuForChild(android.view.View)
android.view.ViewGroup.startActionModeForChild(android.view.View, android.view.ActionMode.Callback)
android.view.ViewGroup.startActionModeForChild(android.view.View, android.view.ActionMode.Callback, int)
android.view.ViewGroup.startLayoutAnimation()
android.view.ViewGroup.startViewTransition(android.view.View)
android.view.ViewGroup.updateViewLayout(android.view.View, android.view.ViewGroup.LayoutParams)

Constructors

Chart(Context) Constructor

Used when programmatically initialization of a chart.

Declaration

public Chart(Context context)

Parameters

Type Name Description
Context context

The Context class descendant object that stores information about the application enviroment.

Chart(Context, AttributeSet) Constructor

Used to apply the associated XML attributes.

Declaration

public Chart(Context context, AttributeSet attrs)

Parameters

Type Name Description
Context context

The Context class descendant object that stores information about the application enviroment.

AttributeSet attrs

The AttributeSet class object that is a collection of attributes associated with a tag in an XML document.

Chart(Context, AttributeSet, int) Constructor

Used to apply the associated XML attributes and the base style from a theme attribute.

Declaration

public Chart(Context context, AttributeSet attrs, int defStyleAttr)

Parameters

Type Name Description
Context context

The Context class descendant object that stores information about the application enviroment.

AttributeSet attrs

The AttributeSet class object that is a collection of attributes associated with a tag in an XML document.

int defStyleAttr

The current theme attribute that contains a reference to a style resource with default style values.

Chart(Context, AttributeSet, int, RenderMode) Constructor

Used to apply the associated XML attributes and the base style from a theme attribute or a style resource.

Declaration

public Chart(Context context, AttributeSet attrs, int defStyleAttr, RenderMode renderMode)

Parameters

Type Name Description
Context context

The Context class descendant object that stores information about the application enviroment.

AttributeSet attrs

The AttributeSet class object that is a collection of attributes associated with a tag in an XML document.

int defStyleAttr

The current theme attribute that contains a reference to a style resource with default style values.

RenderMode renderMode

The RenderMode enumeration value that specifies the chart's render mode.

Chart(Context, AttributeSet, int, int) Constructor

Used to apply the associated XML attributes and the base style from a theme attribute or a style resource.

Declaration

public Chart(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes)

Parameters

Type Name Description
Context context

The Context class descendant object that stores information about the application enviroment.

AttributeSet attrs

The AttributeSet class object that is a collection of attributes associated with a tag in an XML document.

int defStyleAttr

The current theme attribute that contains a reference to a style resource with default style values.

int defStyleRes

The resource identifier of a style resource that supplies default values for StyledAttributes, used only if defStyleAttr is 0 or cannot be found in the theme.

Chart(Context, AttributeSet, int, int, RenderMode) Constructor

Used to apply the associated XML attributes and the base style from a theme attribute or a style resource.

Declaration

public Chart(Context context, AttributeSet attrs, int defStyleAttr, int defStyleRes, RenderMode renderMode)

Parameters

Type Name Description
Context context

The Context class descendant object that stores information about the application enviroment.

AttributeSet attrs

The AttributeSet class object that is a collection of attributes associated with a tag in an XML document.

int defStyleAttr

The current theme attribute that contains a reference to a style resource with default style values.

int defStyleRes

The resource identifier of a style resource that supplies default values for StyledAttributes, used only if defStyleAttr is 0 or cannot be found in the theme.

RenderMode renderMode

The RenderMode enumeration value that specifies the chart's render mode.

Methods

Chart.addSeries(Series) Method

Adds the specified new series to the chart.

Declaration

public void addSeries(Series newSeries)

Parameters

Type Name Description
Series newSeries

The new series that the chart should show.

Chart.getAxisMaxZoomPercent() Method

Returns the maximum zoom value as a percentage for axes.

Declaration

public double getAxisMaxZoomPercent()

Returns

Type Description
double

The maximum zoom value as a percentage.

Chart.getAxisX() Method

Returns the chart's X-axis.

Declaration

public AxisX getAxisX()

Returns

Type Description
AxisX

The AxisX class descendant that is the current arguments axis.

Note that the X-axis type is related to the series data type. If these types are not compatible, series does not display on the chart. If the X-axis is not specified, the chart generates it according to the first series's data type.

Chart.getAxisXNavigationMode() Method

Returns the X-axis's navigation mode.

Declaration

public AxisNavigationMode getAxisXNavigationMode()

Returns

Type Description
AxisNavigationMode

The {@AxisNavigationMode} enumeration value specifies the X-axis's available navigation actions.

Chart.getAxisY() Method

Returns the chart's Y-axis.

Declaration

public NumericAxisY getAxisY()

Returns

Type Description
NumericAxisY

The NumericAxisY object that is the current values axis.

Chart.getAxisYNavigationMode() Method

Returns the Y-axis's navigation mode.

Declaration

public AxisNavigationMode getAxisYNavigationMode()

Returns

Type Description
AxisNavigationMode

The {@AxisNavigationMode} enumeration value specifies the Y-axis's available navigation actions.

Chart.getHint() Method

Returns the chart hint settings.

Declaration

public Hint getHint()

Returns

Type Description
Hint

The Hint object that specifies the hint settings.

Chart.getSeries() Method

Returns the array of series that the chart displays.

Declaration

public Series[] getSeries()

Returns

Type Description
Series[]

The array of series that the chart displays.

Chart.getStyle() Method

Returns the chart's style.

Declaration

public ChartStyle getStyle()

Returns

Type Description
ChartStyle

The ChartStyle object that specifies chart appearance settings.

Chart.isRotated() Method

Returns the value indicating whether the diagram is rotated.

Declaration

public boolean isRotated()

Returns

Type Description
boolean

true if the chart is rotated; otherwise false.

Chart.isScrollIndicatorsEnabled() Method

Returns the value that indicates whether scroll indicators are enabled when scrolling the chart.

Declaration

public boolean isScrollIndicatorsEnabled()

Returns

Type Description
boolean

true if scroll indicators are enabled; otherwise, false.

Chart.removeAllSeries() Method

Removes all series from the chart.

Declaration

public void removeAllSeries()

Chart.removeSeries(Series) Method

Removes the specified series from the chart.

Declaration

public void removeSeries(Series series)

Parameters

Type Name Description
Series series

The series to be removed.

Chart.removeSeries(int) Method

Removes a series at the specified index from the chart.

Declaration

public void removeSeries(int index)

Parameters

Type Name Description
int index

A zero-based index of a series that should be removed from the chart.

Chart.setAxisMaxZoomPercent(double) Method

Specifies the maximum zoom value for axes.

Declaration

public void setAxisMaxZoomPercent(double percent)

Parameters

Type Name Description
double percent

The maximum zoom value, in percentages.

Chart.setAxisX(AxisX) Method

Specifies the chart's X-axis.

Declaration

public void setAxisX(AxisX axis)

Parameters

Type Name Description
AxisX axis

The AxisX class descendant that is the current arguments axis.

Note that the X-axis type is related to the series data type. If these types are not compatible, series does not display on the chart. If the X-axis is not specified, the chart generates it according to the first series's data type.

Chart.setAxisXNavigationMode(AxisNavigationMode) Method

Specifies the X-axis's navigation mode.

Declaration

public void setAxisXNavigationMode(AxisNavigationMode mode)

Parameters

Type Name Description
AxisNavigationMode mode

The {@AxisNavigationMode} enumeration value specifies the X-axis's available navigation actions.

Chart.setAxisY(NumericAxisY) Method

Specifies the chart's Y-axis.

Declaration

public void setAxisY(NumericAxisY axis)

Parameters

Type Name Description
NumericAxisY axis

The NumericAxisY object that is the current values axis.

Chart.setAxisYNavigationMode(AxisNavigationMode) Method

Specifies the Y-axis's navigation mode.

Declaration

public void setAxisYNavigationMode(AxisNavigationMode mode)

Parameters

Type Name Description
AxisNavigationMode mode

The {@AxisNavigationMode} enumeration value specifies the Y-axis's available navigation actions.

Chart.setHint(Hint) Method

Specifies the chart hint settings.

Declaration

public void setHint(Hint hint)

Parameters

Type Name Description
Hint hint

The Hint object that specifies the hint settings.

Chart.setRotated(boolean) Method

Specifies the value indicating whether the diagram is rotated.

Declaration

public void setRotated(boolean rotated)

Parameters

Type Name Description
boolean rotated

true if the chart is rotated; otherwise false.

Chart.setScrollIndicatorsEnabled(boolean) Method

Specifies the value that indicates whether scroll indicators are enabled when scrolling the chart.

Declaration

public void setScrollIndicatorsEnabled(boolean enabled)

Parameters

Type Name Description
boolean enabled

true if scroll indicators are enabled; otherwise, false.

Chart.setStyle(ChartStyle) Method

Specifies the chart's style.

Declaration

public void setStyle(ChartStyle style)

Parameters

Type Name Description
ChartStyle style

The ChartStyle object that specifies chart appearance settings.