BarDataProvider class abstract

What the bar chart renderer and highlighter read from a chart that shows bars. Implemented by BarChart and the combined chart.

Inheritance
Implementers

Constructors

BarDataProvider()

Properties

barData → BarData?
The bar data of the chart, null when there is none.
no setter
centerOffsets → MPPointF
Center of the content rectangle in pixels, as a fresh MPPointF.
no setterinherited
centerOfView → MPPointF
Center of the whole chart view in pixels, as a fresh MPPointF.
no setterinherited
contentRect → MutableRect
Rectangle in pixels in which the data is drawn, the view minus axis, legend and extra offsets.
no setterinherited
data → BarLineScatterCandleBubbleData<IBarLineScatterCandleBubbleDataSet<Entry>>?
The data shown in the chart, null before data is set.
no setterinherited
defaultValueFormatter → IValueFormatter
Formatter the chart computed from its data, used by data sets that have no formatter of their own.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
highestVisibleX → double
Largest x value currently visible in the content rectangle, at most the axis maximum.
no setterinherited
isDecimationEnabled → bool
True while the renderers may drop entries that share a pixel column with another entry. The entries they keep are the first, the lowest, the highest and the last of each column, so peaks survive. It also governs the circles of a line chart, of which only those no other circle would cover are drawn.
no setterinherited
isDrawBarShadowEnabled → bool
True to draw a shadow bar behind each bar that spans the full axis height.
no setter
isDrawValueAboveBarEnabled → bool
True to draw value labels above bars, false to draw them inside near the top.
no setter
isHighlightFullBarEnabled → bool
True to highlight the whole stacked bar instead of only the touched stack value.
no setter
lowestVisibleX → double
Smallest x value currently visible in the content rectangle, at least the axis minimum.
no setterinherited
maxHighlightDistance → double
Maximum distance in dp between a touch and an entry for the entry to be highlighted.
no setterinherited
maxVisibleCount → int
Number of entries one data set may have inside the visible x range for its values and icons to be drawn. A set with more entries in view draws none, because the labels would sit too close together to read.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
xChartMax → double
Largest x value of the x axis, independent of zoom and drag.
no setterinherited
xChartMin → double
Smallest x value of the x axis, independent of zoom and drag.
no setterinherited
xRange → double
Difference between xChartMax and xChartMin.
no setterinherited
yChartMax → double
Largest y value across all y axes, independent of zoom and drag.
no setterinherited
yChartMin → double
Smallest y value across all y axes, independent of zoom and drag.
no setterinherited

Methods

getTransformer(AxisDependency axis) → Transformer
Returns the transformer that maps values of axis to pixels and back.
inherited
isInverted(AxisDependency axis) → bool
True if axis is drawn with larger values further down.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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