demo D212
Manufacturing and process
A machined bore with a tolerance driving capability, drifting in one shift
spec · grid.statistics.capability
Loading a live grid…
The configuration
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.28.0/lattice-grid.min.css">
<script type="module">
import { defineLatticeGrid } from 'https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.28.0/modules/webcomponent.esm.js';
defineLatticeGrid();
</script>
<lattice-grid row-key="id" style="display: block; height: 460px"></lattice-grid>
<script type="module">
const grid = document.querySelector('lattice-grid');
grid.config = {
toolPanel: { side: 'left', panels: ['columns', 'filters', 'statistics'] },
columnDefaults: { filter: true },
columns: [
{ field: 'part', title: 'Part', layout: { pin: 'start', width: 120 } },
{ field: 'shift', title: 'Shift', filter: { type: 'set' } },
// The spec drives process capability and the control chart.
{ field: 'bore', title: 'Bore', type: 'millimetres', total: 'median',
spec: { lower: 9.5, upper: 10.8, target: 10 } },
{ field: 'speed', title: 'Spindle', type: 'rpm', total: 'avg' },
{ field: 'line', title: 'Line pressure', type: 'bar', total: 'p95' },
{ field: 'torque', title: 'Torque', type: 'torque', total: 'max' },
],
};
grid.rows = rows; // measured parts
</script>