kvision / pl.treksoft.kvision.chart

Package pl.treksoft.kvision.chart

Full-featured chart component based on chart.js library.

Types

(js)

AnimationOptions

Chart animation options.

data class AnimationOptions
(js)

ArcOptions

Chart arc options.

data class ArcOptions
(js)

Chart

Chart component.

open class Chart : Widget
(js)

ChartOptions

Chart options.

data class ChartOptions
(js)

ChartScales

Chart scales.

data class ChartScales
(js)

ChartType

Chart types.

enum class ChartType
(js)

Configuration

Chart configuration.

data class Configuration
(js)

DataSets

Chart data sets.

data class DataSets
(js)

Eeasing

Chart animation easings.

enum class Eeasing
(js)

ElementsOptions

Chart elements options.

data class ElementsOptions
(js)

GridLineOptions

Chart grid line options.

data class GridLineOptions
(js)

HoverOptions

Chart hover options.

data class HoverOptions
(js)

InteractionMode

Chart interaction modes.

enum class InteractionMode
(js)

InterpolationMode

Chart interpolation modes.

enum class InterpolationMode
(js)

LayoutOptions

Chart layout options.

data class LayoutOptions
(js)

LayoutPaddingObject

Chart layout padding options.

data class LayoutPaddingObject
(js)

LegendAlign

Legend align options.

enum class LegendAlign
(js)

LegendLabelOptions

Chart legend label options.

data class LegendLabelOptions
(js)

LegendOptions

Chart legend options.

data class LegendOptions
(js)

LineCap

Canvas line end point styles.

enum class LineCap
(js)

LineJoin

Canvas line join styles.

enum class LineJoin
(js)

LineOptions

Chart line options.

data class LineOptions
(js)

PointOptions

Chart point options.

data class PointOptions
(js)

PointStyle

Chart point styles.

enum class PointStyle
(js)

Position

Chart objects positions.

enum class Position
(js)

RectangleOptions

Chart rectangle options.

data class RectangleOptions
(js)

ScalesType

Chart scales.

enum class ScalesType
(js)

ScaleTitleOptions

Chart scale title options.

data class ScaleTitleOptions
(js)

TickOptions

Chart tick options.

data class TickOptions
(js)

TitleOptions

Chart title options.

data class TitleOptions
(js)

TooltipAlign

Title and body align options.

enum class TooltipAlign
(js)

TooltipCallback

Chart tooltips callbacks.

data class TooltipCallback
(js)

TooltipOptions

Chart tooltip options.

data class TooltipOptions
(js)

TooltipPosition

Chart tooltip positions.

enum class TooltipPosition

Functions

(js)

chart

DSL builder extension function.

fun Container.chart(configuration: Configuration, chartWidth: Int? = null, chartHeight: Int? = null, classes: Set<String>? = null, className: String? = null, init: (Chart.() -> Unit)? = null): Chart
(js)

toJs

An extension function to convert configuration class to JS object.

fun HoverOptions.toJs(): dynamic
fun AnimationOptions.toJs(): dynamic
fun LayoutPaddingObject.toJs(): dynamic
fun LayoutOptions.toJs(): dynamic
fun LegendLabelOptions.toJs(): dynamic
fun LegendOptions.toJs(): dynamic
fun TitleOptions.toJs(i18nTranslator: (String) -> String): dynamic
fun TooltipCallback.toJs(): dynamic
fun TooltipOptions.toJs(): dynamic
fun PointOptions.toJs(): dynamic
fun LineOptions.toJs(): dynamic
fun ArcOptions.toJs(): dynamic
fun RectangleOptions.toJs(): dynamic
fun ElementsOptions.toJs(): dynamic
fun GridLineOptions.toJs(): dynamic
fun ScaleTitleOptions.toJs(i18nTranslator: (String) -> String): dynamic
fun TickOptions.toJs(): dynamic
fun ChartScales.toJs(i18nTranslator: (String) -> String): dynamic
fun ChartOptions.toJs(i18nTranslator: (String) -> String): dynamic
fun DataSets.toJs(i18nTranslator: (String) -> String): dynamic
fun Configuration.toJs(i18nTranslator: (String) -> String): ChartConfiguration