Location | Attribute | Description | Default |
---|---|---|---|
kLineChart | mainIndicatorType | main chart indicator type | MA |
subIndicatorType | sub-chart indicator type | MACD | |
displayVolIndicatorChart | whether to display the VOL indicator chart | true | |
chartHeightSizeType | chart height size type | scale | |
volChartHeight | vol chart height | 20% | |
indicatorChartHeight | indicator chart height | 20% | |
decelerationEnable | it is effective to slow down when dragging | true | |
kLineChart.grid in kotlin or kLineChart.getGrid() in java | grid_displayLine | whether to display the border line for the entire chart | false |
grid_lineSize | size of the border line for the entire chart | 1px | |
grid_lineColor | color of the border line for the entire chart | #707070 | |
kLineChart.candle in kotlin or kLineChart.getCandle() in java | candle_increasingColor | color when the price rises | #5DB300 |
candle_decreasingColor | color when the price falls | #FF4A4A | |
candle_style | the style of the candle | SOLID | |
candle_chartStyle | the style of the chart | CANDLE | |
candle_displayHighestPriceMark | whether to display the highest price tag | true | |
candle_displayLowestPriceMark | whether to display the lowest price tag | true | |
candle_lowestHighestPriceMarkTextColor | color of highest price and lowest price marker text | #898989 | |
candle_lowestHighestPriceMarkTextSize | size of highest price and lowest price marker text | 10sp | |
candle_displayLastPriceMark | whether to display the last price tag | true | |
candle_lastPriceMarkLineStyle | style of last price marker line | DASH | |
candle_lastPriceMarkLineSize | size of last price marker line | 1dp | |
candle_lastPriceMarkLineColor | color of last price marker line | #B9B9B9 | |
candle_timeLineColor | color of time line | #D8D8D8 | |
candle_timeLineSize | size of time line | 1dp | |
candle_timeLineFillColor | time line fill color | #20D8D8D8 | |
candle_timeAverageLineColor | time average line color | #F5A623 | |
kLineChart.indicator in kotlin or kLineChart.getIndicator() | indicator_lineSize | size of indicator line | 1dp |
indicator_increasingColor | color when the price rises | #5DB300 | |
indicator_decreasingColor | color when the price fall | #FF4A4A | |
kLineChart.tooltip in kotlin or kLineChart.getTooltip() in java | tooltip_crossLineStyle | style of the cross cursor line | SOLID |
tooltip_crossLineSize | size of the cross cursor line | 1px | |
tooltip_crossLineColor | color of the cross cursor line | #505050 | |
tooltip_crossTextRectStrokeLineSize | size of the cross cursor line text border | 1dp | |
tooltip_crossTextRectStrokeLineColor | color of the cross cursor line text border | #EDEDED | |
tooltip_crossTextRectFillColor | cross cursor line text box fill color | #505050 | |
tooltip_crossTextColor | color of the cross cursor line text | #EDEDED | |
tooltip_crossTextSize | size of the cross cursor line text | 10sp | |
tooltip_crossTextMarginSpace | the margin around the text of the cross cursor line | 3dp | |
tooltip_generalDataRectStrokeLineSize | the border size of the prompt box | 1dp | |
tooltip_generalDataRectStrokeLineColor | the border color of the prompt box | #505050 | |
tooltip_generalDataRectFillColor | fill color of the prompt box | #99000000 | |
tooltip_generalDataTextSize | text size in prompt box | 10sp | |
tooltip_generalDataTextColor | text color in prompt box | #EDEDED | |
tooltip_generalDataIncreasingColor | when the prompt box rises in the text color | #5DB300 | |
tooltip_generalDataDecreasingColor | when the prompt box fall in the text color | #FF4A4A | |
tooltip_indicatorDisplayRule | indicator data prompt rules | ALWAYS | |
tooltip_indicatorTextSize | indicator data prompt text size | 10sp | |
kLineChart.xAxis in kotlin or kLineChart.getXAxis() in java | xaxis_displayAxisLine | whether to display the x-axis line | true |
xaxis_axisLineColor | color of x-axis line | #707070 | |
xaxis_axisLineSize | size of x-axis line | 1px | |
xaxis_displayTickText | whether to display the x-axis tick text | true | |
xaxis_tickTextColor | color of x-axis tick text | #707070 | |
xaxis_tickTextSize | size of x-axis tick text | 10sp | |
xaxis_displayTickLine | whether to display the x-axis tick line | true | |
xaxis_tickLineSize | size of x-axis tick line | 3dp | |
xaxis_displaySeparatorLine | whether to display the x-axis split line | false | |
xaxis_separatorLineSize | size of x-axis split line | 1px | |
xaxis_separatorLineColor | color of x-axis split line | #B8B8B8 | |
xaxis_separatorLineStyle | the style of x-axis split line | DASH | |
xaxis_textMarginSpace | margins of text on the x-axis | 3dp | |
xaxis_axisMaxHeight | maximum height of the x-axis | 20dp | |
xaxis_axisMinHeight | minimum height of the x-axis | 20dp | |
kLineChart.yAxis in kotlin or kLineChart.getYAxis() in java | yaxis_displayAxisLine | whether to display the y-axis line | true |
yaxis_axisLineColor | color of y-axis line | #707070 | |
yaxis_axisLineSize | size of y-axis line | 1px | |
yaxis_displayTickText | whether to display the y-axis tick text | true | |
yaxis_tickTextColor | color of y-axis tick text | #707070 | |
yaxis_tickTextSize | size of y-axis tick text | 10sp | |
yaxis_displayTickLine | whether to display the y-axis tick line | false | |
yaxis_tickLineSize | size of y-axis tick line | 3dp | |
yaxis_displaySeparatorLine | whether to display the y-axis split line | false | |
yaxis_separatorLineSize | size of y-axis split line | 1px | |
yaxis_separatorLineColor | color of y-axis split line | #B8B8B8 | |
yaxis_separatorLineStyle | the style of y-axis split line | DASH | |
yaxis_textMarginSpace | margins of text on the y-axis | 3dp | |
yaxis_textPosition | the position of the text on the y-axis | INSIDE | |
yaxis_axisPosition | position of the y-axis | RIGHT | |
yaxis_axisMaxWidth | maximum width of the y-axis | 20dp | |
yaxis_axisMinWidth | minimum width of the y-axis | 20dp |