-
- All Implemented Interfaces:
-
com.github.mikephil.charting.interfaces.datasets.IDataSet
public interface IPieDataSet implements IDataSet<PieEntry>
-
-
Method Summary
Modifier and Type Method Description abstract floatgetSliceSpace()Returns the space that is set to be between the piechart-slices of thisDataSet, in pixels. abstract booleanisAutomaticallyDisableSliceSpacingEnabled()When enabled, slice spacing will be 0.0 when the smallest value is going to besmaller than the slice spacing itself. abstract floatgetSelectionShift()Returns the distance a highlighted piechart slice is "shifted" away fromthe chart-center in dp. abstract PieDataSet.ValuePositiongetXValuePosition()abstract PieDataSet.ValuePositiongetYValuePosition()abstract intgetValueLineColor()When valuePosition is OutsideSlice, indicates line color abstract booleanisUseValueColorForLineEnabled()When valuePosition is OutsideSlice and enabled, line will have the same color as the slice abstract floatgetValueLineWidth()When valuePosition is OutsideSlice, indicates line width abstract floatgetValueLinePart1OffsetPercentage()When valuePosition is OutsideSlice, indicates offset as percentage out of the slice size abstract floatgetValueLinePart1Length()When valuePosition is OutsideSlice, indicates length of first half of the line abstract floatgetValueLinePart2Length()When valuePosition is OutsideSlice, indicates length of second half of the line abstract booleanisValueLineVariableLength()When valuePosition is OutsideSlice, this allows variable line length abstract IntegergetHighlightColor()Gets the color for the highlighted sector -
Methods inherited from class com.github.mikephil.charting.interfaces.datasets.IDataSet
addEntry, addEntryOrdered, calcMinMax, calcMinMaxY, clear, contains, getAxisDependency, getColor, getColor, getColors, getEntriesForXValue, getEntryCount, getEntryForIndex, getEntryForXValue, getEntryForXValue, getEntryIndex, getEntryIndex, getForm, getFormLineDashEffect, getFormLineWidth, getFormSize, getIconsOffset, getIndexInEntries, getLabel, getValueFormatter, getValueTextColor, getValueTextColor, getValueTextSize, getValueTypeface, getXMax, getXMin, getYMax, getYMin, isDrawIconsEnabled, isDrawValuesEnabled, isHighlightEnabled, isVisible, needsFormatter, removeEntry, removeEntry, removeEntryByXValue, removeFirst, removeLast, setAxisDependency, setDrawIcons, setDrawValues, setHighlightEnabled, setIconsOffset, setLabel, setValueFormatter, setValueTextColor, setValueTextColors, setValueTextSize, setValueTypeface, setVisible -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getSliceSpace
abstract float getSliceSpace()
Returns the space that is set to be between the piechart-slices of thisDataSet, in pixels.
-
isAutomaticallyDisableSliceSpacingEnabled
abstract boolean isAutomaticallyDisableSliceSpacingEnabled()
When enabled, slice spacing will be 0.0 when the smallest value is going to besmaller than the slice spacing itself.
-
getSelectionShift
abstract float getSelectionShift()
Returns the distance a highlighted piechart slice is "shifted" away fromthe chart-center in dp.
-
getXValuePosition
abstract PieDataSet.ValuePosition getXValuePosition()
-
getYValuePosition
abstract PieDataSet.ValuePosition getYValuePosition()
-
getValueLineColor
abstract int getValueLineColor()
When valuePosition is OutsideSlice, indicates line color
-
isUseValueColorForLineEnabled
abstract boolean isUseValueColorForLineEnabled()
When valuePosition is OutsideSlice and enabled, line will have the same color as the slice
-
getValueLineWidth
abstract float getValueLineWidth()
When valuePosition is OutsideSlice, indicates line width
-
getValueLinePart1OffsetPercentage
abstract float getValueLinePart1OffsetPercentage()
When valuePosition is OutsideSlice, indicates offset as percentage out of the slice size
-
getValueLinePart1Length
abstract float getValueLinePart1Length()
When valuePosition is OutsideSlice, indicates length of first half of the line
-
getValueLinePart2Length
abstract float getValueLinePart2Length()
When valuePosition is OutsideSlice, indicates length of second half of the line
-
isValueLineVariableLength
abstract boolean isValueLineVariableLength()
When valuePosition is OutsideSlice, this allows variable line length
-
getHighlightColor
@Nullable() abstract Integer getHighlightColor()
Gets the color for the highlighted sector
-
-
-
-