mAxisDependency, mColors, mDrawValues, mHighlightEnabled, mLastEnd, mLastStart, mValueFormatter, mYMax, mYMin, mYVals| Constructor and Description |
|---|
PieDataSet(java.util.List<Entry> yVals,
java.lang.String label) |
| Modifier and Type | Method and Description |
|---|---|
DataSet<Entry> |
copy()
Provides an exact copy of the DataSet this method is used on.
|
float |
getSelectionShift()
returns the distance a highlighted piechart slice is "shifted" away from
the chart-center
|
float |
getSliceSpace()
returns the space that is set to be between the piechart-slices of this
DataSet, in degrees
|
void |
setSelectionShift(float shift)
sets the distance the highlighted piechart-slice of this DataSet is
"shifted" away from the center of the chart, default 12f
|
void |
setSliceSpace(float degrees)
sets the space that is left out between the piechart-slices, default: 0°
--> no space, maximum 45, minimum 0 (no space)
|
addColor, addEntry, addEntryOrdered, calcMinMax, clear, contains, getAverage, getAxisDependency, getColor, getColor, getColors, getEntriesForXIndex, getEntryCount, getEntryForXIndex, getEntryIndex, getEntryPosition, getIndexInEntries, getLabel, getValueCount, getValueFormatter, getValueTextColor, getValueTextSize, getValueTypeface, getYMax, getYMin, getYValForXIndex, getYVals, getYValueSum, isDrawValuesEnabled, isHighlightEnabled, isVisible, needsDefaultFormatter, notifyDataSetChanged, removeEntry, removeEntry, removeFirst, removeLast, resetColors, setAxisDependency, setColor, setColors, setColors, setColors, setDrawValues, setHighlightEnabled, setLabel, setValueFormatter, setValueTextColor, setValueTextSize, setValueTypeface, setVisible, toSimpleString, toStringpublic PieDataSet(java.util.List<Entry> yVals, java.lang.String label)
public DataSet<Entry> copy()
DataSetpublic void setSliceSpace(float degrees)
degrees - public float getSliceSpace()
public void setSelectionShift(float shift)
shift - public float getSelectionShift()