powerbi-visuals-sankey/capabilities.json

240 строки
6.3 KiB
JSON

{
"dataRoles": [
{
"name": "Source",
"kind": "Grouping",
"displayName": "Source",
"displayNameKey": "Visual_Source"
},
{
"name": "Destination",
"kind": "GroupingOrMeasure",
"displayName": "Destination",
"displayNameKey": "Visual_Destination"
},
{
"name": "Weight",
"kind": "Measure",
"displayName": "Weight",
"displayNameKey": "Visual_Weight",
"requiredTypes": [
{
"numeric": true
}
]
},
{
"name": "SourceLabels",
"kind": "Measure",
"displayName": "Source labels",
"displayNameKey": "Visual_SourceLabels"
}
],
"dataViewMappings": [
{
"conditions": [
{
"Source": {
"min": 1,
"max": 1
},
"Destination": {
"min": 0,
"max": 1
},
"SourceLabels": {
"min": 0,
"max": 1
},
"Weight": {
"min": 0,
"max": 1
}
}
],
"matrix": {
"rows": {
"select": [
{
"for": {
"in": "Source"
}
},
{
"bind": {
"to": "Destination"
}
}
]
},
"values": {
"select": [
{
"for": {
"in": "SourceLabels"
}
},
{
"for": {
"in": "Weight"
}
}
]
}
}
}
],
"objects": {
"labels": {
"properties": {
"show": {
"type": {
"bool": true
}
},
"fill": {
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"fontFamily": {
"type": {
"formatting": {
"fontFamily": true
}
}
},
"fontSize": {
"type": {
"formatting": {
"fontSize": true
}
}
},
"forceDisplay": {
"type": {
"bool": true
}
},
"unit": {
"type": {
"formatting": {
"labelDisplayUnits": true
}
}
}
}
},
"linkLabels": {
"properties": {
"show": {
"type": {
"bool": true
}
},
"fill": {
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"fontSize": {
"type": {
"formatting": {
"fontSize": true
}
}
}
}
},
"links": {
"properties": {
"fill": {
"type": {
"fill": {
"solid": {
"color": true
}
}
}
}
}
},
"nodes": {
"properties": {
"fill": {
"type": {
"fill": {
"solid": {
"color": true
}
}
}
}
}
},
"scaleSettings": {
"properties": {
"lnScale": {
"type": {
"bool": true
}
},
"provideMinHeight": {
"type": {
"bool": true
}
}
}
},
"nodeComplexSettings": {
"properties": {
"nodePositions": {
"type": {
"text": true
}
},
"viewportSize": {
"type": {
"text": true
}
}
}
},
"cyclesLinks":{
"properties": {
"drawCycles": {
"type": {
"enumeration": []
}
},
"selfLinksWeight": {
"type": {
"bool": true
}
}
}
}
},
"sorting": {
"implicit": {
"clauses": [
{
"role": "Weight",
"direction": 1
}
]
}
},
"supportsKeyboardFocus": true,
"supportsSynchronizingFilterState": true,
"privileges": []
}