-
Notifications
You must be signed in to change notification settings - Fork 2
Configuration
The most straightforward way to customize the CRF Heat Map is by using a configuration object whose properties describe the behavior and appearance of the chart. Since the CRF Heat Map is a Webcharts table
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 CRF Heat Map to facilitate data mapping and other custom functionality. These custom settings are described in detail below and are set in the rendererSettings.js file. All defaults can be overwritten by users.
The sections below describe each crf-heat-map setting as of version 1.0.0.
array
an array of objects specifying the variables to nest the data by for calculations
default:
undefined
string
Value Column
default: none
string
Label
default: none
boolean
Default Nesting
default: none
array
binary flag variables that capture some status related to the case report form (CRF)
default:
undefined
array
variables in the data with which to filter the data
default:
undefined
boolean
displays cell annotations always or only on hover
default: true
boolean
expands all nests so that no rows are hidden
default: false
The object below contains each Webcharts setting as of version 1.0.0.
{
return {
cols: null,
headers: [
'ID',
'Entered',
'Source Data Verified',
'Ready for Freeze',
'Frozen',
'Signed',
'Locked',
'Open',
'Answered'
],
applyCSS: true,
searchable: false,
sortable: false,
pagination: false,
exportable: true,
exports: ['csv']
};
}
}