BaseDataSet<T extends Entry> class

Implemented types
Implementers

Constructors

BaseDataSet()
Default constructor.
BaseDataSet.withLabel(String label)
Constructor with label. [...]

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

addColor(Color color) → void
Adds a color to the colors array of the DataSet. [...]
addEntry(T e) bool
inherited
addEntryByIndex(int index, T e) bool
inherited
addEntryOrdered(T e) → void
inherited
calcMinMax() → void
inherited
calcMinMaxY(double fromX, double toX) → void
inherited
clear() → void
inherited
contains(T e) bool
override
copy(BaseDataSet<Entry> baseDataSet) → void
getAxisDependency() AxisDependency
override
getColor1() Color
override
getColor2(int index) Color
override
getColors() List<Color>
###### COLOR GETTING RELATED METHODS #####
override
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(T e) int
inherited
getForm() LegendForm
override
getFormLineDashEffect() DashPathEffect
override
getFormLineWidth() double
override
getFormSize() double
override
getGradientColor1() GradientColor
override
getGradientColor2(int index) GradientColor
override
getGradientColors() List<GradientColor>
override
getIconsOffset() MPPointF
override
getIndexInEntries(int xIndex) int
###### DATA RELATED METHODS ######
override
getLabel() String
override
getValueColors() List<Color>
getValueFormatter() ValueFormatter
override
getValueTextColor1() Color
override
getValueTextColor2(int index) Color
override
getValueTextSize() double
override
getValueTypeface() TypeFace
override
getXMax() double
inherited
getXMin() double
inherited
getYMax() double
inherited
getYMin() double
inherited
isDrawIconsEnabled() bool
override
isDrawValuesEnabled() bool
override
isHighlightEnabled() bool
override
isVisible() bool
override
needsFormatter() bool
override
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.
removeEntry1(T e) bool
inherited
removeEntry2(int index) bool
override
removeEntryByXValue(double xValue) bool
override
removeFirst() bool
override
removeLast() bool
override
resetColors() → void
Resets all colors of this DataSet and recreates the colors array.
setAxisDependency(AxisDependency dependency) → void
override
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. [...]
setColor2(Color color, int alpha) → void
Sets a color with a specific alpha value. [...]
setColor3(Color color, int alpha) → void
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. [...]
setColors2(List<Color> colors, int alpha) → void
Sets colors with a specific alpha value. [...]
setDrawIcons(bool enabled) → void
override
setDrawValues(bool enabled) → void
override
setForm(LegendForm form) → void
setFormLineDashEffect(DashPathEffect dashPathEffect) → void
setFormLineWidth(double formLineWidth) → void
setFormSize(double formSize) → void
setGradientColor(Color startColor, Color endColor) → void
Sets the start and end color for gradient color, ONLY color that should be used for this DataSet. [...]
setGradientColors(List<GradientColor> gradientColors) → void
Sets the start and end color for gradient colors, ONLY color that should be used for this DataSet. [...]
setHighlightEnabled(bool enabled) → void
override
setIconsOffset(MPPointF offsetDp) → void
override
setLabel(String label) → void
###### OTHER STYLING RELATED METHODS #####
override
setValueFormatter(ValueFormatter f) → void
override
setValueTextColor(Color color) → void
override
setValueTextColors(List<Color> colors) → void
override
setValueTextSize(double size) → void
override
setValueTypeface(TypeFace tf) → void
override
setVisible(bool visible) → void
override
toString() String
Returns a string representation of this object.
inherited
updateEntryByIndex(int index, T e) bool
inherited

Operators

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