GridLineOptions

data class GridLineOptions(display: Boolean, color: Color?, borderDash: List<Int>?, borderDashOffset: Int, lineWidth: Int, drawBorder: Boolean, drawOnChartArea: Boolean, drawTicks: Boolean, tickMarkLength: Int, zeroLineWidth: Int, zeroLineColor: Color?, zeroLineBorderDash: List<Int>?, zeroLineBorderDashOffset: Int, offsetGridLines: Boolean, circular: Boolean?, z: Number?)

Chart grid line options.

Constructors

GridLineOptions
Link copied to clipboard
fun GridLineOptions(display: Boolean = true, color: Color? = null, borderDash: List<Int>? = null, borderDashOffset: Int = 0, lineWidth: Int = 1, drawBorder: Boolean = true, drawOnChartArea: Boolean = true, drawTicks: Boolean = true, tickMarkLength: Int = 10, zeroLineWidth: Int = 1, zeroLineColor: Color? = null, zeroLineBorderDash: List<Int>? = null, zeroLineBorderDashOffset: Int = 0, offsetGridLines: Boolean = false, circular: Boolean? = null, z: Number? = null)

Properties

borderDash
Link copied to clipboard
val borderDash: List<Int>? = null
borderDashOffset
Link copied to clipboard
val borderDashOffset: Int = 0
circular
Link copied to clipboard
val circular: Boolean? = null
color
Link copied to clipboard
val color: Color? = null
display
Link copied to clipboard
val display: Boolean = true
drawBorder
Link copied to clipboard
val drawBorder: Boolean = true
drawOnChartArea
Link copied to clipboard
val drawOnChartArea: Boolean = true
drawTicks
Link copied to clipboard
val drawTicks: Boolean = true
lineWidth
Link copied to clipboard
val lineWidth: Int = 1
offsetGridLines
Link copied to clipboard
val offsetGridLines: Boolean = false
tickMarkLength
Link copied to clipboard
val tickMarkLength: Int = 10
z
Link copied to clipboard
val z: Number? = null
zeroLineBorderDash
Link copied to clipboard
val zeroLineBorderDash: List<Int>? = null
zeroLineBorderDashOffset
Link copied to clipboard
val zeroLineBorderDashOffset: Int = 0
zeroLineColor
Link copied to clipboard
val zeroLineColor: Color? = null
zeroLineWidth
Link copied to clipboard
val zeroLineWidth: Int = 1

Extensions

toJs
Link copied to clipboard
fun GridLineOptions.toJs(): dynamic
An extension function to convert configuration class to JS object.