Skip to content

A small plugin to provide sensible standard deviation displays.

License

Notifications You must be signed in to change notification settings

idrinth-api-bench/chartjs-plugin-stdev-filler

Repository files navigation

@idrinth-api-bench/chartjs-plugin-stdev-filler

This tiny plugin adds a colored area around line charts if those provide a standard deviation value.

Config

{
  datasets: [
    {
      label: 'example 1',
      data: [10, 9, 11, 13, 11],
      stdev: [1, 1.1, 3, 9, 0.2],
    }
  ]
}