the axis this DataSet should be plotted against.
returns all the colors that are set for this DataSet
Set this to true to draw y-icons on the chart.
NOTE (for bar and line charts): if maxVisibleValueCount
is reached, no icons will be drawn even
if this is enabled
set this to true to draw y-values on the chart.
NOTE (for bar and line charts): if maxVisibleValueCount
is reached, no values will be drawn even
if this is enabled
Readonly
entryReturns the number of y-values this DataSet represents -> the size of the y-values array -> yvals.length
Returns the shader used for filling the area below the line.
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.Returns the color that is used for drawing the highlight indicators.
If set to true, value highlighting is enabled which means that values can be highlighted programmatically or by touch gesture.
Offset of icons drawn on the chart.
For all charts except Pie and Radar it will be ordinary (x offset,y offset).
For Pie and Radar chart it will be (y offset, distance from center offset); so if you want icon to be rendered under value, you should increase X component of CGPoint, and if you want icon to be rendered closet to center, you should decrease height component of CGPoint.
the label string that describes the DataSet.
Readonly
needsReturns true if the valueFormatter object of this DataSet is null.
Sets the formatter to be used for drawing the values inside the chart. If no formatter is set, the chart will automatically determine a reasonable formatting (concerning decimals) for all the values that are drawn inside the chart. Use chart.defaultValueFormatter to use the formatter calculated by the chart.
getEntryYValue
Returns the values that belong to DataSet.
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.
Sets the text-size of the value-labels of this DataSet in dp.
Sets a Typeface for the value-labels of this DataSet.
Set the visibility of this DataSet. If not visible, the DataSet will not be drawn to the chart upon refreshing it.
Readonly
xreturns the maximum x-value this DataSet holds
Readonly
xreturns the minimum x-value this DataSet holds
Readonly
yreturns the maximum y-value this DataSet holds
Readonly
yreturns the minimum y-value this DataSet holds
Returns 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.
Returns 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.
Returns 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
Returns 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
Returns 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,
determine whether to round up/down/closest if there is no Entry matching the provided x-value
Created by philipp on 21/10/15.