Plugins 〉SPC Chart


Developer

Kenso Software

Sign up to receive occasional product news and updates:



Panel
community

SPC Chart

  • Overview
  • Installation
  • Change log
  • Related content

SPC Chart

Welcome to the KensoBI SPC Chart panel for Grafana. This plugin enables you to easily create statistical process control (SPC) charts, including Xbar-R, XbarS, and XmR charts. It automatically calculates and displays control limits, with options to add your own custom limits. Additionally, you can group your samples into subgroups and aggregate them using methods such as moving range, range, mean, or standard deviation.

Main

Available Options

  • Xbar-R, XbarS, and XmR Charts: Create various types of SPC charts with a single click.

  • Automatic Control Limits: LCL (Lower Control Limit), UCL (Upper Control Limit), and mean are automatically calculated and displayed.

  • Custom Limits: Add your own limits for more tailored analysis.

  • Subgrouping: Group your samples into subgroups for analysis.

  • Aggregation: Aggregate your data by moving range, range, mean, or standard deviation.

  • Alerting Support: Support for Grafana alerting with alert states and annotations displayed on the chart.

  • Threshold Visualization: Configure and visualize alert thresholds alongside SPC control limits.

Alerting and Custom Annotations

The SPC Chart panel supports Grafana alerting with annotations:

  • Alert States: The panel displays alert states directly on the chart, making it easy to see when alerts are firing.

  • Alert Annotations: Historical alert events are shown as annotations on the chart timeline, providing visual context for when process control issues occurred.

  • Threshold Configuration: Configure alert thresholds in the panel's field configuration to define when alerts should trigger. These thresholds are displayed alongside your SPC control limits.

  • SPC-Based Alerts: Create alert rules based on SPC control limits (UCL, LCL) to automatically detect when your process goes out of statistical control. For example:

    • Alert when values exceed the Upper Control Limit (UCL)
    • Alert when values fall below the Lower Control Limit (LCL)
    • Alert on trends or patterns that indicate special cause variation
  • Create custom annotations directly on the chart.

To create an alert based on SPC limits, configure an alert rule in Grafana that uses the same query as your SPC chart, and set threshold conditions based on your calculated control limits.

Documentation

Please see the full panel documentation at KensoBI Docs.

NOTE: The plugin comes with sample provisioned dashboards. Build and start the plugin to see them.

Getting Help

If you have any questions or feedback, you can:

Your feedback is always welcome!

License

This software is distributed under the Apache License.

Notes

Copyright (c) 2024 Kenso Software

Installing SPC Chart on Grafana Cloud:

For more information, visit the docs on plugin installation.

Changelog

2.1.1

New Features:

  • Alerting Support: Support for Grafana alerting with alert states and annotations displayed on the chart.
    • Alert states are now visualized directly on the chart
    • Alert annotations show historical alert events on the timeline
    • Create alerts based on SPC control limits (UCL, LCL) to detect out-of-control processes
  • Annotation Support: Support for Grafana annotations with ability to create custom annotations directly on the chart.

Enhancements:

  • Dependency Upgrades: Updated all dependencies to latest versions for improved security and performance.

Compatibility:

  • Now supports React 19.
  • Now supports Grafana 13.

2.0.2

New Features:

  • Complete panel rewrite for improved performance and functionality.
  • Added support for XmR chart creation.
  • Added support for Custom Control Lines to pull dynamic values from Feature Series.
  • Brand New SPC Editor: A completely redesigned editor for setting up and customizing SPC charts with an intuitive user interface.
  • Threshold Colors: Ability to add color thresholds to every control line for better visualization.
  • Multiple Series Support: Enhanced functionality to handle multiple data series.s
  • Customization Options:
    • Customization of legend, tooltip, axis, and graph styles.
    • Introduced a subgroupSize dashboard variable to control subgroup size across multiple panels.

Enhancements:

  • Improved SPC calculations: Enhanced accuracy in statistical process control.

Changes:

  • License Update: Changed from Apache 2.0 to AGPL-3.0-only.

Compatibility:

  • Now supports Grafana 11.

1.0.3 (2024-04-16)

Bug fixes

  • Compatibility issue with Grafana 10.4.x (undefined reading 'Area') has been resolved.
  • Bug with displaying colors in constants has been fixed.

Features and enhancements

  • Ability to enter custom Sample size value has been added.
  • New chart display styles: lines, smooth line, points, bars.
  • Example demonstrating how to build a SQL query and use constants on a chart. See documentation for more information.

1.0.2 (2024-01-20)

  • Fix scaling of panel options.
  • Fix deprecated values.
  • Add backward compatibility to Grafana >=9.5.7.
  • Add ability to enter additional constants columns taken from the database using SQL entered as Table. See documentation for more information.