Abstract
Constructor with label.
Optional
xProperty: anyOptional
yProperty: anythis specifies which axis this DataSet should be plotted against
List representing all colors that are used for this DataSet
if true, y-icons are drawn on the chart
if true, y-values are drawn on the chart
Abstract
Readonly
entryReturns the number of y-values this DataSet represents -> the size of the y-values array -> yvals.length
the shader to be used for filling the line surface
The form to draw for this dataset in the legend.
Return `DEFAULT` to use the default legend form.The line dash path effect used for shapes that consist of lines.
Return `null` to use the default legend form line dash effect.The line width for drawing the form of this dataset in the legend
Return `Float.NaN` to use the default legend form line width.The form size to draw for this dataset in the legend.
Return `Float.NaN` to use the default legend form size.if true, value highlightning is enabled
property to access the "icon" value of an entry for this set
the offset for drawing icons (in dp)
label that describes the DataSet or the data the DataSet represents
data space from the smallest value to the bottom in percent of the total axis range
data space from the highest value to the top in percent of the total axis range
List representing all colors that are used for drawing the actual values for this DataSet
custom formatter that is used instead of the auto-formatter if set
Abstract
valuesgetEntryYValue
Returns the values that belong to DataSet.
the offset for drawing values (in dp)
the size of the value-text labels
the typeface used for the value text
flag that indicates if the DataSet is visible or not
Abstract
Readonly
xreturns the maximum x-value this DataSet holds
Abstract
Readonly
xreturns the minimum x-value this DataSet holds
property to access the "x" value of an entry for this set
Abstract
Readonly
yreturns the maximum y-value this DataSet holds
Abstract
Readonly
yreturns the minimum y-value this DataSet holds
property to access the "y" value of an entry for this set
Sets the color the value-labels of this DataSet should have.
Sets a list of colors to be used as the colors for the drawn values.
Abstract
addAbstract
addAbstract
calcAbstract
calcAbstract
clearAbstract
getReturns all Entry objects found at the given x-value with binary search. An empty array if no Entry object at that x-value. INFORMATION: This method does calculations at runtime. Do not over-use in performance critical situations.
Abstract
getReturns all Entry objects found at the given x-value with binary search. An empty array if no Entry object at that x-value. INFORMATION: This method does calculations at runtime. Do not over-use in performance critical situations.
Abstract
getReturns the first Entry object found at the given x-value with binary search. If the no Entry at the specified x-value is found, this method returns the Entry at the closest x-value according to the rounding. INFORMATION: This method does calculations at runtime. Do not over-use in performance critical situations.
the x-value
If there are multiple y-values for the specified x-value,
Optional
rounding: Roundingdetermine whether to round up/down/closest if there is no Entry matching the provided x-value
Abstract
getAbstract
getReturns the first Entry object found at the given x-value with binary search. If the no Entry at the specified x-value is found, this method returns the Entry at the closest x-value according to the rounding. INFORMATION: This method does calculations at runtime. Do not over-use in performance critical situations.
the x-value
If there are multiple y-values for the specified x-value,
Optional
rounding: Roundingdetermine whether to round up/down/closest if there is no Entry matching the provided x-value
Abstract
getAbstract
getReturns the first Entry index found at the given x-value with binary search. If the no Entry at the specified x-value is found, this method returns the Entry at the closest x-value according to the rounding. INFORMATION: This method does calculations at runtime. Do not over-use in performance critical situations.
the x-value
If there are multiple y-values for the specified x-value,
Optional
rounding: Roundingdetermine whether to round up/down/closest if there is no Entry matching the provided x-value
Abstract
getAbstract
initAbstract
removeAbstract
remove
Created by Philipp Jahoda on 21/10/15. This is the base dataset of all DataSets. It's purpose is to implement critical methods provided by the IDataSet interface.