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

Dynamic JSON Badge Grafana

The SPC Chart panel automatically calculates and displays control limits for XmR, Xbar-R, and Xbar-S charts — so you can monitor process stability, detect special cause variation, and make data-driven decisions in real time.

SPC Chart with variable limits and custom control lines

Why SPC Chart?

Control charts are the foundation of statistical process control. They separate common cause variation (normal process behavior) from special cause variation (signals that something has changed). This plugin makes that analysis effortless:

  • Automatic control limits — LCL, UCL, and Mean are calculated and displayed automatically based on the selected chart type
  • Multiple chart types — XmR for individual measurements, Xbar-R for small subgroups, Xbar-S for larger subgroups
  • Custom control lines — add Nominal, LSL, USL, or any custom reference line with static values or dynamic series lookup
  • Fill regions — visually highlight zones between control lines to show acceptable process ranges

SPC Chart dashboard showing all chart types

Features

FeatureDescription
XmR chartsIndividual (X) and Moving Range (mR) charts for single measurements
Xbar-R chartsSubgroup mean (X-bar) and Range (R) charts for small subgroups
Xbar-S chartsSubgroup mean (X-bar) and Standard Deviation (S) charts for larger subgroups
Automatic control limitsLCL, UCL, and Mean calculated from the data using standard SPC formulas
Custom control linesAdd Nominal, LSL, USL, or custom lines with static values or dynamic series lookup
SubgroupingGroup consecutive measurements into subgroups of size 2-25
AggregationAggregate raw data by moving range, range, mean, or standard deviation
Fill regionsColor-fill areas between control lines to highlight process zones
Alerting supportGrafana alerting integration with alert state annotations on the chart
Custom annotationsCreate, edit, and delete annotations directly on the chart
Threshold visualizationDisplay alert thresholds alongside SPC control limits
Dashboard variablesControl subgroup size across multiple panels with a single subgroupSize variable
Feature queriesExclude reference queries from SPC calculations

Use Cases

  • Manufacturing quality — monitor process parameters and detect shifts before they produce defects
  • IT operations — track response times, error rates, or throughput to distinguish real incidents from normal variation
  • Laboratory analysis — control measurement systems and reagent performance over time
  • Supply chain — monitor delivery times, fill rates, or inventory levels for process stability
  • Healthcare — track clinical metrics and patient outcomes with statistical rigor

Requirements

  • Grafana 11.6.10 or later

Getting Started

  1. Install the plugin from the Grafana Plugin Catalog
  2. Add a new panel and select SPC Chart as the visualization
  3. Configure a query that returns time series data (a time field and one or more numeric value fields)
  4. Select a Chart Type (XmR, Xbar-R, or Xbar-S) to automatically calculate control limits

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

Documentation

For detailed documentation, configuration guides, and formula references, see the full documentation.

Part of the KensoBI SPC Suite

SPC Chart is part of a growing family of Statistical Process Control plugins for Grafana by Kenso Software:

SPC Histogram Panel — Distribution analysis with histograms, bell curves, and a built-in statistics table showing Cp, Cpk, Pp, and Ppk. Use it to understand process capability: is your process producing results within specification limits?

SPC Pareto Panel — Pareto analysis with automatic sorting, cumulative percentage lines, and 80/20 threshold highlighting. Use it to identify the vital few factors contributing to defects or issues.

SPC CAD Panel — Brings 3D geometry into the picture, letting you bind the data from control charts and histograms to physical features on your parts.

SPC Box Plot Panel — Box-and-whisker plots with built-in SPC. Automatically groups measurements into subgroups, computes quartiles and outliers, and overlays Xf-Rf control limits to detect shifts in both process location and spread.

SPC Bullet Panel — Compact bullet charts and progress bars with optional SPC metrics (Cpk, Cp, Ppk, Pp, Sigma Level) for dense KPI dashboards.

SPC Characteristic Datasource — The datasource that powers the SPC CAD panel. Connects to your measurement database (PostgreSQL or MSSQL), lets you select features and characteristics through a point-and-click interface, and returns SPC statistics, time series measurements, and forecast data — no SQL required.

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 2.0.

Installing SPC Chart on Grafana Cloud:

For more information, visit the docs on plugin installation.

Changelog

2.2.0

New Features:

  • Numeric X-axis Support: Added support for numeric X-axis to enable SPC charting for indexed/sequential data sources.
    • New X-axis field selector allows switching between Time (default) and numeric fields
    • Works similarly to Grafana's built-in Trend panel
    • Perfect for analyzing data with sample numbers or sequence indices (e.g., 1, 2, 3...) instead of timestamps
  • Multi-field Control Lines: Enhanced control line functionality for datasets with multiple numeric fields.
    • Field selector for computed control lines (LCL, UCL, Mean) when multiple numeric fields exist
    • Automatically hidden when only one numeric field is present to reduce UI complexity
    • Enables proper SPC monitoring of multiple measurements in a single dataset

Compatibility:

  • Maintains full backward compatibility with existing time-based SPC charts

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.