public class RealmScatterDataSet<T extends RealmObject> extends RealmLineScatterCandleRadarDataSet<T,Entry> implements IScatterDataSet
mDrawHorizontalHighlightIndicator, mDrawVerticalHighlightIndicator, mHighlightDashPathEffect, mHighlightLineWidthmHighLightColormIndexField, mValues, mValuesField, mYMax, mYMin, resultsmAxisDependency, mColors, mDrawValues, mHighlightEnabled, mValueColors, mValueFormatter, mValueTextSize, mValueTypeface, mVisible| Constructor and Description |
|---|
RealmScatterDataSet(
Constructor for creating a ScatterDataSet with realm data.
|
RealmScatterDataSet(
Constructor for creating a ScatterDataSet with realm data.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(
Rebuilds the DataSet based on the given RealmResults.
|
ScatterChart.ScatterShape |
getScatterShape()
Returns all the different scattershapes the chart uses
|
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 |
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, getEntryCount, getEntryForIndex, getEntryForXIndex, getEntryForXIndex, getEntryIndex, getEntryIndex, getIndexField, getResults, getValues, getValuesField, getYMax, getYMin, getYValForXIndex, removeEntry, setIndexField, setValuesFieldaddColor, contains, getAxisDependency, getColor, getColor, getColors, getIndexInEntries, getLabel, 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, toString, wait, wait, waitgetDashPathEffectHighlight, getHighlightLineWidth, isHorizontalHighlightIndicatorEnabled, isVerticalHighlightIndicatorEnabledgetHighLightColoraddEntry, 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 RealmScatterDataSet(result, java.lang.String yValuesField)
result - the queried results from the realm databaseyValuesField - the name of the field in your data object that represents the y-valuepublic RealmScatterDataSet(result, java.lang.String yValuesField, java.lang.String xIndexField)
result - the queried results from the realm databaseyValuesField - the name of the field in your data object that represents the y-valuexIndexField - the name of the field in your data object that represents the x-indexpublic void build(results)
RealmBaseDataSetbuild in class RealmBaseDataSet<T extends RealmObject,Entry>public 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 IScatterDataSet