title |
---|
Getting Started |
Chart.js module for charting error bars plots. This plugin extends the several char types (bar
, line
, scatter
, polarArea
)
with their error bar equivalent (barWithErrorBars
, lineWithErrorBars
, scatterWithErrorBars
, polarAreaWithErrorBars
).
npm install chart.js chartjs-chart-error-bars
see Examples
and CodePen
see TypeScript Interface: IErrorBarXDataPoint
a combination of the previous two ones IErrorBarXDataPoint and IErrorBarYDataPoint
The styling options support different array version.
Note: as with other chart.js style options, using an array will be one value per dataset. Thus, to specify the values for different error bars, one needs to wrap it in an object with a v
key having the value itself. The outer for the dataset, the inner for the error bars.
see TypeScript interface: IErrorBarOptions