2020-04-25 01:23:56 +08:00
|
|
|
{
|
2020-05-03 23:50:25 +08:00
|
|
|
"supportsSynchronizingFilterState": true,
|
2020-04-25 01:23:56 +08:00
|
|
|
"dataRoles": [
|
|
|
|
{
|
|
|
|
"displayName": "Field",
|
|
|
|
"name": "field",
|
|
|
|
"kind": "Grouping",
|
|
|
|
"requiredTypes": [
|
|
|
|
{
|
|
|
|
"text":true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"integer": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"numeric": true
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"preferredTypes": [
|
|
|
|
{
|
|
|
|
"integer":true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"numeric": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"text": true
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayName": "Default Select",
|
|
|
|
"name": "defaultSelect",
|
|
|
|
"kind": "Measure"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayName": "Default Start",
|
|
|
|
"name": "defaultStart",
|
|
|
|
"kind": "Measure"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"displayName": "Default End",
|
|
|
|
"name":"defaultEnd",
|
|
|
|
"kind":"Measure"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"objects": {
|
2020-04-27 23:44:05 +08:00
|
|
|
"general": {
|
|
|
|
"displayName": "General",
|
2020-05-03 02:27:08 +08:00
|
|
|
"displayNameKey": "Formatting-General",
|
2020-04-27 23:44:05 +08:00
|
|
|
"properties": {
|
|
|
|
"filter": {
|
|
|
|
"type": {
|
|
|
|
"filter": true
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"selfFilter": {
|
|
|
|
"type": {
|
|
|
|
"filter": {
|
|
|
|
"selfFilter": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-05-03 02:27:08 +08:00
|
|
|
"slicerHeader": {
|
|
|
|
"displayName": "Slicer header",
|
|
|
|
"displayNameKey":"Formatting-SicerHeader",
|
2020-04-25 01:23:56 +08:00
|
|
|
"properties": {
|
2020-05-03 02:27:08 +08:00
|
|
|
"fontColor": {
|
|
|
|
"displayName": "Font color",
|
2020-04-25 01:23:56 +08:00
|
|
|
"type": {
|
|
|
|
"fill": {
|
|
|
|
"solid": {
|
|
|
|
"color": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
2020-05-03 02:27:08 +08:00
|
|
|
"backgroundColor": {
|
|
|
|
"displayName": "Background color",
|
|
|
|
"type": {
|
|
|
|
"fill": {
|
|
|
|
"solid": {
|
|
|
|
"color": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"outline":{
|
|
|
|
"displayName": "Outline",
|
|
|
|
"type": {
|
|
|
|
"enumeration": [
|
|
|
|
{
|
|
|
|
"value": "0",
|
|
|
|
"displayName": "None",
|
|
|
|
"displayNameKey": "Formatting_Outline_None"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "1",
|
|
|
|
"displayName": "Bottom only",
|
|
|
|
"displayNameKey": "Formatting_Outline_BottomOnly"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "2",
|
|
|
|
"displayName": "Top only",
|
|
|
|
"displayNameKey": "Formatting_Outline_TopOnly"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "3",
|
|
|
|
"displayName": "Left only",
|
|
|
|
"displayNameKey": "Formatting_Outline_LeftOnly"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "4",
|
|
|
|
"displayName": "Right only",
|
|
|
|
"displayNameKey": "Formatting_Outline_RightOnly"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "5",
|
|
|
|
"displayName": "Top + bottom",
|
|
|
|
"displayNameKey": "Formatting_Outline_TopAndBottom"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "6",
|
|
|
|
"displayName": "Left + right",
|
|
|
|
"displayNameKey": "Formatting_Outline_LeftAndRight"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "7",
|
|
|
|
"displayName": "Frame",
|
|
|
|
"displayNameKey": "Formatting_Outline_Frame"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
2020-04-25 01:23:56 +08:00
|
|
|
"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
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-05-03 02:27:08 +08:00
|
|
|
},
|
|
|
|
"items":{
|
|
|
|
"displayName": "Items",
|
|
|
|
"displayNameKey": "Formatting_Items",
|
|
|
|
"properties": {
|
|
|
|
"fontColor": {
|
|
|
|
"displayName": "Font color",
|
|
|
|
"displayNameKey": "Formatting_Items_FontColor",
|
|
|
|
"type": {
|
|
|
|
"fill": {
|
|
|
|
"solid": {
|
|
|
|
"color": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"backgroundColor": {
|
|
|
|
"displayName": "Background color",
|
|
|
|
"displayNameKey": "Formatting_Items_BackgroundColor",
|
|
|
|
|
|
|
|
"type": {
|
|
|
|
"fill": {
|
|
|
|
"solid": {
|
|
|
|
"color": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"outline":{
|
|
|
|
"displayName": "Outline",
|
|
|
|
"displayNameKey": "Formatting_Items_Outline",
|
|
|
|
"type": {
|
|
|
|
"enumeration": [
|
|
|
|
{
|
|
|
|
"value": "0",
|
|
|
|
"displayName": "None",
|
|
|
|
"displayNameKey": "Formatting_Outline_None"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "1",
|
|
|
|
"displayName": "Bottom only",
|
|
|
|
"displayNameKey": "Formatting_Outline_BottomOnly"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "2",
|
|
|
|
"displayName": "Top only",
|
|
|
|
"displayNameKey": "Formatting_Outline_TopOnly"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "3",
|
|
|
|
"displayName": "Left only",
|
|
|
|
"displayNameKey": "Formatting_Outline_LeftOnly"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "4",
|
|
|
|
"displayName": "Right only",
|
|
|
|
"displayNameKey": "Formatting_Outline_RightOnly"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "5",
|
|
|
|
"displayName": "Top + bottom",
|
|
|
|
"displayNameKey": "Formatting_Outline_TopAndBottom"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "6",
|
|
|
|
"displayName": "Left + right",
|
|
|
|
"displayNameKey": "Formatting_Outline_LeftAndRight"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"value": "7",
|
|
|
|
"displayName": "Frame",
|
|
|
|
"displayNameKey": "Formatting_Outline_Frame"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"textSize":{
|
|
|
|
"displayName": "Text size",
|
|
|
|
"displayNameKey": "Formatting_Items_TextSize",
|
|
|
|
"type":{
|
|
|
|
"integer": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-04-25 01:23:56 +08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"dataViewMappings": [
|
|
|
|
{
|
|
|
|
"conditions": [
|
|
|
|
{
|
|
|
|
"field":{
|
|
|
|
"max": 1,
|
|
|
|
"min": 1
|
|
|
|
},
|
|
|
|
"defaultSelect":{
|
|
|
|
"max": 1,
|
|
|
|
"min": 0
|
|
|
|
},
|
|
|
|
"defaultStart":{
|
|
|
|
"max": 0,
|
|
|
|
"min": 0
|
|
|
|
},
|
|
|
|
"defaultEnd":{
|
|
|
|
"max": 0,
|
|
|
|
"min": 0
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"field":{
|
|
|
|
"max": 1,
|
|
|
|
"min": 1
|
|
|
|
},
|
|
|
|
"defaultSelect":{
|
|
|
|
"max": 0,
|
|
|
|
"min": 0
|
|
|
|
},
|
|
|
|
"defaultStart":{
|
|
|
|
"max": 1,
|
|
|
|
"min": 0
|
|
|
|
},
|
|
|
|
"defaultEnd":{
|
|
|
|
"max": 1,
|
|
|
|
"min": 0
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"categorical": {
|
|
|
|
"categories": {
|
|
|
|
"for": {
|
|
|
|
"in": "field"
|
|
|
|
},
|
|
|
|
"dataReductionAlgorithm": {
|
|
|
|
"top": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"values": {
|
|
|
|
"select": [
|
|
|
|
{
|
|
|
|
"bind": {
|
|
|
|
"to": "defaultSelect"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"bind": {
|
|
|
|
"to": "defaultStart"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"bind": {
|
|
|
|
"to": "defaultEnd"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|