{ "supportsSynchronizingFilterState": true, "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": { "general": { "displayName": "General", "displayNameKey": "Formatting-General", "properties": { "filter": { "type": { "filter": true } }, "selfFilter": { "type": { "filter": { "selfFilter": false } } } } }, "slicerHeader": { "displayName": "Slicer header", "displayNameKey":"Formatting-SicerHeader", "properties": { "fontColor": { "displayName": "Font color", "type": { "fill": { "solid": { "color": true } } } }, "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" } ] } }, "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 } } } } }, "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 } } } } }, "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" } } ] } } } ] }