Constructor taking single or multiple DataSet objects.
Optional
dataSets: CandleDataSet[]Protected
marray that holds all DataSets the ChartData object represents
maximum x-value in the value array
minimum x-value in the value array
maximum y-value in the value array across all axes
the minimum y-value in the value array across all axes
Returns all colors used across all DataSet objects this object represents.
returns the number of LineDataSets this object contains
Enables / disables drawing values (value-text) for all DataSets this data object contains.
Returns the total entry count across all DataSet objects this data object contains.
Returns true if highlighting of all underlying values is enabled, false if not.
Sets a custom IValueFormatter for all DataSets this data object contains.
Sets the color of the value-text (color in which the value-labels are drawn) for all DataSets this data object contains.
Sets the same list of value-colors for all DataSets this data object contains.
Sets the size (in dp) of the value-text for all DataSets this data object contains.
Sets the Typeface for all value-labels for all DataSets this data object contains.
Returns the maximum x-value this data object contains.
Returns the minimum x-value this data object contains.
Adds a DataSet dynamically.
Protected
calcAdjusts the minimum and maximum values based on the given DataSet.
Protected
calcAdjusts the current minimum and maximum values based on the provided Entry object.
Calc minimum and maximum y-values over all DataSets. Tell DataSets to recalculate their min and max y-values, this is only needed for autoScaleMinMax.
the x-value to start the calculation from
the x-value to which the calculation should be performed
Returns the DataSet that contains the provided Entry and the entry index, or null, if no DataSet contains this Entry.
Returns the DataSet object with the given label. Search can be case sensitive or not. IMPORTANT: This method does calculations at runtime. Use with care in performance critical situations.
Optional
ignorecase: booleanReturns the DataSet that contains the provided Entry, or null, if no DataSet contains this Entry.
Protected
getRetrieve the index of a DataSet with a specific label from the ChartData. Search can be case sensitive or not. IMPORTANT: This method does calculations at runtime, do not over-use in performance critical situations.
the DataSet array to search
Optional
ignorecase: booleanif true, the search is not case-sensitive
Protected
getReturns the first DataSet from the datasets-array that has it's dependency on the left axis. Returns null if no DataSet with left dependency could be found.
Returns the first DataSet from the datasets-array that has it's dependency on the right axis. Returns null if no DataSet with right dependency could be found.
Returns the index of the provided DataSet in the DataSet array of this data object, or -1 if it does not exist.
Returns the maximum y-value for the specified axis.
Optional
axis: AxisDependencyRemoves the given DataSet from this data object. Also recalculates all minimum and maximum values. Returns true if a DataSet was removed, false if no DataSet could be removed.
Baseclass for all Line, Bar, Scatter, Candle and Bubble data.