-
data
- set of data withDateTime
keys anddouble
values based on which chart will be drawned.
-
-
Periodical
grid type (onlymonthly
available for now):Periodical means that if there's not enough data to draw full chart (there's gaps between dates) chart will automatically fulfill lacking data based on
LineChartDataType
.- For
LineChartDataType.bidirectional
data type lacking data will be set to0
. - For
LineChartDataType.unidirectional
data type lacking data will calculated from previous values so, that charts will be looking like ascending (e.g. Progress) or descending (e.g. Burndown) chart.
- For
-
Undefined
grid type:Undefined means that the chart will be drawned using only provided data.
Note that
LineChartDataType
is omitted with this type of grid.
-
-
predefinedMaxValue
- predefined max value for the chart.maxValueRoundingMap
- rounding map for the maxValue that is used by beautification function of Y axis labels.
-
limit
- if provided, will be painted on the chart as a horizontal indication line.limitText
- custom text to set to the label of the limit line.
Note that if
limitText
is set without providedlimit
, there will be no limit line. -
titleBuilder
- builds title of the tooltip based onDateTime
key and/ordouble
value from provided data.subtitleBuilder
- builds subtitle of the tooltip based onDateTime
key and/ordouble
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.
xAxisDivisions
- quantity of the X axis divisions, defaults to3
.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
.showAxisXSelectedLabelIfConcealed
- whether to show selected label if it is concealed byxAxisLabelQuantity
, defaults tofalse
.showAxisY
- whether to show Y axis or not, defaults totrue
.showAxisXLabels
- whether to show labels on the X axis or not, defaults totrue
.showAxisYLabels
- whether to show labels on the Y axis or not, defaults totrue
.showAxisXLabelSelection
- whether to paint with selected style currently selected X axis label or not, defaults tofalse
.yAxisLayout
- layout type of the Y axis labels, defaults toYAxisLayout.overlay
.yAxisLabelSpacing
- spacing between the Y axis labels and chart itself, defaults to0
.showDropLine
- whether to show drop line or not, defaults totrue
.showTooltip
- whether to show tooltip or not, defaults totrue
.lineFilling
- whether to fill chart between the line and the X axis or not, defaults totrue
.lineShadow
- whether to draw shadow beneath the line or not, defaults totrue
.altitudeLine
- whether to draw the altitude line or not, defaults totrue
.limitLabelSnapPosition
- snap position options of limit label, defaults toLimitLabelSnapPosition.axis
.showPoint
- whether to show point or not, defaults totrue
.selectionEnabled
- whether selection enabled or not, defaults totrue
.
gridStyle
- styling options for grid, for more details please refer to the source code of theGridStyle
.axisStyle
- styling options for axis, for more details please refer to the source code of theAxisStyle
.lineStyle
- styling options for chart line, for more details please refer to the source code of theLineChartLineStyle
.limitStyle
- styling options for limit, for more details please refer to the source code of theLineChartLimitStyle
.dropLineStyle
- styling options for drop line, for more details please refer to the source code of theDropLineStyle
.pointStyle
- styling options for point, for more details please refer to the source code of theLineChartPointStyle
.tooltipStyle
- styling options for tooltip, for more details please refer to the source code of theTooltipStyle
.