{ "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": "formattingGeneral", "properties": { "filter": { "type": { "filter": true } }, "selfFilter": { "type": { "filter": { "selfFilter": false } } } } }, "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": [ { "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" } } ] } } } ] }