From 9e1df32f4c7baf8ab45ee2b2c006f7275b97786f Mon Sep 17 00:00:00 2001 From: "gigi.mamaladze" Date: Mon, 20 Oct 2025 03:02:58 +0400 Subject: [PATCH] Updated Jam area Statistic + added System Startup script --- .../views/Windows/Statistics/view.json | 2881 ++++++++++++++--- CNO8_SCADA/ignition/event-scripts/data.bin | Bin 3429 -> 2938 bytes .../Jam_Area/Jam Count Graph/query.sql | 26 + .../Jam_Area/Jam Count Graph/resource.json | 45 + .../named-query/Jam_Area/Jam Count/query.sql | 16 + .../Jam_Area/Jam Count/resource.json | 46 + .../Jam_Area/Jam Percentage Graph/query.sql | 29 + .../Jam Percentage Graph/resource.json | 45 + .../Jam_Area/Jam Percentage/query.sql | 34 + .../Jam_Area/Jam Percentage/resource.json | 46 + .../named-query/Jam_Area/Jam/query.sql | 248 -- .../named-query/Jam_Area/Jam_graph/query.sql | 191 -- 12 files changed, 2737 insertions(+), 870 deletions(-) create mode 100644 CNO8_SCADA/ignition/named-query/Jam_Area/Jam Count Graph/query.sql create mode 100644 CNO8_SCADA/ignition/named-query/Jam_Area/Jam Count Graph/resource.json create mode 100644 CNO8_SCADA/ignition/named-query/Jam_Area/Jam Count/query.sql create mode 100644 CNO8_SCADA/ignition/named-query/Jam_Area/Jam Count/resource.json create mode 100644 CNO8_SCADA/ignition/named-query/Jam_Area/Jam Percentage Graph/query.sql create mode 100644 CNO8_SCADA/ignition/named-query/Jam_Area/Jam Percentage Graph/resource.json create mode 100644 CNO8_SCADA/ignition/named-query/Jam_Area/Jam Percentage/query.sql create mode 100644 CNO8_SCADA/ignition/named-query/Jam_Area/Jam Percentage/resource.json delete mode 100644 CNO8_SCADA/ignition/named-query/Jam_Area/Jam/query.sql delete mode 100644 CNO8_SCADA/ignition/named-query/Jam_Area/Jam_graph/query.sql diff --git a/CNO8_SCADA/com.inductiveautomation.perspective/views/Windows/Statistics/view.json b/CNO8_SCADA/com.inductiveautomation.perspective/views/Windows/Statistics/view.json index c9c46d1..1f81545 100644 --- a/CNO8_SCADA/com.inductiveautomation.perspective/views/Windows/Statistics/view.json +++ b/CNO8_SCADA/com.inductiveautomation.perspective/views/Windows/Statistics/view.json @@ -1,7 +1,18 @@ { "custom": {}, + "events": { + "system": { + "onStartup": { + "config": { + "script": "\t# Resolve the dropdown once\n\tdropdown \u003d self.getChild(\"root\").getChild(\"Aggregation Mode\").getChild(\"Aggregation Mode DropDown\")\n\t\n\t# Base options\n\toptions \u003d [\n\t {\"value\": \"Count\", \"label\": \"Count\"},\n\t {\"value\": \"Percentage\", \"label\": \"Percentage\"}\n\t]\n\tcurrent_tab_index \u003d self.getChild(\"root\").getChild(\"Statistics\").props.currentTabIndex\n\t\n\t# Add \"Rate\" only when the value is truthy (e.g., 1)\n\tif (current_tab_index \u003d\u003d 1):\n\t options.append({\"value\": \"Rate\", \"label\": \"Rate\"})\n\t\n\t# Apply options\n\tdropdown.props.options \u003d options" + }, + "scope": "G", + "type": "script" + } + } + }, "params": { - "Tab_ID": 1, + "Tab_ID": 0, "Table": "Statistics" }, "propConfig": { @@ -39,93 +50,73 @@ { "children": [ { - "events": { - "component": { - "onRowDoubleClick": { - "config": { - "script": "\tself.props.selection.selectedRow \u003d \"null\"" - }, - "scope": "G", - "type": "script" - } - } - }, "meta": { - "name": "Jam Area" + "name": "Jam Area Count" }, "position": { "basis": "50%" }, "propConfig": { - "position.basis": { + "custom.time": { "binding": { "config": { - "expression": "if ({../Induct Details_graph.position.display} \u003d true, \"50%\", \"100%\")" - }, - "enabled": false, - "type": "expr" - } - }, - "props.columns[3].visible": { - "binding": { - "config": { - "expression": "{..../Aggregation_Mode/Dropdown_Aggregation_mode.props.value} \u003d \"Count\"" + "expression": "now()" }, "type": "expr" } }, - "props.columns[4].visible": { + "meta.visible": { "binding": { "config": { - "expression": "{..../Aggregation_Mode/Dropdown_Aggregation_mode.props.value} \u003d \"Count\"" + "path": "..../Aggregation Mode/Aggregation Mode DropDown.props.value" }, - "type": "expr" + "transforms": [ + { + "fallback": false, + "inputType": "scalar", + "mappings": [ + { + "input": "Count", + "output": true + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" } }, - "props.columns[5].visible": { + "position.display": { "binding": { "config": { - "expression": "{..../Aggregation_Mode/Dropdown_Aggregation_mode.props.value} \u003d \"Count\"" + "path": "..../Aggregation Mode/Aggregation Mode DropDown.props.value" }, - "type": "expr" - } - }, - "props.columns[6].visible": { - "binding": { - "config": { - "expression": "{..../Aggregation_Mode/Dropdown_Aggregation_mode.props.value} \u003d \"Percentage\"" - }, - "type": "expr" - } - }, - "props.columns[7].visible": { - "binding": { - "config": { - "expression": "{..../Aggregation_Mode/Dropdown_Aggregation_mode.props.value} \u003d \"Percentage\"" - }, - "type": "expr" - } - }, - "props.columns[8].visible": { - "binding": { - "config": { - "expression": "{..../Aggregation_Mode/Dropdown_Aggregation_mode.props.value} \u003d \"Percentage\"" - }, - "type": "expr" + "transforms": [ + { + "fallback": false, + "inputType": "scalar", + "mappings": [ + { + "input": "Count", + "output": true + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" } }, "props.data": { "binding": { "config": { "parameters": { - "endtime": "{..../Period_not_Global_0.custom.EndDate}", - "starttime": "{..../Period_not_Global_0.custom.StartDate}" + "endtime": "{..../Period Filter.custom.EndDate}", + "starttime": "{..../Period Filter.custom.StartDate}" }, - "polling": { - "enabled": true, - "rate": "1" - }, - "queryPath": "Jam_Area/Jam" + "queryPath": "Jam_Area/Jam Count" }, "type": "query" } @@ -138,7 +129,7 @@ "boolean": "checkbox", "dateFormat": "MM/DD/YYYY HH:mm:ss", "editable": false, - "field": "Startstamp", + "field": "StartTimestamp", "footer": { "align": "center", "justify": "left", @@ -157,7 +148,7 @@ }, "justify": "center", "number": "value", - "numberFormat": "0,0.##", + "numberFormat": "00:00:00", "progressBar": { "bar": { "color": "", @@ -185,7 +176,7 @@ "render": "date", "resizable": true, "sort": "none", - "sortable": true, + "sortable": false, "strictWidth": false, "style": { "classes": "" @@ -203,10 +194,10 @@ }, { "align": "center", - "boolean": "checkbox", + "boolean": "value", "dateFormat": "MM/DD/YYYY HH:mm:ss", "editable": false, - "field": "Endtstamp", + "field": "EndTimestamp", "footer": { "align": "center", "justify": "left", @@ -225,7 +216,7 @@ }, "justify": "center", "number": "value", - "numberFormat": "0,0.##", + "numberFormat": "none", "progressBar": { "bar": { "color": "", @@ -253,7 +244,7 @@ "render": "date", "resizable": true, "sort": "none", - "sortable": true, + "sortable": false, "strictWidth": false, "style": { "classes": "" @@ -267,14 +258,14 @@ "viewParams": {}, "viewPath": "", "visible": true, - "width": "" + "width": 150 }, { "align": "center", "boolean": "checkbox", - "dateFormat": "MM/DD/YYYY", + "dateFormat": "MM/DD/YYYY HH:mm:ss", "editable": false, - "field": "Total_jam", + "field": "Total", "footer": { "align": "center", "justify": "left", @@ -289,7 +280,7 @@ "style": { "classes": "" }, - "title": "Total (#)" + "title": "Total" }, "justify": "center", "number": "value", @@ -321,7 +312,7 @@ "render": "auto", "resizable": true, "sort": "none", - "sortable": true, + "sortable": false, "strictWidth": false, "style": { "classes": "" @@ -335,7 +326,7 @@ "viewParams": {}, "viewPath": "", "visible": true, - "width": "" + "width": 150 }, { "align": "center", @@ -389,7 +380,7 @@ "render": "auto", "resizable": true, "sort": "none", - "sortable": true, + "sortable": false, "strictWidth": false, "style": { "classes": "" @@ -402,6 +393,7 @@ }, "viewParams": {}, "viewPath": "", + "visible": true, "width": "" }, { @@ -409,7 +401,7 @@ "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, - "field": "MCM02_Fluid_Inbound", + "field": "Fluid_Inbound_MCM02", "footer": { "align": "center", "justify": "left", @@ -424,7 +416,7 @@ "style": { "classes": "" }, - "title": "MCM02 Fluid Inbound (#)" + "title": "Fluid Inbound MCM02 (#)" }, "justify": "center", "number": "value", @@ -456,7 +448,7 @@ "render": "auto", "resizable": true, "sort": "none", - "sortable": true, + "sortable": false, "strictWidth": false, "style": { "classes": "" @@ -469,6 +461,7 @@ }, "viewParams": {}, "viewPath": "", + "visible": true, "width": "" }, { @@ -476,7 +469,7 @@ "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, - "field": "MCM03_Fluid_Inbound", + "field": "Fluid_Inbound_MCM03", "footer": { "align": "center", "justify": "left", @@ -491,7 +484,7 @@ "style": { "classes": "" }, - "title": "MCM03 Fluid Inbound (#)" + "title": "Fluid Inbound MCM03 (#)" }, "justify": "center", "number": "value", @@ -523,7 +516,7 @@ "render": "auto", "resizable": true, "sort": "none", - "sortable": true, + "sortable": false, "strictWidth": false, "style": { "classes": "" @@ -536,14 +529,318 @@ }, "viewParams": {}, "viewPath": "", + "visible": true, "width": "" + } + ], + "filter": { + "results": { + "enabled": true + } + }, + "pager": { + "bottom": false + }, + "rows": { + "style": { + "textAlign": "center" + } + }, + "selection": { + "enableRowSelection": false + }, + "style": { + "marginTop": 20 + }, + "virtualized": false + }, + "type": "ia.display.table" + }, + { + "meta": { + "name": "Jam Area Percentage" + }, + "position": { + "basis": "50%" + }, + "propConfig": { + "custom.time": { + "binding": { + "config": { + "expression": "now()" + }, + "type": "expr" + } + }, + "meta.visible": { + "binding": { + "config": { + "path": "..../Aggregation Mode/Aggregation Mode DropDown.props.value" + }, + "transforms": [ + { + "fallback": false, + "inputType": "scalar", + "mappings": [ + { + "input": "Percentage", + "output": true + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + } + }, + "position.display": { + "binding": { + "config": { + "path": "..../Aggregation Mode/Aggregation Mode DropDown.props.value" + }, + "transforms": [ + { + "fallback": false, + "inputType": "scalar", + "mappings": [ + { + "input": "Percentage", + "output": true + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + } + }, + "props.data": { + "binding": { + "config": { + "parameters": { + "endtime": "{..../Period Filter.custom.EndDate}", + "starttime": "{..../Period Filter.custom.StartDate}" + }, + "queryPath": "Jam_Area/Jam Percentage" + }, + "type": "query" + } + } + }, + "props": { + "columns": [ + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY HH:mm:ss", + "editable": false, + "field": "StartTimestamp", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Start Timestamp" + }, + "justify": "center", + "number": "value", + "numberFormat": "00:00:00", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "date", + "resizable": true, + "sort": "none", + "sortable": false, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": "" + }, + { + "align": "center", + "boolean": "value", + "dateFormat": "MM/DD/YYYY HH:mm:ss", + "editable": false, + "field": "EndTimestamp", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "End Timestamp" + }, + "justify": "center", + "number": "value", + "numberFormat": "none", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "date", + "resizable": true, + "sort": "none", + "sortable": false, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 150 + }, + { + "align": "center", + "boolean": "checkbox", + "dateFormat": "MM/DD/YYYY HH:mm:ss", + "editable": false, + "field": "Total", + "footer": { + "align": "center", + "justify": "left", + "style": { + "classes": "" + }, + "title": "" + }, + "header": { + "align": "center", + "justify": "center", + "style": { + "classes": "" + }, + "title": "Total" + }, + "justify": "center", + "number": "value", + "numberFormat": "0,0.##", + "progressBar": { + "bar": { + "color": "", + "style": { + "classes": "" + } + }, + "max": 100, + "min": 0, + "track": { + "color": "", + "style": { + "classes": "" + } + }, + "value": { + "enabled": true, + "format": "0,0.##", + "justify": "center", + "style": { + "classes": "" + } + } + }, + "render": "auto", + "resizable": true, + "sort": "none", + "sortable": false, + "strictWidth": false, + "style": { + "classes": "" + }, + "toggleSwitch": { + "color": { + "selected": "", + "unselected": "" + } + }, + "viewParams": {}, + "viewPath": "", + "visible": true, + "width": 150 }, { "align": "center", "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, - "field": "Bulk_Inbound_perc", + "field": "Bulk_Inbound", "footer": { "align": "center", "justify": "left", @@ -590,7 +887,7 @@ "render": "auto", "resizable": true, "sort": "none", - "sortable": true, + "sortable": false, "strictWidth": false, "style": { "classes": "" @@ -603,6 +900,7 @@ }, "viewParams": {}, "viewPath": "", + "visible": true, "width": "" }, { @@ -610,7 +908,7 @@ "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, - "field": "MCM02_Fluid_Inbound_perc", + "field": "Fluid_Inbound_MCM02", "footer": { "align": "center", "justify": "left", @@ -625,7 +923,7 @@ "style": { "classes": "" }, - "title": "MCM02 Fluid Inbound (%)" + "title": "Fluid Inbound MCM02 (%)" }, "justify": "center", "number": "value", @@ -657,7 +955,7 @@ "render": "auto", "resizable": true, "sort": "none", - "sortable": true, + "sortable": false, "strictWidth": false, "style": { "classes": "" @@ -670,6 +968,7 @@ }, "viewParams": {}, "viewPath": "", + "visible": true, "width": "" }, { @@ -677,7 +976,7 @@ "boolean": "checkbox", "dateFormat": "MM/DD/YYYY", "editable": false, - "field": "MCM03_Fluid_Inbound_perc", + "field": "Fluid_Inbound_MCM03", "footer": { "align": "center", "justify": "left", @@ -688,13 +987,13 @@ }, "header": { "align": "center", - "justify": "left", + "justify": "center", "style": { "classes": "" }, - "title": "MCM03 Fluid Inbound (%)" + "title": "Fluid Inbound MCM03 (%)" }, - "justify": "auto", + "justify": "center", "number": "value", "numberFormat": "0.##%", "progressBar": { @@ -724,7 +1023,7 @@ "render": "auto", "resizable": true, "sort": "none", - "sortable": true, + "sortable": false, "strictWidth": false, "style": { "classes": "" @@ -737,11 +1036,11 @@ }, "viewParams": {}, "viewPath": "", + "visible": true, "width": "" } ], "filter": { - "enabled": true, "results": { "enabled": true } @@ -749,8 +1048,16 @@ "pager": { "bottom": false }, + "rows": { + "style": { + "textAlign": "center" + } + }, "selection": { - "mode": "multiple interval" + "enableRowSelection": false + }, + "style": { + "marginTop": 20 }, "virtualized": false }, @@ -758,359 +1065,2071 @@ }, { "meta": { - "name": "Jam Area_graph" + "name": "Jam Area Count Graph" }, "position": { "basis": "50%" }, "propConfig": { - "props.plots[0].axes[0].name": { + "meta.visible": { "binding": { "config": { - "expression": "case ({..../Aggregation_Mode/Dropdown_Aggregation_mode.props.value},\r\n\"Count\",\"Inbound_jam\",\r\n\"Percentage\",\"Total_perc\",\r\n\"Rate\",\"Total_rate\",\r\nfalse)" + "path": "..../Aggregation Mode/Aggregation Mode DropDown.props.value" }, - "enabled": false, - "type": "expr" + "transforms": [ + { + "fallback": false, + "inputType": "scalar", + "mappings": [ + { + "input": "Count", + "output": true + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" } }, - "props.plots[0].trends[0].axis": { + "position.display": { "binding": { "config": { - "expression": "case ({..../Aggregation_Mode/Dropdown_Aggregation_mode.props.value},\r\n\"Count\",\"Dumpers_jam\",\r\n\"Percentage\",\"Total_perc\",\r\n\"Rate\",\"Total_rate\",\r\nfalse)" + "path": "..../Aggregation Mode/Aggregation Mode DropDown.props.value" }, - "enabled": false, - "type": "expr" + "transforms": [ + { + "fallback": false, + "inputType": "scalar", + "mappings": [ + { + "input": "Count", + "output": true + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" } }, - "props.plots[0].trends[0].columns[0].key": { - "binding": { - "config": { - "expression": "case ({..../Aggregation_Mode/Dropdown_Aggregation_mode.props.value},\r\n\"Count\",\"uljl_jam\",\r\n\"Percentage\",\"Total_perc\",\r\n\"Rate\",\"Total_rate\",\r\nfalse)" - }, - "enabled": false, - "type": "expr" - } - }, - "props.series[0].data": { + "props.dataSources.data": { "binding": { "config": { "parameters": { - "endtime": "{..../Period_not_Global_0.custom.EndDate}", - "starttime": "{..../Period_not_Global_0.custom.StartDate}" + "endtime": "{..../Period Filter.custom.EndDate}", + "starttime": "{..../Period Filter.custom.StartDate}" }, - "polling": { - "enabled": true, - "rate": "1" - }, - "queryPath": "Jam_Area/Jam_graph", - "returnFormat": "dataset" + "queryPath": "Jam_Area/Jam Count Graph", + "returnFormat": "json" }, "type": "query" } - }, - "props.xTrace.infoBox.dataFormat": { - "binding": { - "config": { - "expression": "case ({..../Aggregation_Mode/Dropdown_Aggregation_mode.props.value},\r\n\"Count\",\"#,###.##\",\r\n\"Percentage\",\"###.##%\",\r\n\"Rate\",\"#,###.##\",\r\nfalse)" - }, - "type": "expr" - } } }, "props": { + "dataSources": {}, "legend": { - "position": "top", - "visible": true + "enabled": false }, - "plots": [ - { - "axes": [ - { - "alignment": "left", - "label": { - "font": { - "color": "", - "size": 10 - }, - "offset": 0, - "style": { - "classes": "" - }, - "text": "", - "visible": true - }, - "max": "", - "min": "", - "name": "Total_perc", - "style": { - "classes": "" - }, - "tick": { - "color": "", - "label": { - "font": { - "color": "", - "size": 10 - }, - "style": { - "classes": "" - } - }, - "style": { - "classes": "" - } - }, - "width": 60 - } - ], - "markers": [], - "relativeWeight": 1, - "trends": [ - { - "axis": "Total_perc", - "baselines": [], - "breakLine": true, - "columns": [ - { - "color": "#FF0000", - "key": "Total_perc", - "styles": { - "highlighted": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "muted": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "normal": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "selected": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - } - } - }, - { - "color": "#00D812", - "key": "Bulk_Inbound", - "styles": { - "highlighted": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "muted": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "normal": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "selected": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - } - } - }, - { - "color": "#0048F9", - "key": "MCM02_Fluid_Inbound", - "styles": { - "highlighted": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "muted": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "normal": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "selected": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - } - } - }, - { - "color": "#FF0000", - "key": "MCM03_Fluid_Inbound", - "styles": { - "highlighted": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "muted": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "normal": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - }, - "selected": { - "fill": { - "color": "", - "opacity": null - }, - "stroke": { - "color": "", - "dashArray": null, - "opacity": null, - "width": null - } - } - } - } - ], - "interpolation": "curveLinear", - "radius": 2, - "series": "graph", - "stack": true, - "type": "line", - "visible": true - } - ] - } - ], "series": [ { - "name": "graph" + "candlestick": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "stacked": false, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + } + }, + "high": { + "x": "", + "y": "" + }, + "low": { + "x": "", + "y": "" + }, + "open": { + "x": "", + "y": "" + } + }, + "column": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "height": null, + "stacked": true, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "width": null + }, + "open": { + "x": "", + "y": "" + } + }, + "data": { + "source": "data", + "x": "Area", + "y": "Bulk Inbound" + }, + "defaultState": { + "visible": true + }, + "hiddenInLegend": false, + "label": { + "text": "" + }, + "line": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": false, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "name": "Bulk Inbound", + "render": "column", + "stepLine": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": true, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "Bulk Inbound (#): [bold]{valueY}[/]" + }, + "visible": true, + "xAxis": "Area", + "yAxis": "Jam_Count", + "zIndex": 0 + }, + { + "candlestick": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "stacked": false, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + } + }, + "high": { + "x": "", + "y": "" + }, + "low": { + "x": "", + "y": "" + }, + "open": { + "x": "", + "y": "" + } + }, + "column": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "#FF0000", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "height": null, + "stacked": true, + "stroke": { + "color": "#FF0000", + "opacity": 1, + "width": 1 + }, + "width": null + }, + "open": { + "x": "", + "y": "" + } + }, + "data": { + "source": "data", + "x": "Area", + "y": "Fluid Inbound MCM02" + }, + "defaultState": { + "visible": true + }, + "hiddenInLegend": false, + "label": { + "text": "" + }, + "line": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": false, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "name": "Fluid Inbound MCM02", + "render": "column", + "stepLine": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": true, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "Fluid Inbound MCM02 (#): [bold]{valueY}[/]" + }, + "visible": true, + "xAxis": "Area", + "yAxis": "Jam_Count", + "zIndex": 0 + }, + { + "candlestick": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "stacked": false, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + } + }, + "high": { + "x": "", + "y": "" + }, + "low": { + "x": "", + "y": "" + }, + "open": { + "x": "", + "y": "" + } + }, + "column": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "#FF8C00", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "height": null, + "stacked": true, + "stroke": { + "color": "#FF8C00", + "opacity": 1, + "width": 1 + }, + "width": null + }, + "open": { + "x": "", + "y": "" + } + }, + "data": { + "source": "data", + "x": "Area", + "y": "Fluid Inbound MCM03" + }, + "defaultState": { + "visible": true + }, + "hiddenInLegend": false, + "label": { + "text": "Dest Jam" + }, + "line": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": false, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "name": "Fluid Inbound MCM03", + "render": "column", + "stepLine": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": true, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "Fluid Inbound MCM03 (#): [bold]{valueY}[/]" + }, + "visible": true, + "xAxis": "Area", + "yAxis": "Jam_Count", + "zIndex": 0 } ], - "xTrace": { - "infoBox": { - "dateFormat": "YYYY-MM-DD", - "timeFormat": "HH:mm:ss" + "xAxes": [ + { + "appearance": { + "font": { + "size": "", + "weight": 500 + }, + "grid": { + "color": "", + "dashArray": "", + "minDistance": 60, + "opacity": 1, + "position": 0.5 + }, + "inside": false, + "labels": { + "color": "", + "horizontalCenter": "middle", + "opacity": 1, + "rotation": 0, + "verticalCenter": "middle" + }, + "opposite": false + }, + "category": { + "break": { + "enabled": false, + "endCategory": "", + "size": 0.05, + "startCategory": "" + } + }, + "date": { + "baseInterval": { + "count": 1, + "enabled": false, + "skipEmptyPeriods": false, + "timeUnit": "hour" + }, + "break": { + "enabled": false, + "endDate": "", + "size": 0.05, + "startDate": "" + }, + "format": "M/d", + "inputFormat": "yyyy-MM-dd kk:mm:ss", + "range": { + "max": "", + "min": "", + "useStrict": false + } + }, + "inversed": false, + "label": { + "color": "", + "enabled": true, + "text": "" + }, + "name": "Area", + "render": "category", + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "" + }, + "value": { + "break": { + "enabled": false, + "endValue": 100, + "size": 0.05, + "startValue": 0 + }, + "format": "#,###.##", + "logarithmic": false, + "range": { + "max": "", + "min": "", + "useStrict": false + } + }, + "visible": true + } + ], + "yAxes": [ + { + "appearance": { + "font": { + "size": "", + "weight": 500 + }, + "grid": { + "color": "", + "dashArray": "", + "minDistance": null, + "opacity": 1, + "position": 0.5 + }, + "inside": false, + "labels": { + "color": "", + "horizontalCenter": "middle", + "opacity": 1, + "rotation": 0, + "verticalCenter": "middle" + }, + "opposite": false + }, + "category": { + "break": { + "enabled": false, + "endCategory": "", + "size": 0.05, + "startCategory": "" + } + }, + "date": { + "baseInterval": { + "count": 1, + "enabled": false, + "skipEmptyPeriods": false, + "timeUnit": "hour" + }, + "break": { + "enabled": false, + "endDate": "", + "size": 0.05, + "startDate": "" + }, + "format": "M/d/yyyy HH:mm:ss", + "inputFormat": "yyyy-MM-dd kk:mm:ss", + "range": { + "max": "", + "min": "", + "useStrict": false + } + }, + "inversed": false, + "label": { + "color": "", + "enabled": true, + "text": "" + }, + "name": "Jam_Count", + "render": "value", + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "" + }, + "value": { + "break": { + "enabled": false, + "endValue": 100, + "size": 0.05, + "startValue": 0 + }, + "format": "#,###.##", + "logarithmic": false, + "range": { + "max": "", + "min": "", + "useStrict": false + } + }, + "visible": true + } + ] + }, + "type": "ia.chart.xy" + }, + { + "meta": { + "name": "Jam Area Percentage Graph" + }, + "position": { + "basis": "50%" + }, + "propConfig": { + "meta.visible": { + "binding": { + "config": { + "path": "..../Aggregation Mode/Aggregation Mode DropDown.props.value" + }, + "transforms": [ + { + "fallback": false, + "inputType": "scalar", + "mappings": [ + { + "input": "Percentage", + "output": true + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + } + }, + "position.display": { + "binding": { + "config": { + "path": "..../Aggregation Mode/Aggregation Mode DropDown.props.value" + }, + "transforms": [ + { + "fallback": false, + "inputType": "scalar", + "mappings": [ + { + "input": "Percentage", + "output": true + } + ], + "outputType": "scalar", + "type": "map" + } + ], + "type": "property" + } + }, + "props.dataSources.data": { + "binding": { + "config": { + "parameters": { + "endtime": "{..../Period Filter.custom.EndDate}", + "starttime": "{..../Period Filter.custom.StartDate}" + }, + "queryPath": "Jam_Area/Jam Percentage Graph", + "returnFormat": "json" + }, + "type": "query" } } }, - "type": "ia.chart.timeseries" + "props": { + "dataSources": {}, + "legend": { + "enabled": false + }, + "series": [ + { + "candlestick": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "stacked": false, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + } + }, + "high": { + "x": "", + "y": "" + }, + "low": { + "x": "", + "y": "" + }, + "open": { + "x": "", + "y": "" + } + }, + "column": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "height": null, + "stacked": true, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "width": null + }, + "open": { + "x": "", + "y": "" + } + }, + "data": { + "source": "data", + "x": "Area", + "y": "Bulk Inbound" + }, + "defaultState": { + "visible": true + }, + "hiddenInLegend": false, + "label": { + "text": "" + }, + "line": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": false, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "name": "Bulk Inbound", + "render": "column", + "stepLine": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": true, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "Bulk Inbound (%): [bold]{valueY}[/]" + }, + "visible": true, + "xAxis": "Area", + "yAxis": "Jam_Count", + "zIndex": 0 + }, + { + "candlestick": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "stacked": false, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + } + }, + "high": { + "x": "", + "y": "" + }, + "low": { + "x": "", + "y": "" + }, + "open": { + "x": "", + "y": "" + } + }, + "column": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "#FF0000", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "height": null, + "stacked": true, + "stroke": { + "color": "#FF0000", + "opacity": 1, + "width": 1 + }, + "width": null + }, + "open": { + "x": "", + "y": "" + } + }, + "data": { + "source": "data", + "x": "Area", + "y": "Fluid Inbound MCM02" + }, + "defaultState": { + "visible": true + }, + "hiddenInLegend": false, + "label": { + "text": "" + }, + "line": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": false, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "name": "Fluid Inbound MCM02", + "render": "column", + "stepLine": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": true, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "Fluid Inbound MCM02 (%): [bold]{valueY}[/]" + }, + "visible": true, + "xAxis": "Area", + "yAxis": "Jam_Count", + "zIndex": 0 + }, + { + "candlestick": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "stacked": false, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + } + }, + "high": { + "x": "", + "y": "" + }, + "low": { + "x": "", + "y": "" + }, + "open": { + "x": "", + "y": "" + } + }, + "column": { + "appearance": { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "fill": { + "color": "#FF8C00", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": "", + "min": "" + }, + "height": null, + "stacked": true, + "stroke": { + "color": "#FF8C00", + "opacity": 1, + "width": 1 + }, + "width": null + }, + "open": { + "x": "", + "y": "" + } + }, + "data": { + "source": "data", + "x": "Area", + "y": "Fluid Inbound MCM03" + }, + "defaultState": { + "visible": true + }, + "hiddenInLegend": false, + "label": { + "text": "Dest Jam" + }, + "line": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": false, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "name": "Fluid Inbound MCM03", + "render": "column", + "stepLine": { + "appearance": { + "bullets": [ + { + "deriveFieldsFromData": { + "fill": { + "color": "", + "opacity": "" + }, + "rotation": "", + "stroke": { + "color": "", + "opacity": "", + "width": "" + } + }, + "enabled": true, + "fill": { + "color": "", + "opacity": 1 + }, + "heatRules": { + "dataField": "", + "enabled": false, + "max": 100, + "min": 2 + }, + "height": 10, + "label": { + "position": { + "dx": 0, + "dy": 0 + }, + "text": "{value}" + }, + "render": "circle", + "rotation": 0, + "stroke": { + "color": "", + "opacity": 1, + "width": 1 + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "{name}: [bold]{valueY}[/]" + }, + "width": 10 + } + ], + "connect": true, + "fill": { + "color": "", + "opacity": 0 + }, + "minDistance": 0.5, + "stroke": { + "color": "", + "dashArray": "", + "opacity": 1, + "width": 3 + }, + "tensionX": 1, + "tensionY": 1 + }, + "open": { + "x": "", + "y": "" + } + }, + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "Fluid Inbound MCM03 (%): [bold]{valueY}[/]" + }, + "visible": true, + "xAxis": "Area", + "yAxis": "Jam_Count", + "zIndex": 0 + } + ], + "xAxes": [ + { + "appearance": { + "font": { + "size": "", + "weight": 500 + }, + "grid": { + "color": "", + "dashArray": "", + "minDistance": 60, + "opacity": 1, + "position": 0.5 + }, + "inside": false, + "labels": { + "color": "", + "horizontalCenter": "middle", + "opacity": 1, + "rotation": 0, + "verticalCenter": "middle" + }, + "opposite": false + }, + "category": { + "break": { + "enabled": false, + "endCategory": "", + "size": 0.05, + "startCategory": "" + } + }, + "date": { + "baseInterval": { + "count": 1, + "enabled": false, + "skipEmptyPeriods": false, + "timeUnit": "hour" + }, + "break": { + "enabled": false, + "endDate": "", + "size": 0.05, + "startDate": "" + }, + "format": "M/d", + "inputFormat": "yyyy-MM-dd kk:mm:ss", + "range": { + "max": "", + "min": "", + "useStrict": false + } + }, + "inversed": false, + "label": { + "color": "", + "enabled": true, + "text": "" + }, + "name": "Area", + "render": "category", + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "" + }, + "value": { + "break": { + "enabled": false, + "endValue": 100, + "size": 0.05, + "startValue": 0 + }, + "format": "#,###.##", + "logarithmic": false, + "range": { + "max": "", + "min": "", + "useStrict": false + } + }, + "visible": true + } + ], + "yAxes": [ + { + "appearance": { + "font": { + "size": "", + "weight": 500 + }, + "grid": { + "color": "", + "dashArray": "", + "minDistance": null, + "opacity": 1, + "position": 0.5 + }, + "inside": false, + "labels": { + "color": "", + "horizontalCenter": "middle", + "opacity": 1, + "rotation": 0, + "verticalCenter": "middle" + }, + "opposite": false + }, + "category": { + "break": { + "enabled": false, + "endCategory": "", + "size": 0.05, + "startCategory": "" + } + }, + "date": { + "baseInterval": { + "count": 1, + "enabled": false, + "skipEmptyPeriods": false, + "timeUnit": "hour" + }, + "break": { + "enabled": false, + "endDate": "", + "size": 0.05, + "startDate": "" + }, + "format": "M/d/yyyy HH:mm:ss", + "inputFormat": "yyyy-MM-dd kk:mm:ss", + "range": { + "max": "", + "min": "", + "useStrict": false + } + }, + "inversed": false, + "label": { + "color": "", + "enabled": true, + "text": "" + }, + "name": "Jam_Count", + "render": "value", + "tooltip": { + "background": { + "color": "", + "opacity": 1 + }, + "cornerRadius": 3, + "enabled": true, + "pointerLength": 4, + "text": "" + }, + "value": { + "break": { + "enabled": false, + "endValue": 100, + "size": 0.05, + "startValue": 0 + }, + "format": "#,###.##", + "logarithmic": false, + "range": { + "max": "", + "min": "", + "useStrict": false + } + }, + "visible": true + } + ] + }, + "type": "ia.chart.xy" } ], "meta": { @@ -2449,7 +4468,7 @@ "render": "date", "resizable": true, "sort": "none", - "sortable": false, + "sortable": true, "strictWidth": false, "style": { "classes": "" @@ -2585,7 +4604,7 @@ "render": "auto", "resizable": true, "sort": "none", - "sortable": false, + "sortable": true, "strictWidth": false, "style": { "classes": "" @@ -2653,7 +4672,7 @@ "render": "auto", "resizable": true, "sort": "none", - "sortable": false, + "sortable": true, "strictWidth": false, "style": { "classes": "" @@ -2721,7 +4740,7 @@ "render": "auto", "resizable": true, "sort": "none", - "sortable": false, + "sortable": true, "strictWidth": false, "style": { "classes": "" @@ -2813,7 +4832,7 @@ "render": "auto", "resizable": true, "sort": "none", - "sortable": false, + "sortable": true, "strictWidth": false, "style": { "classes": "" @@ -5460,8 +7479,7 @@ "tabIndex": 1 }, "props": { - "direction": "column", - "style": {} + "direction": "column" }, "type": "ia.container.flex" } @@ -5475,12 +7493,17 @@ "y": 0.04 }, "propConfig": { + "props.currentTabIndex": { + "onChange": { + "enabled": null, + "script": "\t# Resolve the dropdown once\n\tdropdown \u003d self.parent.getChild(\"Aggregation Mode\").getChild(\"Aggregation Mode DropDown\")\n\t\n\t# Base options\n\toptions \u003d [\n\t {\"value\": \"Count\", \"label\": \"Count\"},\n\t {\"value\": \"Percentage\", \"label\": \"Percentage\"}\n\t]\n\t\n\t# Add \"Rate\" only when the value is truthy (e.g., 1)\n\tif currentValue is not None and getattr(currentValue, \"value\", None):\n\t options.append({\"value\": \"Rate\", \"label\": \"Rate\"})\n\t\n\t# Apply options\n\tdropdown.props.options \u003d options" + } + }, "props.tabs": { "persistent": true } }, "props": { - "currentTabIndex": 1, "menuStyle": { "backgroundColor": "#FFFFFFBD", "fontSize": "1.0vmin", @@ -5557,10 +7580,6 @@ { "label": "Percentage", "value": "Percentage" - }, - { - "label": "Rate", - "value": "Rate" } ], "style": { @@ -7195,7 +9214,7 @@ "style": { "fontSize": "1.5vmin" }, - "value": "Past 30 Min" + "value": "Past 8 Hour" }, "type": "ia.input.dropdown" }, @@ -7354,7 +9373,7 @@ }, "props": { "dismissOnSelect": false, - "formattedValue": "Oct 19, 2025 9:10 PM", + "formattedValue": "Oct 19, 2025 7:02 PM", "formattedValues": { "date": "Mar 26, 2021", "datetime": "Mar 26, 2021 12:00 AM", @@ -7372,9 +9391,9 @@ "$": [ "ts", 192, - 1760895641341 + 1760914943671 ], - "$ts": 1760893841000 + "$ts": 1760886143000 } }, "type": "ia.input.date-time-input" @@ -7525,7 +9544,7 @@ }, "props": { "dismissOnSelect": false, - "formattedValue": "Oct 19, 2025 9:40 PM", + "formattedValue": "Oct 20, 2025 3:02 AM", "formattedValues": { "date": "Mar 29, 2021", "datetime": "Mar 29, 2021 1:37 PM", @@ -7543,9 +9562,9 @@ "$": [ "ts", 192, - 1760895641341 + 1760914943671 ], - "$ts": 1760895641000 + "$ts": 1760914943000 } }, "type": "ia.input.date-time-input" diff --git a/CNO8_SCADA/ignition/event-scripts/data.bin b/CNO8_SCADA/ignition/event-scripts/data.bin index 42a6c96bf5788274e0be6d38a9fc6cef15827ab0..6089003e4716844abca1692a8c50f91f7eb6d717 100644 GIT binary patch literal 2938 zcmV-=3x)I_iwFP!00000|J54Xa@)prWjnD<*L57{;@D2IAtQ^lDTtDMRpQRjBxEz9 zNQH!)cw7y%0#+0(5TJ39%>F~CZ=LoR`qF7XqBHGN|E6z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