RadarData class

Inheritance

Constructors

RadarData()
RadarData.fromList(List<IRadarDataSet> dataSets)

Properties

dataSets List<IRadarDataSet>
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
labels List<String>?
getter/setter pair
leftAxisMax double?
getter/setter pairinherited
leftAxisMin double?
getter/setter pairinherited
rightAxisMax double?
getter/setter pairinherited
rightAxisMin double?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xMax double
getter/setter pairinherited
xMin double
getter/setter pairinherited
yMax double
getter/setter pairinherited
yMin double
getter/setter pairinherited

Methods

addDataSet(IRadarDataSet d) → void
Adds a DataSet dynamically.
inherited
addEntry(Entry e, int dataSetIndex) → void
Adds an Entry to the DataSet at the specified index. Entries are added to the end of the list.
inherited
addEntryByIndex(int index, Entry e, int dataSetIndex) → void
inherited
calcMinMax1() → void
Calc minimum and maximum values (both x and y) over all DataSets.
inherited
calcMinMax2(Entry e, AxisDependency axis) → void
Adjusts the current minimum and maximum values based on the provided Entry object.
inherited
calcMinMax3(IRadarDataSet d) → void
Adjusts the minimum and maximum values based on the given DataSet.
inherited
calcMinMaxY(double fromX, double toX) → void
Calc minimum and maximum y-values over all DataSets. Tell DataSets to recalculate their min and max y-values, this is only needed for autoScaleMinMax.
inherited
clearValues() → void
Clears this data object from all DataSets and removes all Entries. Don't forget to invalidate the chart after this.
inherited
contains(IRadarDataSet dataSet) bool
Checks if this data object contains the specified DataSet. Returns true if so, false if not.
inherited
getColors() List<Color?>?
Returns all colors used across all DataSet objects this object represents.
inherited
getDataSetByIndex(int index) IRadarDataSet?
inherited
getDataSetByLabel(String label, bool ignorecase) IRadarDataSet?
Returns the DataSet object with the given label. Search can be case sensitive or not. IMPORTANT: This method does calculations at runtime. Use with care in performance critical situations.
inherited
getDataSetCount() int
returns the number of LineDataSets this object contains
inherited
getDataSetForEntry(Entry e) IRadarDataSet?
Returns the DataSet that contains the provided Entry, or null, if no DataSet contains this Entry.
inherited
getDataSetIndexByLabel(List<IRadarDataSet>? dataSets, String label, bool ignorecase) int
Retrieve the index of a DataSet with a specific label from the ChartData. Search can be case sensitive or not. IMPORTANT: This method does calculations at runtime, do not over-use in performance critical situations.
inherited
getDataSetLabels() List<String?>
Returns the labels of all DataSets as a string array.
inherited
getEntryCount() int
Returns the total entry count across all DataSet objects this data object contains.
inherited
getEntryForHighlight(Highlight? highlight) Entry?
Get the Entry for a corresponding highlight object
override
getFirstLeft(List<IRadarDataSet> sets) IRadarDataSet?
Returns the first DataSet from the datasets-array that has it's dependency on the left axis. Returns null if no DataSet with left dependency could be found.
inherited
getFirstRight(List<IRadarDataSet> sets) IRadarDataSet?
Returns the first DataSet from the datasets-array that has it's dependency on the right axis. Returns null if no DataSet with right dependency could be found.
inherited
getIndexOfDataSet(IRadarDataSet dataSet) int
Returns the index of the provided DataSet in the DataSet array of this data object, or -1 if it does not exist.
inherited
getMaxEntryCountSet() IRadarDataSet?
Returns the DataSet object with the maximum number of entries or null if there are no DataSets.
inherited
getYMax1() double
Returns the greatest y-value the data object contains.
inherited
getYMax2(AxisDependency axis) double?
Returns the maximum y-value for the specified axis.
inherited
getYMin1() double
Returns the smallest y-value the data object contains.
inherited
getYMin2(AxisDependency axis) double?
Returns the minimum y-value for the specified axis.
inherited
isHighlightEnabled() bool
Returns true if highlighting of all underlying values is enabled, false if not.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyDataChanged() → void
Call this method to let the ChartData know that the underlying data has changed. Calling this performs all necessary recalculations needed when the contained data has changed.
inherited
removeDataSet1(IRadarDataSet d) bool
Removes the given DataSet from this data object. Also recalculates all minimum and maximum values. Returns true if a DataSet was removed, false if no DataSet could be removed.
inherited
removeDataSet2(int index) bool
Removes the DataSet at the given index in the DataSet array from the data object. Also recalculates all minimum and maximum values. Returns true if a DataSet was removed, false if no DataSet could be removed.
inherited
removeEntry1(Entry e, int dataSetIndex) bool
Removes the given Entry object from the DataSet at the specified index.
inherited
removeEntry2(double xValue, int dataSetIndex) bool
Removes the Entry object closest to the given DataSet at the specified index. Returns true if an Entry was removed, false if no Entry was found that meets the specified requirements.
inherited
setDrawValues(bool enabled) → void
Enables / disables drawing values (value-text) for all DataSets this data object contains.
inherited
setHighlightEnabled(bool enabled) → void
Enables / disables highlighting values for all DataSets this data object contains. If set to true, this means that values can be highlighted programmatically or by touch gesture.
inherited
setValueFormatter(ValueFormatter f) → void
Sets a custom IValueFormatter for all DataSets this data object contains.
inherited
setValueTextColor(Color color) → void
Sets the color of the value-text (color in which the value-labels are drawn) for all DataSets this data object contains.
inherited
setValueTextColors(List<Color> colors) → void
Sets the same list of value-colors for all DataSets this data object contains.
inherited
setValueTextSize(double size) → void
Sets the size (in dp) of the value-text for all DataSets this data object contains.
inherited
setValueTypeface(TypeFace tf) → void
Sets the Typeface for all value-labels for all DataSets this data object contains.
inherited
toString() String
A string representation of this object.
inherited
updateEntryByIndex(int index, Entry e, int dataSetIndex) → void
inherited

Operators

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