package chartjs

  1. Overview
  2. Docs
inherit dataset

General

The ID of the x axis to plot this dataset on.

The ID of the y axis to plot this dataset on.

Styling

The edge to skip when drawing bar. This setting is used to avoid drawing the bar stroke at the base of the fill. In general, this does not need to be changed except when creating chart types that derive from a bar chart. Note: for negative bars in vertical chart, top and bottom are flipped. Same goes for left and right in horizontal chart. Options are: 'bottom', 'left', 'top', 'right', false

The bar border width (in pixels). If this value is a number, it is applied to all sides of the rectangle (left, top, right, bottom), except borderSkipped. If this value is an object, the left property defines the left border width. Similarly the right, top and bottom properties can also be specified. Omitted borders and borderSkipped are skipped.

Interactions

All these values, if undefined, fallback to the associated elements.rectangle.* options.

The bar background color when hovered.

The bar border color when hovered.

The bar border width when hovered (in pixels).

The ID of the group to which this dataset belongs to (when stacked, each group will be a separate stack).