Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

BorderAlignment

BorderAlignment: "center" | "inner"

BorderWidth

BorderWidth: number | { [ key in PositionType]?: number }

ChartColor

ChartColor: string | CanvasGradient | CanvasPattern | string[]

ChartTooltipPositioner

ChartTooltipPositioner: (elements: any[], eventPosition: Point) => Point

Type declaration

    • Parameters

      • elements: any[]
      • eventPosition: Point

      Returns Point

ChartType

ChartType: "line" | "bar" | "horizontalBar" | "radar" | "doughnut" | "polarArea" | "bubble" | "pie" | "scatter"

CubicInterpolationMode

CubicInterpolationMode: "default" | "monotone"

Easing

Easing: "linear" | "easeInQuad" | "easeOutQuad" | "easeInOutQuad" | "easeInCubic" | "easeOutCubic" | "easeInOutCubic" | "easeInQuart" | "easeOutQuart" | "easeInOutQuart" | "easeInQuint" | "easeOutQuint" | "easeInOutQuint" | "easeInSine" | "easeOutSine" | "easeInOutSine" | "easeInExpo" | "easeOutExpo" | "easeInOutExpo" | "easeInCirc" | "easeOutCirc" | "easeInOutCirc" | "easeInElastic" | "easeOutElastic" | "easeInOutElastic" | "easeInBack" | "easeOutBack" | "easeInOutBack" | "easeInBounce" | "easeOutBounce" | "easeInOutBounce"

FillMode

FillMode: "zero" | "top" | "bottom" | boolean

InteractionMode

PointStyle

PointStyle: "circle" | "cross" | "crossRot" | "dash" | "line" | "rect" | "rectRounded" | "rectRot" | "star" | "triangle"

PositionType

PositionType: "left" | "right" | "top" | "bottom" | "chartArea"

ScaleType

ScaleType: "category" | "linear" | "logarithmic" | "time" | "radialLinear"

Scriptable

Scriptable<T>: (ctx: { chart?: export=; dataIndex?: number; dataset?: ChartDataSets; datasetIndex?: number }) => T

Type parameters

  • T

Type declaration

    • Parameters

      • ctx: { chart?: export=; dataIndex?: number; dataset?: ChartDataSets; datasetIndex?: number }
        • Optional chart?: export=
        • Optional dataIndex?: number
        • Optional dataset?: ChartDataSets
        • Optional datasetIndex?: number

      Returns T

TextAlignment

TextAlignment: "left" | "center" | "right"

TimeUnit

TimeUnit: "millisecond" | "second" | "minute" | "hour" | "day" | "week" | "month" | "quarter" | "year"

Generated using TypeDoc