-
data
- set of data withDateTime
keys andList<double>
values based on which chart will be drawned.
-
predefinedMaxValue
- predefined max value for the chart.roundingMap
- rounding map that is used by beautification function of Y axis labels.
-
initialSelectedPeriod
- initial selected period of the bar chart, defaults tonull
.onSelectedPeriodChanged
- callback that notifies if selected period has changed, defaults tonull
.
-
titleBuilder
- builds title of the tooltip based onDateTime
key and/orList<double>
value from provided data.subtitleBuilder
- builds subtitle of the tooltip based onDateTime
key and/orList<double>
value from provided data.
-
xAxisLabelBuilder
- builds X axis label based onDateTime
value from provided data.yAxisLabelBuilder
- builds Y axis label based ondouble
value from provided data,maxValue
specifically.
yAxisDivisions
- quantity of the Y axis divisions, defaults to2
.xAxisLabelQuantity
- quantity of the X axis labels to draw, defaults tonull
.axisDivisionEdges
- axis division edges, defaults toAxisDivisionEdges.none
.showAxisX
- whether to show X axis or not, defaults totrue
.showAxisXLabels
- whether to show labels on the X axis or not, defaults totrue
.showAxisXSelectedLabelIfConcealed
- whether to show selected label if it is concealed byxAxisLabelQuantity
, defaults tofalse
.showAxisYLabels
- whether to show labels on the Y axis or not, defaults totrue
.yAxisLayout
- layout type of the Y axis labels, defaults toYAxisLayout.overlay
.yAxisLabelSpacing
- spacing between the Y axis labels and chart itself, defaults to0
.barSpacing
- spacing between bars in one item, defaults to0
.itemSpacing
- spacing between group of bars, defaults to12
.interaction
- describes how user will be interacting with chart, defaults toInteractionType.selection
.duration
- the length of time animation should last, defaults to400 milliseconds
.alignment
- alignment of the bars within chart, defaults toBarAlignment.end
.reverse
- whether the scroll view scrolls in the reading direction, defaults tofalse
.fit
- insription type of the bars within target box (painting zone), defaults toBarFit.none
.
gridStyle
- styling options for the grid, for more details please refer to the source code of theBarChartGridStyle
.axisStyle
- styling options for the axis, for more details please refer to the source code of theBarChartAxisStyle
.barStyle
- styling options for the chart line, for more details please refer to the source code of theBarChartBarStyle
.tooltipStyle
- styling options for the tooltip, for more details please refer to the source code of theTooltipStyle
.