-
Notifications
You must be signed in to change notification settings - Fork 0
Visit Completion Configuration
The most straightforward way to customize the visit completion chart is by using a configuration object whose properties describe the behavior and appearance of the chart. Since the visit completion chart is a Webcharts chart
object, many default Webcharts settings are set in the webchartsSettings.js file as described below. Refer to the Webcharts documentation for more details on these settings.
In addition to the standard Webcharts settings several custom settings not available in the base Webcharts library have been added to the visit completion chart to facilitate data mapping and other custom functionality. These custom settings are described in detail below. All defaults can be overwritten by users.
The sections below describe each visit-completion setting as of version 0.1.0.
string
variable: site
default: "site"
string
variable: visit
default: "visit"
string
variable: visit order
default: "visit_order"
string
variable: visit status
default: "status"
string
variable: visit status order
default: "status_order"
string
variable: visit status color
default: "status_color"
The object below contains each Webcharts setting as of version 0.1.0.
{
"x": {
"label": "",
"type": "ordinal",
"column": null
},
"y": {
"label": "",
"type": "linear",
"column": null,
"behavior": "flex",
"domain": [
0,
null
]
},
"marks": [
{
"type": "bar",
"per": [],
"summarizeY": "count",
"tooltip": null,
"split": null,
"arrange": "stacked"
}
],
"color_by": null,
"color_dom": null,
"colors": null,
"legend": {
"label": "",
"order": null
},
"resizable": false,
"width": 500,
"height": 350,
"margin": {
"left": 50
}
}
Accrual
Accrual over Time
Accrual over Time (derived)
Visit Completion
Queries
Forms