-
data
- set of data withDateTime
keys andCandlestickData
values based on which chart will be drawned. WhereCandlestickData
contains following fields:high
- highest value for the period.low
- lowest value for the period.bid
- opening value for the period, if it is greater thenask
than candle will be considered as bullish, otherwise - bearish.ask
- closing value for the period, if it is less thenbid
than candle will be considered as bullish, otherwise - bearish.
-
predefinedMaxValue
- predefined max value for the chart.roundingMap
- rounding map that is used by beautification function of Y axis labels.
-
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. For retrieval of currently hovered/dragged Y axis value (could be one ofCandlestickData
fields) useCandlestickChartData.getSelectedValueFromData
.
-
xAxisLabelBuilder
- builds X axis label based onDateTime
value from provided data.yAxisLabelBuilder
- builds Y axis label based ondouble
value from provided data,maxValue
specifically.
defaultDivisionInterval
- default value of the interval between divisions of the Y axis, defaults to100
.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
.yAxisBaseline
- baseline of the Y axis label values, defaults toYAxisBaseline.zero
.yAxisLabelSpacing
- spacing between the Y axis labels and chart itself, defaults to0
.showZeroLine
- whether to show zero line or not, defaults tofalse
.showDropLine
- whether to show drop line or not, defaults totrue
.showTooltip
- whether to show tooltip 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
.zeroLineStyle
- styling options for zero line, for more details please refer to the source code of theZeroLineStyle
.dropLineStyle
- styling options for drop line, for more details please refer to the source code of theDropLineStyle
.candleStickStyle
- styling options for candle and stick, for more details please refer to the source code of theCandlestickChartCandleStickStyle
.tooltipStyle
- styling options for tooltip, for more details please refer to the source code of theTooltipStyle
.