Namespace: options.scales|scaleId|.border, it defines options for the border that run perpendicular to the axis.

cjs_border(
  display = TRUE,
  color = htmlwidgets::JS("Chart.defaults.borderColor"),
  width = 1,
  dash = NULL,
  dashOffset = 0,
  z = 0
)

Arguments

display

boolean If true, draw a border at the edge between the axis and the chart area.

color

The color of the border line. Defaults to Chart.defaults.borderColor

width

number 1 The width of the border line.

dash

number[] Yes [] Length and spacing of dashes on grid lines. See MDN

dashOffset

number Yes 0 Offset for line dashes. See MDN

z

number 0 z-index of the border layer. Values <= 0 are drawn under datasets, > 0 on top.

Value

a list