public class ScatterDataSet extends LineScatterCandleRadarDataSet<Entry> implements IScatterDataSet
DataSet.Rounding| Modifier and Type | Field and Description |
|---|---|
protected IShapeRenderer |
mShapeRenderer
Renderer responsible for rendering this DataSet, default: square
|
mDrawHorizontalHighlightIndicator, mDrawVerticalHighlightIndicator, mHighlightDashPathEffect, mHighlightLineWidthmHighLightColormEntries, mXMax, mXMin, mYMax, mYMinmAxisDependency, mColors, mDrawIcons, mDrawValues, mGradientColor, mGradientColors, mHighlightEnabled, mIconsOffset, mValueColors, mValueFormatter, mValueTextSize, mValueTypeface, mVisible| Constructor and Description |
|---|
ScatterDataSet(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.
|
protected void |
copy(ScatterDataSet scatterDataSet) |
static IShapeRenderer |
getRendererForShape(ScatterChart.ScatterShape shape) |
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
|
IShapeRenderer |
getShapeRenderer()
Returns the IShapeRenderer responsible for rendering this DataSet.
|
void |
setScatterShape(ScatterChart.ScatterShape shape)
Sets the ScatterShape this DataSet should be drawn with.
|
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.
|
void |
setShapeRenderer(IShapeRenderer shapeRenderer)
Sets a new IShapeRenderer responsible for drawing this DataSet.
|
copy, disableDashedHighlightLine, enableDashedHighlightLine, getDashPathEffectHighlight, getHighlightLineWidth, isDashedHighlightLineEnabled, isHorizontalHighlightIndicatorEnabled, isVerticalHighlightIndicatorEnabled, setDrawHighlightIndicators, setDrawHorizontalHighlightIndicator, setDrawVerticalHighlightIndicator, setHighlightLineWidthcopy, getHighLightColor, setHighLightColoraddEntry, addEntryOrdered, calcMinMax, calcMinMax, calcMinMaxX, calcMinMaxY, calcMinMaxY, clear, copy, getEntries, getEntriesForXValue, getEntryCount, getEntryForIndex, getEntryForXValue, getEntryForXValue, getEntryIndex, getEntryIndex, getValues, getXMax, getXMin, getYMax, getYMin, removeEntry, setEntries, setValues, toSimpleString, toStringaddColor, contains, copy, getAxisDependency, getColor, getColor, getColors, getForm, getFormLineDashEffect, getFormLineWidth, getFormSize, getGradientColor, getGradientColor, getGradientColors, getIconsOffset, getIndexInEntries, getLabel, getValueColors, getValueFormatter, getValueTextColor, getValueTextColor, getValueTextSize, getValueTypeface, isDrawIconsEnabled, isDrawValuesEnabled, isHighlightEnabled, isVisible, needsFormatter, notifyDataSetChanged, removeEntry, removeEntryByXValue, removeFirst, removeLast, resetColors, setAxisDependency, setColor, setColor, setColors, setColors, setColors, setColors, setDrawIcons, setDrawValues, setForm, setFormLineDashEffect, setFormLineWidth, setFormSize, setGradientColor, setGradientColors, setHighlightEnabled, setIconsOffset, setLabel, setValueFormatter, setValueTextColor, setValueTextColors, setValueTextSize, setValueTypeface, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetDashPathEffectHighlight, getHighlightLineWidth, isHorizontalHighlightIndicatorEnabled, isVerticalHighlightIndicatorEnabledgetHighLightColoraddEntry, addEntryOrdered, calcMinMax, calcMinMaxY, clear, contains, getAxisDependency, getColor, getColor, getColors, getEntriesForXValue, getEntryCount, getEntryForIndex, getEntryForXValue, getEntryForXValue, getEntryIndex, getEntryIndex, getForm, getFormLineDashEffect, getFormLineWidth, getFormSize, getGradientColor, getGradientColor, getGradientColors, 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, setVisibleprotected IShapeRenderer mShapeRenderer
public ScatterDataSet(java.util.List<Entry> yVals, java.lang.String label)
public DataSet<Entry> copy()
DataSetprotected void copy(ScatterDataSet scatterDataSet)
public void setScatterShapeSize(float size)
size - public float getScatterShapeSize()
IScatterDataSetgetScatterShapeSize in interface IScatterDataSetpublic void setScatterShape(ScatterChart.ScatterShape shape)
shape - public void setShapeRenderer(IShapeRenderer shapeRenderer)
shapeRenderer - public IShapeRenderer getShapeRenderer()
IScatterDataSetgetShapeRenderer 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 IScatterDataSetpublic static IShapeRenderer getRendererForShape(ScatterChart.ScatterShape shape)