public class ScatterDataSet extends LineScatterCandleRadarDataSet<Entry> implements IScatterDataSet
DataSet.RoundingmDrawHorizontalHighlightIndicator, mDrawVerticalHighlightIndicator, mHighlightDashPathEffect, mHighlightLineWidthmHighLightColormAxisDependency, mColors, mDrawValues, mHighlightEnabled, mValueColors, mValueFormatter, mValueTextSize, mValueTypeface, mVisible| Constructor and Description |
|---|
ScatterDataSet(java.util.List<Entry> yVals,
java.lang.String label)
Custom path object the user can provide that is drawn where the values
are at.
|
| Modifier and Type | Method and Description |
|---|---|
DataSet<Entry> |
copy()
Provides an exact copy of the DataSet this method is used on.
|
ScatterChart.ScatterShape |
getScatterShape()
Returns all the different scattershapes the chart uses
|
int |
getScatterShapeHoleColor()
Returns the color for the hole in the shape
|
float |
getScatterShapeHoleRadius()
Returns radius of the hole in the shape
|
float |
getScatterShapeSize()
Returns the currently set scatter shape size
|
void |
setScatterShape(ScatterChart.ScatterShape shape)
Sets the shape that is drawn on the position where the values are at.
|
void |
setScatterShapeHoleColor(int holeColor)
Sets the color for the hole in the shape.
|
void |
setScatterShapeHoleRadius(float holeRadius)
Sets the radius of the hole in the shape (applies to Square, Circle and Triangle)
Set this to <= 0 to remove holes.
|
void |
setScatterShapeSize(float size)
Sets the size in density pixels the drawn scattershape will have.
|
disableDashedHighlightLine, enableDashedHighlightLine, getDashPathEffectHighlight, getHighlightLineWidth, isDashedHighlightLineEnabled, isHorizontalHighlightIndicatorEnabled, isVerticalHighlightIndicatorEnabled, setDrawHighlightIndicators, setDrawHorizontalHighlightIndicator, setDrawVerticalHighlightIndicator, setHighlightLineWidthgetHighLightColor, setHighLightColoraddEntry, addEntryOrdered, calcMinMax, clear, getEntriesForXIndex, getEntryCount, getEntryForIndex, getEntryForXIndex, getEntryForXIndex, getEntryIndex, getEntryIndex, getYMax, getYMin, getYValForXIndex, getYVals, getYValsForXIndex, removeEntry, setYVals, 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, waitgetDashPathEffectHighlight, getHighlightLineWidth, isHorizontalHighlightIndicatorEnabled, isVerticalHighlightIndicatorEnabledgetHighLightColoraddEntry, addEntryOrdered, calcMinMax, clear, contains, getAxisDependency, getColor, getColor, getColors, getEntriesForXIndex, getEntryCount, getEntryForIndex, getEntryForXIndex, getEntryForXIndex, getEntryIndex, getEntryIndex, getIndexInEntries, getLabel, getValueFormatter, getValueTextColor, getValueTextColor, getValueTextSize, getValueTypeface, getYMax, getYMin, getYValForXIndex, getYValsForXIndex, isDrawValuesEnabled, isHighlightEnabled, isVisible, removeEntry, removeEntry, removeFirst, removeLast, setAxisDependency, setDrawValues, setHighlightEnabled, setLabel, setValueFormatter, setValueTextColor, setValueTextColors, setValueTextSize, setValueTypeface, setVisiblepublic ScatterDataSet(java.util.List<Entry> yVals, java.lang.String label)
public DataSet<Entry> copy()
DataSetpublic void setScatterShapeSize(float size)
size - public float getScatterShapeSize()
IScatterDataSetgetScatterShapeSize in interface IScatterDataSetpublic void setScatterShape(ScatterChart.ScatterShape shape)
shape - public ScatterChart.ScatterShape getScatterShape()
IScatterDataSetgetScatterShape in interface IScatterDataSetpublic void setScatterShapeHoleRadius(float holeRadius)
holeRadius - public float getScatterShapeHoleRadius()
IScatterDataSetgetScatterShapeHoleRadius in interface IScatterDataSetpublic void setScatterShapeHoleColor(int holeColor)
holeColor - public int getScatterShapeHoleColor()
IScatterDataSetgetScatterShapeHoleColor in interface IScatterDataSet