DataSets

data class DataSets(cubicInterpolationMode: InterpolationMode?, backgroundColor: List<Color>?, borderWidth: List<Int>?, borderColor: List<Color>?, borderCapStyle: List<LineCap>?, borderDash: List<Int>?, borderDashOffset: Int?, borderJoinStyle: List<LineJoin>?, borderSkipped: List<Position>?, data: List<dynamic>?, fill: Boolean?, hoverBackgroundColor: List<Color>?, hoverBorderColor: List<Color>?, hoverBorderWidth: List<Int>?, label: String?, lineTension: Number?, steppedLine: Boolean?, pointBorderColor: List<Color>?, pointBackgroundColor: List<Color>?, pointBorderWidth: List<Int>?, pointRadius: List<Int>?, pointHoverRadius: List<Int>?, pointHitRadius: List<Int>?, pointHoverBackgroundColor: List<Color>?, pointHoverBorderColor: List<Color>?, pointHoverBorderWidth: List<Int>?, pointStyle: List<PointStyle>?, xAxisID: String?, yAxisID: String?, type: ChartType?, hidden: Boolean?, hideInLegendAndTooltip: Boolean?, showLine: Boolean?, stack: String?, spanGaps: Boolean?, barPercentage: Number?, barThickness: dynamic, borderAlign: dynamic, categoryPercentage: Number?, hitRadius: List<Int>?, hoverRadius: Number?, maxBarThickness: Number?, minBarLegth: Number?, order: Number?, pointRotation: List<Int>?, radius: List<Int>?, rotation: List<Int>?, weight: Number?)

Chart data sets.

Constructors

DataSets
Link copied to clipboard
fun DataSets(cubicInterpolationMode: InterpolationMode? = null, backgroundColor: List<Color>? = null, borderWidth: List<Int>? = null, borderColor: List<Color>? = null, borderCapStyle: List<LineCap>? = null, borderDash: List<Int>? = null, borderDashOffset: Int? = null, borderJoinStyle: List<LineJoin>? = null, borderSkipped: List<Position>? = null, data: List<dynamic>? = null, fill: Boolean? = null, hoverBackgroundColor: List<Color>? = null, hoverBorderColor: List<Color>? = null, hoverBorderWidth: List<Int>? = null, label: String? = null, lineTension: Number? = null, steppedLine: Boolean? = null, pointBorderColor: List<Color>? = null, pointBackgroundColor: List<Color>? = null, pointBorderWidth: List<Int>? = null, pointRadius: List<Int>? = null, pointHoverRadius: List<Int>? = null, pointHitRadius: List<Int>? = null, pointHoverBackgroundColor: List<Color>? = null, pointHoverBorderColor: List<Color>? = null, pointHoverBorderWidth: List<Int>? = null, pointStyle: List<PointStyle>? = null, xAxisID: String? = null, yAxisID: String? = null, type: ChartType? = null, hidden: Boolean? = null, hideInLegendAndTooltip: Boolean? = null, showLine: Boolean? = null, stack: String? = null, spanGaps: Boolean? = null, barPercentage: Number? = null, barThickness: dynamic = null, borderAlign: dynamic = null, categoryPercentage: Number? = null, hitRadius: List<Int>? = null, hoverRadius: Number? = null, maxBarThickness: Number? = null, minBarLegth: Number? = null, order: Number? = null, pointRotation: List<Int>? = null, radius: List<Int>? = null, rotation: List<Int>? = null, weight: Number? = null)

Properties

backgroundColor
Link copied to clipboard
val backgroundColor: List<Color>? = null
barPercentage
Link copied to clipboard
val barPercentage: Number? = null
barThickness
Link copied to clipboard
val barThickness: dynamic = null
borderAlign
Link copied to clipboard
val borderAlign: dynamic = null
borderCapStyle
Link copied to clipboard
val borderCapStyle: List<LineCap>? = null
borderColor
Link copied to clipboard
val borderColor: List<Color>? = null
borderDash
Link copied to clipboard
val borderDash: List<Int>? = null
borderDashOffset
Link copied to clipboard
val borderDashOffset: Int? = null
borderJoinStyle
Link copied to clipboard
val borderJoinStyle: List<LineJoin>? = null
borderSkipped
Link copied to clipboard
val borderSkipped: List<Position>? = null
borderWidth
Link copied to clipboard
val borderWidth: List<Int>? = null
categoryPercentage
Link copied to clipboard
val categoryPercentage: Number? = null
cubicInterpolationMode
Link copied to clipboard
val cubicInterpolationMode: InterpolationMode? = null
data
Link copied to clipboard
val data: List<dynamic>? = null
fill
Link copied to clipboard
val fill: Boolean? = null
hidden
Link copied to clipboard
val hidden: Boolean? = null
hideInLegendAndTooltip
Link copied to clipboard
val hideInLegendAndTooltip: Boolean? = null
hitRadius
Link copied to clipboard
val hitRadius: List<Int>? = null
hoverBackgroundColor
Link copied to clipboard
val hoverBackgroundColor: List<Color>? = null
hoverBorderColor
Link copied to clipboard
val hoverBorderColor: List<Color>? = null
hoverBorderWidth
Link copied to clipboard
val hoverBorderWidth: List<Int>? = null
hoverRadius
Link copied to clipboard
val hoverRadius: Number? = null
label
Link copied to clipboard
val label: String? = null
lineTension
Link copied to clipboard
val lineTension: Number? = null
maxBarThickness
Link copied to clipboard
val maxBarThickness: Number? = null
minBarLegth
Link copied to clipboard
val minBarLegth: Number? = null
order
Link copied to clipboard
val order: Number? = null
pointBackgroundColor
Link copied to clipboard
val pointBackgroundColor: List<Color>? = null
pointBorderColor
Link copied to clipboard
val pointBorderColor: List<Color>? = null
pointBorderWidth
Link copied to clipboard
val pointBorderWidth: List<Int>? = null
pointHitRadius
Link copied to clipboard
val pointHitRadius: List<Int>? = null
pointHoverBackgroundColor
Link copied to clipboard
val pointHoverBackgroundColor: List<Color>? = null
pointHoverBorderColor
Link copied to clipboard
val pointHoverBorderColor: List<Color>? = null
pointHoverBorderWidth
Link copied to clipboard
val pointHoverBorderWidth: List<Int>? = null
pointHoverRadius
Link copied to clipboard
val pointHoverRadius: List<Int>? = null
pointRadius
Link copied to clipboard
val pointRadius: List<Int>? = null
pointRotation
Link copied to clipboard
val pointRotation: List<Int>? = null
pointStyle
Link copied to clipboard
val pointStyle: List<PointStyle>? = null
radius
Link copied to clipboard
val radius: List<Int>? = null
rotation
Link copied to clipboard
val rotation: List<Int>? = null
showLine
Link copied to clipboard
val showLine: Boolean? = null
spanGaps
Link copied to clipboard
val spanGaps: Boolean? = null
stack
Link copied to clipboard
val stack: String? = null
steppedLine
Link copied to clipboard
val steppedLine: Boolean? = null
type
Link copied to clipboard
val type: ChartType? = null
weight
Link copied to clipboard
val weight: Number? = null
xAxisID
Link copied to clipboard
val xAxisID: String? = null
yAxisID
Link copied to clipboard
val yAxisID: String? = null

Extensions

toJs
Link copied to clipboard
fun DataSets.toJs(i18nTranslator: (String) -> String): dynamic
An extension function to convert configuration class to JS object.