public abstract class RealmLineRadarDataSet<T extends RealmObject> extends RealmLineScatterCandleRadarDataSet<T,Entry> implements ILineRadarDataSet<Entry>
| Modifier and Type | Field and Description |
|---|---|
protected android.graphics.drawable.Drawable |
mFillDrawable
the drawable to be used for filling the line surface
|
mDrawHorizontalHighlightIndicator, mDrawVerticalHighlightIndicator, mHighlightDashPathEffect, mHighlightLineWidthmHighLightColormIndexField, mValues, mValuesField, mYMax, mYMin, resultsmAxisDependency, mColors, mDrawValues, mHighlightEnabled, mValueColors, mValueFormatter, mValueTextSize, mValueTypeface, mVisible| Constructor and Description |
|---|
RealmLineRadarDataSet( |
RealmLineRadarDataSet(
Constructor that takes the realm RealmResults, sorts & stores them.
|
| Modifier and Type | Method and Description |
|---|---|
void |
build(
Rebuilds the DataSet based on the given RealmResults.
|
int |
getFillAlpha()
Returns the alpha value that is used for filling the line surface,
default: 85
|
int |
getFillColor()
Returns the color that is used for filling the line surface area.
|
android.graphics.drawable.Drawable |
getFillDrawable()
Returns the drawable used for filling the area below the line.
|
float |
getLineWidth()
Returns the stroke-width of the drawn line
|
boolean |
isDrawFilledEnabled()
Returns true if filled drawing is enabled, false if not
|
void |
setDrawFilled(boolean filled)
Set to true if the DataSet should be drawn filled (surface), and not just
as a line, disabling this will give great performance boost! default:
false
|
void |
setFillAlpha(int alpha)
sets the alpha value (transparency) that is used for filling the line
surface (0-255), default: 85
|
void |
setFillColor(int color)
sets the color that is used for filling the line surface
|
void |
setFillDrawable(android.graphics.drawable.Drawable drawable)
Sets the drawable to be used to fill the area below the line.
|
void |
setLineWidth(float width)
set the line width of the chart (min = 0.2f, max = 10f); default 1f NOTE:
thinner line == better performance, thicker line == worse performance
|
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, setVisibleprotected android.graphics.drawable.Drawable mFillDrawable
public RealmLineRadarDataSet(results, java.lang.String yValuesField)
public RealmLineRadarDataSet(results, java.lang.String yValuesField, java.lang.String xIndexField)
results - yValuesField - xIndexField - public void build(results)
RealmBaseDataSetbuild in class RealmBaseDataSet<T extends RealmObject,Entry>public int getFillColor()
ILineRadarDataSetgetFillColor in interface ILineRadarDataSet<Entry>public void setFillColor(int color)
color - public android.graphics.drawable.Drawable getFillDrawable()
ILineRadarDataSetgetFillDrawable in interface ILineRadarDataSet<Entry>public void setFillDrawable(android.graphics.drawable.Drawable drawable)
drawable - public int getFillAlpha()
ILineRadarDataSetgetFillAlpha in interface ILineRadarDataSet<Entry>public void setFillAlpha(int alpha)
alpha - public void setLineWidth(float width)
width - public float getLineWidth()
ILineRadarDataSetgetLineWidth in interface ILineRadarDataSet<Entry>public void setDrawFilled(boolean filled)
ILineRadarDataSetsetDrawFilled in interface ILineRadarDataSet<Entry>public boolean isDrawFilledEnabled()
ILineRadarDataSetisDrawFilledEnabled in interface ILineRadarDataSet<Entry>