kvision / pl.treksoft.kvision.chart / DataSets

DataSets

(js) data class DataSets

Chart data sets.

Constructors

(js)

<init>

Chart data sets.

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

(js)

backgroundColor

val backgroundColor: List<Color>?
(js)

barPercentage

val barPercentage: Number?
(js)

barThickness

val barThickness: dynamic
(js)

borderAlign

val borderAlign: dynamic
(js)

borderCapStyle

val borderCapStyle: List<LineCap>?
(js)

borderColor

val borderColor: List<Color>?
(js)

borderDash

val borderDash: List<Int>?
(js)

borderDashOffset

val borderDashOffset: Int?
(js)

borderJoinStyle

val borderJoinStyle: List<LineJoin>?
(js)

borderSkipped

val borderSkipped: List<Position>?
(js)

borderWidth

val borderWidth: List<Int>?
(js)

categoryPercentage

val categoryPercentage: Number?
(js)

cubicInterpolationMode

val cubicInterpolationMode: InterpolationMode?
(js)

data

val data: List<dynamic>?
(js)

fill

val fill: Boolean?
(js)

hidden

val hidden: Boolean?
(js)

hideInLegendAndTooltip

val hideInLegendAndTooltip: Boolean?
(js)

hitRadius

val hitRadius: List<Int>?
(js)

hoverBackgroundColor

val hoverBackgroundColor: List<Color>?
(js)

hoverBorderColor

val hoverBorderColor: List<Color>?
(js)

hoverBorderWidth

val hoverBorderWidth: List<Int>?
(js)

hoverRadius

val hoverRadius: Number?
(js)

label

val label: String?
(js)

lineTension

val lineTension: Number?
(js)

maxBarThickness

val maxBarThickness: Number?
(js)

minBarLegth

val minBarLegth: Number?
(js)

order

val order: Number?
(js)

pointBackgroundColor

val pointBackgroundColor: List<Color>?
(js)

pointBorderColor

val pointBorderColor: List<Color>?
(js)

pointBorderWidth

val pointBorderWidth: List<Int>?
(js)

pointHitRadius

val pointHitRadius: List<Int>?
(js)

pointHoverBackgroundColor

val pointHoverBackgroundColor: List<Color>?
(js)

pointHoverBorderColor

val pointHoverBorderColor: List<Color>?
(js)

pointHoverBorderWidth

val pointHoverBorderWidth: List<Int>?
(js)

pointHoverRadius

val pointHoverRadius: List<Int>?
(js)

pointRadius

val pointRadius: List<Int>?
(js)

pointRotation

val pointRotation: List<Int>?
(js)

pointStyle

val pointStyle: List<PointStyle>?
(js)

radius

val radius: List<Int>?
(js)

rotation

val rotation: List<Int>?
(js)

showLine

val showLine: Boolean?
(js)

spanGaps

val spanGaps: Boolean?
(js)

stack

val stack: String?
(js)

steppedLine

val steppedLine: Boolean?
(js)

type

val type: ChartType?
(js)

weight

val weight: Number?
(js)

xAxisID

val xAxisID: String?
(js)

yAxisID

val yAxisID: String?

Extension Functions

(js)

toJs

An extension function to convert configuration class to JS object.

fun DataSets.toJs(i18nTranslator: (String) -> String): dynamic