Lattice Grid Buy a licence

demo D212

Manufacturing and process

A machined bore with a tolerance driving capability, drifting in one shift

spec · grid.statistics.capability

Building…
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">
<style>
  #grid > div { height: 460px; }
</style>
<div id="grid"></div>

<script type="module">
  import * as Vue from 'https://esm.sh/vue@3';
  import { createGrid } from 'https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.28.0/lattice-grid.esm.min.js';
  import createLatticeGrid from 'https://cdn.jsdelivr.net/npm/@toclocoinc/lattice-grid@1.28.0/modules/vue.esm.min.js';

  const LatticeGrid = createLatticeGrid({ vue: Vue, createGrid });

  Vue.createApp({
    components: { LatticeGrid },
    data() {
      return {
        config: {
          rowKey: 'id',
          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' },
          ],
          rows,  // measured parts
        },
      };
    },
    template: '<lattice-grid v-bind="config" />',
  }).mount('#grid');
</script>