RadarDataSet class

Inheritance
Implemented types

Constructors

RadarDataSet(List<RadarEntry> yVals, String label)

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
highlightDashPathEffect DashPathEffect
write-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
values List<RadarEntry>
read-only, inherited
xMax double
write-only, inherited
xMin double
write-only, inherited
yMax double
write-only, inherited
yMin double
write-only, inherited

Methods

addColor(Color color) → void
Adds a color to the colors array of the DataSet. [...]
inherited
addEntry(RadarEntry e) bool
inherited
addEntryByIndex(int index, RadarEntry e) bool
It's best not to use this method because it will cause the points to be unevenly distributed in x axis. the added entry's x value must be in range of Pre's x value(Pre : Entry at index - 1) and Cur's x value(Cur: Entry at index).
override
addEntryOrdered(RadarEntry e) → void
inherited
calcMinMax() → void
inherited
calcMinMax1(RadarEntry e) → void
Updates the min and max x and y value of this DataSet based on the given Entry. [...]
inherited
calcMinMaxX1(RadarEntry e) → void
inherited
calcMinMaxY(double fromX, double toX) → void
inherited
calcMinMaxY1(RadarEntry e) → void
inherited
clear() → void
inherited
contains(RadarEntry e) bool
inherited
copy(BaseDataSet<Entry> baseDataSet) → void
override
copy1() DataSet<RadarEntry>
Provides an exact copy of the DataSet this method is used on. [...]
override
copy2(DataSet<Entry> dataSet) → void
@param dataSet
inherited
disableDashedHighlightLine() → void
Disables the highlight-line to be drawn in dashed mode.
inherited
enableDashedHighlightLine(double lineLength, double spaceLength, double phase) → void
Enables the highlight-line to be drawn in dashed mode, e.g. like this "- - - - - -" [...]
inherited
getAxisDependency() AxisDependency
inherited
getColor1() Color
inherited
getColor2(int index) Color
inherited
getColors() List<Color>
###### COLOR GETTING RELATED METHODS #####
inherited
getDashPathEffectHighlight() DashPathEffect
Returns the DashPathEffect that is used for highlighting. @return
inherited
getEntriesForXValue(double xValue) List<RadarEntry>
inherited
getEntryCount() int
inherited
getEntryForIndex(int index) RadarEntry
inherited
getEntryForXValue1(double xValue, double closestToY, Rounding rounding) RadarEntry
inherited
getEntryForXValue2(double xValue, double closestToY) RadarEntry
inherited
getEntryIndex1(double xValue, double closestToY, Rounding rounding) int
inherited
getEntryIndex2(Entry e) int
inherited
getFillAlpha() int
Sets the drawable to be used to fill the area below the line. [...]
inherited
getFillColor() Color
Returns the color that is used for filling the line surface area. [...]
inherited
getForm() LegendForm
inherited
getFormLineDashEffect() DashPathEffect
inherited
getFormLineWidth() double
inherited
getFormSize() double
inherited
getGradientColor1() GradientColor
inherited
getGradientColor2(int index) GradientColor
inherited
getGradientColors() List<GradientColor>
inherited
getHighlightCircleFillColor() Color
override
getHighlightCircleInnerRadius() double
override
getHighlightCircleOuterRadius() double
override
getHighlightCircleStrokeAlpha() int
override
getHighlightCircleStrokeColor() Color
Returns the stroke color for highlight circle. If Utils.COLOR_NONE, the color of the dataset is taken.
override
getHighlightCircleStrokeWidth() double
override
getHighLightColor() Color
Returns the color that is used for drawing the highlight indicators. [...]
inherited
getHighlightLineWidth() double
Returns the line-width in which highlight lines are to be drawn. @return
inherited
getIconsOffset() MPPointF
inherited
getIndexInEntries(int xIndex) int
###### DATA RELATED METHODS ######
inherited
getLabel() String
inherited
getLineWidth() double
Returns the stroke-width of the drawn line [...]
inherited
getValueColors() List<Color>
inherited
getValueFormatter() ValueFormatter
inherited
getValueTextColor1() Color
inherited
getValueTextColor2(int index) Color
inherited
getValueTextSize() double
inherited
getValueTypeface() TypeFace
inherited
getXMax() double
inherited
getXMin() double
inherited
getYMax() double
inherited
getYMin() double
inherited
isDashedHighlightLineEnabled() bool
Returns true if the dashed-line effect is enabled for highlight lines, false if not. Default: disabled [...]
inherited
isDrawFilledEnabled() bool
Returns true if filled drawing is enabled, false if not [...]
inherited
isDrawHighlightCircleEnabled() bool
Returns true if highlight circle should be drawn, false if not
override
isDrawIconsEnabled() bool
inherited
isDrawValuesEnabled() bool
inherited
isHighlightEnabled() bool
inherited
isHorizontalHighlightIndicatorEnabled() bool
Returns true if vertical highlight indicator lines are enabled (drawn) @return
inherited
isVerticalHighlightIndicatorEnabled() bool
Returns true if vertical highlight indicator lines are enabled (drawn) @return
inherited
isVisible() bool
inherited
needsFormatter() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
notifyDataSetChanged() → void
Use this method to tell the data set that the underlying data has changed.
inherited
removeEntry1(RadarEntry e) bool
inherited
removeEntry2(int index) bool
inherited
removeEntryByXValue(double xValue) bool
inherited
removeFirst() bool
inherited
removeLast() bool
inherited
resetColors() → void
Resets all colors of this DataSet and recreates the colors array.
inherited
setAxisDependency(AxisDependency dependency) → void
inherited
setColor1(Color color) → void
Sets the one and ONLY color that should be used for this DataSet. Internally, this recreates the colors array and adds the specified color. [...]
inherited
setColor2(Color color, int alpha) → void
Sets a color with a specific alpha value. [...]
inherited
setColor3(Color color, int alpha) → void
inherited
setColors1(List<Color> colors) → void
Sets the colors that should be used fore this DataSet. Colors are reused as soon as the number of Entries the DataSet represents is higher than the size of the colors array. If you are using colors from the resources, make sure that the colors are already prepared (by calling getResources().getColor(...)) before adding them to the DataSet. [...]
inherited
setColors2(List<Color> colors, int alpha) → void
Sets colors with a specific alpha value. [...]
inherited
setDrawFilled(bool filled) → void
Set to true if the DataSet should be drawn filled (surface), and not just as a line, disabling this will give great performance boost. Please note that this method uses the canvas.clipPath(...) method for drawing the filled area. For devices with API level < 18 (Android 4.3), hardware acceleration of the chart should be turned off. Default: false [...]
inherited
setDrawHighlightCircleEnabled(bool enabled) → void
Sets whether highlight circle should be drawn or not
override
setDrawHighlightIndicators(bool enabled) → void
Enables / disables both vertical and horizontal highlight-indicators. @param enabled
inherited
setDrawHorizontalHighlightIndicator(bool enabled) → void
Enables / disables the horizontal highlight-indicator. If disabled, the indicator is not drawn. @param enabled
inherited
setDrawIcons(bool enabled) → void
inherited
setDrawValues(bool enabled) → void
inherited
setDrawVerticalHighlightIndicator(bool enabled) → void
Enables / disables the vertical highlight-indicator. If disabled, the indicator is not drawn. @param enabled
inherited
setFillAlpha(int alpha) → void
sets the alpha value (transparency) that is used for filling the line surface (0-255), default: 85 [...]
inherited
setFillColor(Color color) → void
Sets the color that is used for filling the area below the line. Resets an eventually set "fillDrawable". [...]
inherited
setForm(LegendForm form) → void
inherited
setFormLineDashEffect(DashPathEffect dashPathEffect) → void
inherited
setFormLineWidth(double formLineWidth) → void
inherited
setFormSize(double formSize) → void
inherited
setGradientColor(Color startColor, Color endColor) → void
Sets the start and end color for gradient color, ONLY color that should be used for this DataSet. [...]
inherited
setGradientColors(List<GradientColor> gradientColors) → void
Sets the start and end color for gradient colors, ONLY color that should be used for this DataSet. [...]
inherited
setHighlightCircleFillColor(Color color) → void
setHighlightCircleInnerRadius(double radius) → void
setHighlightCircleOuterRadius(double radius) → void
setHighlightCircleStrokeAlpha(int alpha) → void
setHighlightCircleStrokeColor(Color color) → void
Sets the stroke color for highlight circle. Set to Utils.COLOR_NONE in order to use the color of the dataset;
setHighlightCircleStrokeWidth(double strokeWidth) → void
setHighLightColor(Color color) → void
Sets the color that is used for drawing the highlight indicators. Dont forget to resolve the color using getResources().getColor(...) or Color.rgb(...). [...]
inherited
setHighlightEnabled(bool enabled) → void
inherited
setHighlightLineWidth(double width) → void
Sets the width of the highlight line in dp. @param width
inherited
setIconsOffset(MPPointF offsetDp) → void
inherited
setLabel(String label) → void
###### OTHER STYLING RELATED METHODS #####
inherited
setLineWidth(double width) → void
set the line width of the chart (min = 0.2f, max = 10f); default 1f NOTE: thinner line == better performance, thicker line == worse performance [...]
inherited
setValueFormatter(ValueFormatter f) → void
inherited
setValues(List<RadarEntry> values) → void
Sets the array of entries that this DataSet represents, and calls notifyDataSetChanged() [...]
inherited
setValueTextColor(Color color) → void
inherited
setValueTextColors(List<Color> colors) → void
inherited
setValueTextSize(double size) → void
inherited
setValueTypeface(TypeFace tf) → void
inherited
setVisible(bool visible) → void
inherited
toSimpleString() String
Returns a simple string representation of the DataSet with the type and the number of Entries. [...]
inherited
toString() String
Returns a string representation of this object.
inherited
updateEntryByIndex(int index, RadarEntry e) bool
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited