Marker
Description
Letter Marker display a data which is configured and showing a details of that data.
Attributes
tile=markertitle: marker titlemarker: [Object]color: Hex color of letter marker by default it's orangemark: Mark Letter by default it is 'A'dispatch: [Object] Provide a dispatches detailstracker: tracker iddata: [Object]meal: matches with connects match metric
features: [Object]{ time: hidden }
prescription: Provide tracker id. Uses this when alternate source is not provided.maintenance: Provide tracker id. Uses this when alternate source is provided.name: suffix | prefixcondition: ruleprefix: Used to get the data from dispatch valuestext: mark letter colorinteractive: true | false. Based on that display a icon button in the marker card. default is true.
metrics: [Array of metric tuples]display string: indicate the titlematch string: indicate the pathlabel: indicate the notation
connect: Connection objectsmatch: [Object]date: valid date format to filter the datametric: dispatch values pathvalue: to match with the dispatches values
source: data source path
alternate:source: alternate source pathmatch: [Object]date: valid date format to filter the datametric: dispatch value pathvalue: to match with the dispatches values
condition: valid condition rule
Example
{
"tile": "marker",
"title": "Marker Test",
"marker": {
"condition": "user is admin",
"mark": "$",
"maintenance": "7ba9a7b5-c5c8-420e-8c49-58e2c962205d",
"prescription": "7ba9a7b5-c5c8-420e-8c49-58e2c962205d",
"prefix": "sleep",
"interactive": false
},
"connect": {
"match": {
"date": "YYYY-MM-DD",
"metric": "sleep",
"value": 7
},
"source": "wellness"
},
"metrics": [
[
"Test 1",
"",
""
],
[
"Test 2",
"",
""
]
],
"dispatch": {
"tracker": "7ba9a7b5-c5c8-420e-8c49-58e2c962205d",
"data": {
"meal": "sleep"
}
}
}