CandleStickConfig

data class CandleStickConfig(val positiveColor: Color, val negativeColor: Color, val wickColor: Color, val canCandleScale: Boolean, val wickWidthScale: Float = 0.05f)

Configuration options for a candlestick chart.

Parameters

positiveColor

The color of positive (rising) candles.

negativeColor

The color of negative (falling) candles.

wickColor

The color of the wicks (lines) connecting the candle bodies.

canCandleScale

Whether the candles can be scaled.

wickWidthScale

The scaling factor for the width of the wicks, relative to the candle width.

Constructors

Link copied to clipboard
constructor(positiveColor: Color, negativeColor: Color, wickColor: Color, canCandleScale: Boolean, wickWidthScale: Float = 0.05f)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val wickWidthScale: Float = 0.05f