kvision / pl.treksoft.kvision.chart

Package pl.treksoft.kvision.chart

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

Types

AnimationOptions

data class AnimationOptions

Chart animation options.

ArcOptions

data class ArcOptions

Chart arc options.

Chart

open class Chart : Widget

Chart component.

ChartScales

data class ChartScales

Chart scales.

ChartType

enum class ChartType

Chart types.

Configuration

data class Configuration

Chart configuration.

DataSets

data class DataSets

Chart data sets.

Eeasing

enum class Eeasing

Chart animation easings.

ElementsOptions

data class ElementsOptions

Chart elements options.

GridLineOptions

data class GridLineOptions

Chart grid line options.

HoverOptions

data class HoverOptions

Chart hover options.

InteractionMode

enum class InteractionMode

Chart interaction modes.

InterpolationMode

enum class InterpolationMode

Chart interpolation modes.

LayoutOptions

data class LayoutOptions

Chart layout options.

LayoutPaddingObject

data class LayoutPaddingObject

Chart layout padding options.

LegendLabelOptions

data class LegendLabelOptions

Chart legend label options.

LegendOptions

data class LegendOptions

Chart legend options.

LineCap

enum class LineCap

Canvas line end point styles.

LineJoin

enum class LineJoin

Canvas line join styles.

LineOptions

data class LineOptions

Chart line options.

Options

data class Options

Chart options.

PointOptions

data class PointOptions

Chart point options.

PointStyle

enum class PointStyle

Chart point styles.

Position

enum class Position

Chart objects positions.

RectangleOptions

data class RectangleOptions

Chart rectangle options.

ScaleTitleOptions

data class ScaleTitleOptions

Chart scale title options.

ScalesType

enum class ScalesType

Chart scales.

TickOptions

data class TickOptions

Chart tick options.

TitleOptions

data class TitleOptions

Chart title options.

TooltipCallback

data class TooltipCallback

Chart tooltips callbacks.

TooltipOptions

data class TooltipOptions

Chart tooltip options.

TooltipPosition

enum class TooltipPosition

Chart tooltip positions.

Functions

toJs

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 Options.toJs(i18nTranslator: (String) -> String): dynamic
fun DataSets.toJs(i18nTranslator: (String) -> String): dynamic
fun Configuration.toJs(i18nTranslator: (String) -> String): ChartConfiguration

An extension function to convert configuration class to JS object.