85 lines
2.3 KiB
JSON
85 lines
2.3 KiB
JSON
{
|
|
"dataRoles": [
|
|
{
|
|
"displayName": "Category Data",
|
|
"name": "category",
|
|
"kind": "Grouping"
|
|
},
|
|
{
|
|
"displayName": "Measure Data",
|
|
"name": "measure",
|
|
"kind": "Measure"
|
|
}
|
|
],
|
|
"objects": {
|
|
"dataPoint": {
|
|
"displayName": "Data colors",
|
|
"properties": {
|
|
"defaultColor": {
|
|
"displayName": "Default color",
|
|
"type": {
|
|
"fill": {
|
|
"solid": {
|
|
"color": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"showAllDataPoints": {
|
|
"displayName": "Show all",
|
|
"type": {
|
|
"bool": true
|
|
}
|
|
},
|
|
"fill": {
|
|
"displayName": "Fill",
|
|
"type": {
|
|
"fill": {
|
|
"solid": {
|
|
"color": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"fillRule": {
|
|
"displayName": "Color saturation",
|
|
"type": {
|
|
"fill": {}
|
|
}
|
|
},
|
|
"fontSize": {
|
|
"displayName": "Text Size",
|
|
"type": {
|
|
"formatting": {
|
|
"fontSize": true
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"dataViewMappings": [
|
|
{
|
|
"categorical": {
|
|
"categories": {
|
|
"for": {
|
|
"in": "category"
|
|
},
|
|
"dataReductionAlgorithm": {
|
|
"top": {}
|
|
}
|
|
},
|
|
"values": {
|
|
"select": [
|
|
{
|
|
"bind": {
|
|
"to": "measure"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|