Abstract
object responsible for animations
the default IValueFormatter that has been determined by the chart considering the provided minimum and maximum values, number of digits depends on provided chart-data
palet object used for drawing the description text in the bottom right corner of the chart
Wether to disable scroll while touching the chart. Default to true
If set to true, chart continues to scroll after touch up
Deceleration friction coefficient in [0 ; 1] interval, higher values indicate that speed will decrease slowly, for example if it set to 0, it will stop immediately. value must be < 1.0
if set to true, the marker view is drawn when a value is clicked
Extra offsets to be appended to the viewport
Wether to filter highlights by axis. Default is true
array of Highlight objects that reference the highlighted slices in the chart
Protected
jobstasks to be done after the view is setup
Gesture listener for custom callbacks when making gestures on the chart.
the view that represents the marker
The maximum distance in dp away from an entry causing it to highlight.
Abstract
maxProtected
mobject that holds all data that was originally set for the chart, before it was modified or any filtering algorithms had been applied
the object responsible for representing the description text
Protected
mFlag that indicates if highlighting per tap (touch) is enabled
palet object for drawing the information text when there are no values in the chart
Protected
mthe legend object containing all data associated with the legend
let the chart know it does not need to compute autoScale (it can used the cached ones)
let the chart know it does not need to compute axis and legends (it can used the cached ones)
text that is displayed when the chart is empty
Protected
offsetsflag that indicates if offsets calculation has already been done or not
object responsible for rendering the data
object that manages the bounds and drawing constraints of the chart
the object representing the labels on the x-axis
Abstract
yReturns the maximum y value of the chart, regardless of zoom or translation.
Abstract
yReturns the minimum y value of the chart, regardless of zoom or translation.
Returns a recyclable MPPointF instance. Returns the center polet of the chart (the whole View) in pixels.
Returns a recyclable MPPointF instance. Returns the center of the chart taking offsets under consideration. (returns the center of the content rectangle)
Returns a recyclable MPPointF instance.
Returns the bitmap that represents the chart.
Returns the rectangle that defines the borders of the chart-value surface (into which the actual values are drawn).
Returns the animator responsible for animating chart values.
Sets extra offsets (around the chart view) to be appended to the auto-calculated offsets.
Returns true if there are values to highlight, false if there are no values to highlight. Checks if the highlight array is null, has a length of zero or if the first object is null.
Protected
lastSets the last highlighted value for the touchlistener.
Returns true if the chart is empty (meaning it's data object is either null or contains no entries).
Sets the color of the no data text.
Sets the typeface to be used for the no data text.
Returns the maximum x value of the chart, regardless of zoom or translation.
Returns the minimum x value of the chart, regardless of zoom or translation.
returns the current y-max value across all DataSets
returns the current y-min value across all DataSets
Either posts a job immediately if the chart has already setup it's dimensions or adds the job to the execution queue.
Animates the rendering of the chart on the x-axis with the specified animation time. If animate(...) is called, no further calling of invalidate() is necessary to refresh the chart. ANIMATIONS ONLY WORK FOR API LEVEL 11 (Android 3.0.x) AND HIGHER.
Optional
easing: EasingFunctiona custom easing function to be used on the animation phase
Animates the drawing / rendering of the chart on both x- and y-axis with the specified animation time. If animate(...) is called, no further calling of invalidate() is necessary to refresh the chart. ANIMATIONS ONLY WORK FOR API LEVEL 11 (Android 3.0.x) AND HIGHER.
Optional
easingX: EasingFunctiona custom easing function to be used on the animation phase
Optional
easingY: EasingFunctiona custom easing function to be used on the animation phase
Animates the rendering of the chart on the y-axis with the specified animation time. If animate(...) is called, no further calling of invalidate() is necessary to refresh the chart. ANIMATIONS ONLY WORK FOR API LEVEL 11 (Android 3.0.x) AND HIGHER.
Optional
easing: EasingFunctiona custom easing function to be used on the animation phase
Protected
Abstract
calcProtected
Abstract
calculateProtected
drawProtected
drawProtected
drawProtected
getHighlights any y-value at the given x-value in the given DataSet. Provide -1 as the dataSetIndex to undo all highlighting.
The x-value to highlight
The y-value to highlight. Supply NaN
for "any"
The dataset index to search in
Optional
callListener: booleanShould the listener be called for this change
Protected
initAbstract
notifyCalled from layout when this view should assign a size and position to each of its children. Derived classes with children should override this method and call layout on each of their children.
Left position, relative to parent
Top position, relative to parent
Right position, relative to parent
Bottom position, relative to parent
Protected
setup
Baseclass of all Chart-Views.