LineRadarDataSet<T extends Entry> class abstract

Inheritance
Implemented types
Implementers

Constructors

LineRadarDataSet(List<T> yVals, String label)

Properties

hashCode int
The hash code for this object.
no setterinherited
highlightDashPathEffect DashPathEffect
no getterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
values List<T>?
no setterinherited
xMax double
no getterinherited
xMin double
no getterinherited
yMax double
no getterinherited
yMin double
no getterinherited

Methods

addColor(Color color) → void
Adds a color to the colors array of the DataSet.
inherited
addEntry(T? e) bool
inherited
addEntryByIndex(int index, T? 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).
inherited
addEntryOrdered(T? e) → void
inherited
calcMinMax() → void
inherited
calcMinMax1(T? e) → void
Updates the min and max x and y value of this DataSet based on the given Entry.
inherited
calcMinMaxX1(T e) → void
inherited
calcMinMaxY(double fromX, double toX) → void
inherited
calcMinMaxY1(T e) → void
inherited
clear() → void
inherited
contains(T e) bool
inherited
copy(BaseDataSet<Entry> baseDataSet) → void
override
copy1() DataSet<T>
Provides an exact copy of the DataSet this method is used on.
inherited
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<T>
inherited
getEntryCount() int
inherited
getEntryForIndex(int? index) → T?
inherited
getEntryForXValue1(double? xValue, double? closestToY, Rounding rounding) → T?
inherited
getEntryForXValue2(double? xValue, double? closestToY) → T?
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.
override
getFillColor() Color
Returns the color that is used for filling the line surface area.
override
getForm() LegendForm
inherited
getFormLineDashEffect() DashPathEffect?
inherited
getFormLineWidth() double
inherited
getFormSize() double
inherited
getGradientColor1() GradientColor?
inherited
getGradientColor2(int index) GradientColor
inherited
getGradientColors() List<GradientColor>?
inherited
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
override
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
override
isDrawIconsEnabled() bool
inherited
isDrawValuesEnabled() bool
inherited
isGradientEnabled() bool
override
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 nonexistent method or property is accessed.
inherited
notifyDataSetChanged() → void
Use this method to tell the data set that the underlying data has changed.
inherited
removeEntry1(T? 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
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
setFillColor(Color? color) → void
Sets the color that is used for filling the area below the line. Resets an eventually set "fillDrawable".
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.
override
setGradientColors(List<GradientColor> gradientColors) → void
Sets the start and end color for gradient colors, ONLY color that should be used for this DataSet.
inherited
setGradientFilled(bool enabled) → void
override
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
setValueFormatter(ValueFormatter? f) → void
inherited
setValues(List<T> 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
A string representation of this object.
override
updateEntryByIndex(int index, T? e) bool
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited