public class PieDataSet extends DataSet<Entry> implements IPieDataSet
DataSet.RoundingmAxisDependency, mColors, mDrawValues, mHighlightEnabled, mValueColors, mValueFormatter, mValueTextSize, mValueTypeface, mVisible| 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 in dp.
|
float |
getSliceSpace()
Returns the space that is set to be between the piechart-slices of this
DataSet, in pixels.
|
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 spaceDp)
Sets the space that is left out between the piechart-slices in dp.
|
addEntry, addEntryOrdered, calcMinMax, clear, getEntriesForXIndex, getEntryCount, getEntryForIndex, getEntryForXIndex, getEntryForXIndex, getEntryIndex, getEntryIndex, getYMax, getYMin, getYValForXIndex, getYVals, removeEntry, toSimpleString, toStringaddColor, contains, getAxisDependency, getColor, getColor, getColors, getIndexInEntries, getLabel, getValueColors, getValueFormatter, getValueTextColor, getValueTextColor, getValueTextSize, getValueTypeface, isDrawValuesEnabled, isHighlightEnabled, isVisible, notifyDataSetChanged, removeEntry, removeFirst, removeLast, resetColors, setAxisDependency, setColor, setColor, setColors, setColors, setColors, setColors, setDrawValues, setHighlightEnabled, setLabel, setValueFormatter, setValueTextColor, setValueTextColors, setValueTextSize, setValueTypeface, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddEntry, addEntryOrdered, calcMinMax, clear, contains, getAxisDependency, getColor, getColor, getColors, getEntryCount, getEntryForIndex, getEntryForXIndex, getEntryForXIndex, getEntryIndex, getEntryIndex, getIndexInEntries, getLabel, getValueFormatter, getValueTextColor, getValueTextColor, getValueTextSize, getValueTypeface, getYMax, getYMin, getYValForXIndex, isDrawValuesEnabled, isHighlightEnabled, isVisible, removeEntry, removeEntry, removeFirst, removeLast, setAxisDependency, setDrawValues, setHighlightEnabled, setLabel, setValueFormatter, setValueTextColor, setValueTextColors, setValueTextSize, setValueTypeface, setVisiblepublic PieDataSet(java.util.List<Entry> yVals, java.lang.String label)
public DataSet<Entry> copy()
DataSetpublic void setSliceSpace(float spaceDp)
spaceDp - public float getSliceSpace()
IPieDataSetgetSliceSpace in interface IPieDataSetpublic void setSelectionShift(float shift)
shift - public float getSelectionShift()
IPieDataSetgetSelectionShift in interface IPieDataSet