LineOptions

@native @nowarn("cat=unused") @JSType trait LineOptions extends GlobalOptions
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

var bezierCurve: Boolean

Whether the line is curved between points

Whether the line is curved between points

var bezierCurveTension: Double

Tension of the bezier curve between points

Tension of the bezier curve between points

var datasetFill: Boolean

Whether to fill the dataset with a colour

Whether to fill the dataset with a colour

var datasetStroke: Boolean

Whether to show a stroke for datasets

Whether to show a stroke for datasets

var datasetStrokeWidth: Double

Pixel width of dataset stroke

Pixel width of dataset stroke

var legendTemplate: String

A legend template

A legend template

var pointDot: Boolean

Whether to show a dot for each point

Whether to show a dot for each point

var pointDotRadius: Double

Radius of each point dot in pixels

Radius of each point dot in pixels

var pointDotStrokeWidth: Double

Pixel width of point dot stroke

Pixel width of point dot stroke

amount extra to add to the radius to cater for hit detection outside the drawn point

amount extra to add to the radius to cater for hit detection outside the drawn point

var scaleGridLineColor: String

Colour of the grid lines

Colour of the grid lines

var scaleGridLineWidth: Double

Width of the grid lines

Width of the grid lines

var scaleShowGridLines: Boolean

Whether grid lines are shown across the chart

Whether grid lines are shown across the chart

Whether to show horizontal lines (except X axis)

Whether to show horizontal lines (except X axis)

Whether to show vertical lines (except Y axis)

Whether to show vertical lines (except Y axis)

Inherited fields

var animation: Boolean

Whether to animate the chart

Whether to animate the chart

Inherited from
GlobalOptions
var animationEasing: String

Animation easing effect

Animation easing effect

Inherited from
GlobalOptions
var animationSteps: Int

Number of animation steps

Number of animation steps

Inherited from
GlobalOptions
var customTooltips: Boolean | Function1[Boolean | Tooltip, Boolean]

Determines whether to execute the customTooltips function instead of drawing the built in tooltips (See Advanced - External Tooltips)

Determines whether to execute the customTooltips function instead of drawing the built in tooltips (See Advanced - External Tooltips)

Inherited from
GlobalOptions
var maintainAspectRatio: Boolean

whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container

whether to maintain the starting aspect ratio or not when responsive, if set to false, will take up entire container

Inherited from
GlobalOptions

Template string for multiple tooltips

Template string for multiple tooltips

Inherited from
GlobalOptions
var onAnimationComplete: Function0[Unit]

Will fire on animation completion.

Will fire on animation completion.

Inherited from
GlobalOptions
var onAnimationProgress: Function0[Unit]

Will fire on animation progression.

Will fire on animation progression.

Inherited from
GlobalOptions
var responsive: Boolean

whether or not the chart should be responsive and resize when the browser does.

whether or not the chart should be responsive and resize when the browser does.

Inherited from
GlobalOptions
var scaleBeginAtZero: Boolean

Whether the scale should start at zero, or an order of magnitude down from the lowest value

Whether the scale should start at zero, or an order of magnitude down from the lowest value

Inherited from
GlobalOptions
var scaleFontColor: String

Scale label font colour

Scale label font colour

Inherited from
GlobalOptions
var scaleFontFamily: String

Scale label font declaration for the scale label

Scale label font declaration for the scale label

Inherited from
GlobalOptions
var scaleFontSize: Double

Scale label font size in pixels

Scale label font size in pixels

Inherited from
GlobalOptions
var scaleFontStyle: String

Scale label font weight style

Scale label font weight style

Inherited from
GlobalOptions
var scaleIntegersOnly: Boolean

Whether the scale should stick to integers, not floats even if drawing space is there

Whether the scale should stick to integers, not floats even if drawing space is there

Inherited from
GlobalOptions
var scaleLabel: String

Interpolated JS string - can access value

Interpolated JS string - can access value

Inherited from
GlobalOptions
var scaleLineColor: String

Colour of the scale line

Colour of the scale line

Inherited from
GlobalOptions
var scaleLineWidth: Double

Pixel width of the scale line

Pixel width of the scale line

Inherited from
GlobalOptions
var scaleOverride: Boolean

If we want to override with a hard coded scale

If we want to override with a hard coded scale

Inherited from
GlobalOptions
var scaleShowLabels: Boolean

Whether to show labels on the scale

Whether to show labels on the scale

Inherited from
GlobalOptions
var scaleStartValue: Double

The scale starting value

The scale starting value

Inherited from
GlobalOptions
var scaleStepWidth: Double

The value jump in the hard coded scale

The value jump in the hard coded scale

Inherited from
GlobalOptions
var scaleSteps: Double

Required if scaleOverride is true. The number of steps in a hard coded scale

Required if scaleOverride is true. The number of steps in a hard coded scale

Inherited from
GlobalOptions
var showScale: Boolean

If we should show the scale at all

If we should show the scale at all

Inherited from
GlobalOptions
var showTooltips: Boolean

Determines whether to draw tooltips on the canvas or not

Determines whether to draw tooltips on the canvas or not

Inherited from
GlobalOptions
var tooltipCaretSize: Double

Size of the caret on the tooltip

Size of the caret on the tooltip

Inherited from
GlobalOptions
var tooltipCornerRadius: Double

Pixel radius of the tooltip border

Pixel radius of the tooltip border

Inherited from
GlobalOptions

Array of string names to attach tooltip events

Array of string names to attach tooltip events

Inherited from
GlobalOptions
var tooltipFillColor: String

Tooltip background colour

Tooltip background colour

Inherited from
GlobalOptions
var tooltipFontColor: String

Tooltip label font colour

Tooltip label font colour

Inherited from
GlobalOptions
var tooltipFontFamily: String

Tooltip label font declaration for the scale label

Tooltip label font declaration for the scale label

Inherited from
GlobalOptions
var tooltipFontSize: Double

Tooltip label font size in pixels

Tooltip label font size in pixels

Inherited from
GlobalOptions
var tooltipFontStyle: String

Tooltip font weight style

Tooltip font weight style

Inherited from
GlobalOptions
var tooltipTemplate: String

Template string for single tooltips

Template string for single tooltips

Inherited from
GlobalOptions

Tooltip title font colour

Tooltip title font colour

Inherited from
GlobalOptions

Tooltip title font declaration for the scale label

Tooltip title font declaration for the scale label

Inherited from
GlobalOptions

Tooltip title font size in pixels

Tooltip title font size in pixels

Inherited from
GlobalOptions

Tooltip title font weight style

Tooltip title font weight style

Inherited from
GlobalOptions
var tooltipXOffset: Double

Pixel offset from point x to tooltip edge

Pixel offset from point x to tooltip edge

Inherited from
GlobalOptions
var tooltipXPadding: Double

pixel width of padding around tooltip text

pixel width of padding around tooltip text

Inherited from
GlobalOptions
var tooltipYPadding: Double

pixel width of padding around tooltip text

pixel width of padding around tooltip text

Inherited from
GlobalOptions