{
  "$schema": "https://ai.syncfusion.com/schema/registry-item.json",
  "name": "chart-manufacturing-quality-monitoring",
  "framework": "javascript",
  "type": "registry:component",
  "component": "Chart",
  "variant": "manufacturing-quality-monitoring",
  "dependencies": [
    "@syncfusion/ej2-charts"
  ],
  "description": "Manufacturing dashboard with dual-axis chart tracking hourly production and defects.",
  "meta": {
    "essentialStudioRelease": "2026 Volume 3 (v35.1.37)",
    "license": "commercial-or-community",
    "licenseNote": "The Syncfusion package is licensed. The composition in this file is source you own and edit. See https://ai.syncfusion.com/licensing.md",
    "requiresLicenseKey": true,
    "requiresServerEndpoint": false,
    "platformIndex": "https://ai.syncfusion.com/javascript/llms.txt",
    "skillPack": "syncfusion/javascript-ui-components-skills",
    "docs": "https://ai.syncfusion.com/gallery/javascript/chart-manufacturing-quality-monitoring.md"
  },
  "files": [
    {
      "target": "src/components/chart-manufacturing-quality-monitoring/index.html",
      "content": "<div class=\"control-pane manufacturing-chart\">\n    <div class=\"sample-title\">\n        Manufacturing Production and Quality Monitoring\n    </div>\n\n    <div class=\"sample-subtitle\">\n        Hourly production output and defect rate analysis\n    </div>\n\n    <div class=\"control-section\">\n        <div id=\"manufacturing-quality-chart\"></div>\n    </div>\n\n    <div class=\"sample-footer\">\n        The shaded region represents the maintenance period. Target lines indicate\n        production and quality thresholds.\n    </div>\n</div>\n\n<style>\n    .manufacturing-chart {\n        width: 100%;\n        padding: 16px;\n        box-sizing: border-box;\n        background: #ffffff;\n        border: 1px solid #e2e8f0;\n        border-radius: 12px;\n        font-family: Arial, sans-serif;\n    }\n\n    .manufacturing-chart .sample-title {\n        text-align: center;\n        color: #1e293b;\n        font-size: 26px;\n        font-weight: 600;\n        margin: 8px 0 4px;\n    }\n\n    .manufacturing-chart .sample-subtitle {\n        text-align: center;\n        color: #64748b;\n        font-size: 14px;\n        margin-bottom: 12px;\n    }\n\n    .manufacturing-chart .sample-footer {\n        text-align: center;\n        color: #64748b;\n        font-size: 12px;\n        margin-top: 12px;\n    }\n\n    @media (max-width: 600px) {\n        .manufacturing-chart {\n            padding: 8px;\n        }\n\n        .manufacturing-chart .sample-title {\n            font-size: 19px;\n        }\n    }\n</style>\n"
    },
    {
      "target": "src/components/chart-manufacturing-quality-monitoring/index.ts",
      "content": "import {\n    Chart,\n    ColumnSeries,\n    SplineSeries,\n    Category,\n    Tooltip,\n    Legend,\n    DataLabel,\n    Crosshair,\n    StripLine\n} from '@syncfusion/ej2-charts';\n\nChart.Inject(ColumnSeries, SplineSeries, Category, Tooltip, Legend, DataLabel, Crosshair, StripLine);\n\ninterface ProductionData {\n    hour: string;\n    production: number;\n    defectRate: number;\n}\n\nconst productionData: ProductionData[] = [\n    { hour: '08:00', production: 420, defectRate: 1.2 },\n    { hour: '09:00', production: 460, defectRate: 1.5 },\n    { hour: '10:00', production: 510, defectRate: 1.8 },\n    { hour: '11:00', production: 540, defectRate: 1.6 },\n    { hour: '12:00', production: 380, defectRate: 3.1 },\n    { hour: '13:00', production: 430, defectRate: 2.6 },\n    { hour: '14:00', production: 570, defectRate: 1.9 },\n    { hour: '15:00', production: 620, defectRate: 1.4 }\n];\n\nconst chart: Chart = new Chart({\n    width: '100%',\n    height: '540px',\n    background: 'transparent',\n    primaryXAxis: {\n        valueType: 'Category',\n        title: 'Production Hours',\n        majorGridLines: { width: 0 },\n        majorTickLines: { width: 1 },\n        lineStyle: { width: 1, color: '#bdbdbd' },\n        labelStyle: { color: '#64748b' },\n        stripLines: [\n            {\n                start: 3.95,\n                end: 4.95,\n                color: '#F59E0B',\n                opacity: 0.14,\n                text: 'Maintenance Period',\n                rotation: -90,\n                horizontalAlignment: 'Middle',\n                verticalAlignment: 'Middle',\n                textStyle: { color: '#B45309', fontWeight: '600', size: '12px' },\n                zIndex: 'Behind'\n            }\n        ]\n    },\n    primaryYAxis: {\n        minimum: 0,\n        maximum: 700,\n        interval: 100,\n        title: 'Production Output (Units)',\n        majorGridLines: { width: 1, color: '#dbe4f0', dashArray: '3,3' },\n        lineStyle: { width: 1, color: '#bdbdbd' },\n        labelStyle: { color: '#64748b' },\n        stripLines: [\n            {\n                start: 498,\n                end: 503,\n                color: '#22C55E',\n                opacity: 0.18,\n                text: 'Production Target: 500 Units',\n                horizontalAlignment: 'End',\n                verticalAlignment: 'Middle',\n                textStyle: { color: '#008B55', fontWeight: '600', size: '12px' },\n                zIndex: 'Over'\n            }\n        ]\n    },\n    axes: [\n        {\n            name: 'DefectRate',\n            opposedPosition: true,\n            minimum: 0,\n            maximum: 5,\n            interval: 1,\n            title: 'Defect Rate (%)',\n            labelFormat: '{value}%',\n            majorGridLines: { width: 0 },\n            lineStyle: { width: 1, color: '#bdbdbd' },\n            majorTickLines: { width: 1 },\n            labelStyle: { color: '#64748b' },\n            stripLines: [\n                {\n                    start: 1.95,\n                    end: 2.05,\n                    color: '#EF4444',\n                    opacity: 0.2,\n                    text: 'Maximum Defect Rate: 2%',\n                    horizontalAlignment: 'End',\n                    verticalAlignment: 'Middle',\n                    textStyle: { color: '#EF4444', fontWeight: '600', size: '12px' },\n                    zIndex: 'Over'\n                }\n            ]\n        }\n    ],\n    tooltip: { enable: true, shared: true, showNearestTooltip: true },\n    crosshair: {\n        enable: true,\n        lineType: 'Both',\n        line: { color: '#94A3B8', width: 1, dashArray: '3,3' }\n    },\n    legendSettings: {\n        visible: true,\n        position: 'Bottom',\n        alignment: 'Center',\n        padding: 15,\n        textStyle: { size: '14px', color: '#64748b' }\n    },\n    chartArea: { border: { width: 0 } },\n    margin: { left: 10, right: 10, top: 10, bottom: 5 },\n    series: [\n        {\n            dataSource: productionData,\n            xName: 'hour',\n            yName: 'production',\n            name: 'Production Output',\n            type: 'Column',\n            fill: '#3B82F6',\n            columnWidth: 0.45,\n            columnSpacing: 0.15,\n            marker: {\n                dataLabel: {\n                    visible: true,\n                    position: 'Top',\n                    font: { color: '#2563EB', fontWeight: '600', size: '12px' }\n                }\n            },\n            animation: { enable: false }\n        },\n        {\n            dataSource: productionData,\n            xName: 'hour',\n            yName: 'defectRate',\n            name: 'Defect Rate',\n            type: 'Spline',\n            yAxisName: 'DefectRate',\n            fill: '#F01446',\n            width: 3,\n            marker: {\n                visible: true,\n                width: 8,\n                height: 8,\n                shape: 'Circle',\n                fill: '#ffffff',\n                border: { color: '#F01446', width: 2 }\n            },\n            animation: { enable: false }\n        }\n    ]\n});\nchart.appendTo('#manufacturing-quality-chart');\n"
    }
  ]
}