Commit 616ab5c4 authored by Darshan M N's avatar Darshan M N
Browse files

Cumulative Visualization has been added

parent f4dfd985
No related merge requests found
Showing with 52 additions and 0 deletions
+52 -0
......@@ -143,5 +143,35 @@
"alwaysView": "",
"insight": {},
"_comment": " "
},
"applicationSubmittedVsInspected": {
"chartName": "Applications Submitted Vs Inspected",
"queries": [
{
"module": "COMMON",
"requestQueryMap": "{\r\n \"ts\" : \"timestamp\"}",
"dateRefField": "timestamp",
"indexName": "fs-forms-data",
"esInstance": "QUADNARY",
"aggrQuery": "{\"aggs\":{\"Application Submission Trend\":{\"date_histogram\":{\"field\":\"timestamp\",\"interval\":\"week\"},\"aggs\":{\"count\":{\"cardinality\":{\"field\":\"_id\"}}}},\"Application Inspection Trend\":{\"date_histogram\":{\"field\":\"inspection.inspectionCompletedDate\",\"interval\":\"week\"},\"aggs\":{\"count\":{\"cardinality\":{\"field\":\"_id\"}}}}}}"
}
],
"chartType": "line",
"resultType": "doc_count",
"valueType": "number",
"isDecimal": true,
"action": "",
"filter": "",
"drillChart": "none",
"documentType": "_doc",
"aggregationPaths": [
"Application Submission Trend",
"Application Inspection Trend"
],
"isCumulative": true,
"interval": "day",
"alwaysView": "",
"insight": {},
"_comment": " "
}
}
\ No newline at end of file
......@@ -128,6 +128,28 @@
"headers": []
}
]
},
{
"id": 111,
"name": "Applications Submitted vs Inspected",
"description": "Gives a contrast of submitted applications and inspected application in a cumulative view",
"dimensions": {
"height": 250,
"width": 4
},
"vizType": "chart",
"noUnit": true,
"isCollapsible": false,
"charts": [
{
"id": "applicationSubmittedVsInspected",
"name": "Applications Submitted vs Inspected",
"code": "",
"chartType": "line",
"filter": "",
"headers": []
}
]
}
]
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment