powerbi-visuals-sankey/capabilities.json

266 строки
8.1 KiB
JSON
Исходник Обычный вид История

{
"dataRoles": [
{
"name": "Source",
"kind": "Grouping",
2017-07-07 15:20:56 +03:00
"displayName": "Source",
"displayNameKey": "Visual_Source"
},
{
"name": "Destination",
"kind": "Grouping",
2017-07-07 15:20:56 +03:00
"displayName": "Destination",
"displayNameKey": "Visual_Destination"
},
{
"name": "DestinationLabels",
"kind": "Grouping",
2017-07-07 15:20:56 +03:00
"displayName": "Destination labels",
"displayNameKey": "Visual_DestinationLabels"
},
{
"name": "SourceLabels",
"kind": "Grouping",
2017-07-07 15:20:56 +03:00
"displayName": "Source labels",
"displayNameKey": "Visual_SourceLabels"
},
{
"name": "Weight",
"kind": "Measure",
2017-07-07 15:20:56 +03:00
"displayName": "Weight",
"displayNameKey": "Visual_Weight"
}
],
"dataViewMappings": [
{
"conditions": [
{
"Source": {
"min": 0,
"max": 1
},
"Destination": {
"min": 0,
"max": 1
},
"SourceLabels": {
"min": 0,
"max": 1
},
"DestinationLabels": {
"min": 0,
"max": 1
},
"Weight": {
"min": 0,
"max": 1
}
}
],
"categorical": {
"categories": {
"select": [
{
"bind": {
"to": "Source"
}
},
{
"bind": {
"to": "Destination"
}
},
{
"bind": {
"to": "SourceLabels"
}
},
{
"bind": {
"to": "DestinationLabels"
}
}
],
"dataReductionAlgorithm": {
"top": {}
}
},
"values": {
"for": {
"in": "Weight"
}
}
}
}
],
"objects": {
"labels": {
"displayName": "Data labels",
2017-07-07 15:20:56 +03:00
"displayNameKey": "Visual_DataPointsLabels",
"properties": {
"show": {
"displayName": "Show",
2017-07-07 15:20:56 +03:00
"displayNameKey": "Visual_Show",
"type": {
"bool": true
}
},
"fill": {
2017-07-07 15:20:56 +03:00
"displayName": "Color",
"displayNameKey": "Visual_LabelsFill",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"fontSize": {
"displayName": "Text Size",
2017-07-07 15:20:56 +03:00
"displayNameKey": "Visual_TextSize",
"type": {
"formatting": {
"fontSize": true
}
}
},
"forceDisplay": {
"displayName": "Force display",
2017-07-07 15:20:56 +03:00
"displayNameKey": "Visual_Force_Display",
"description": "Display all labels anyway",
"type": {
"bool": true
}
},
"unit": {
"displayName": "Display units",
"displayNameKey": "Visual_Display_Units",
"type": {
"formatting": {
"labelDisplayUnits": true
}
}
}
}
},
"linkLabels": {
"displayName": "Data link labels",
"displayNameKey": "Visual_DataPointsLinkLabels",
"properties": {
"show": {
"displayName": "Show",
"displayNameKey": "Visual_Show",
"type": {
"bool": true
}
},
"fill": {
"displayName": "Color",
"displayNameKey": "Visual_LabelsFill",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"fontSize": {
"displayName": "Text Size",
"displayNameKey": "Visual_TextSize",
"type": {
"formatting": {
"fontSize": true
}
}
}
}
},
"links": {
"displayName": "Links",
2017-07-07 15:20:56 +03:00
"displayNameKey": "Visual_Links",
"properties": {
"fill": {
2017-07-07 15:20:56 +03:00
"displayName": "Color",
"displayNameKey": "Visual_LabelsFill",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
}
}
},
"nodes": {
"displayName": "Nodes",
2017-07-07 15:20:56 +03:00
"displayNameKey": "Visual_Nodes",
"properties": {
"fill": {
2017-07-07 15:20:56 +03:00
"displayName": "Color",
"displayNameKey": "Visual_LabelsFill",
"type": {
"fill": {
"solid": {
"color": true
}
}
}
}
}
},
"scaleSettings": {
"displayName": "Scale settings",
"displayNameKey": "Visual_SankeyScaleSettings",
"properties": {
"lnScale": {
"displayName": "Enable logarithmic scale",
"displayNameKey": "Visual_ScaleSettings",
"type": {
"bool": true
}
},
"provideMinHeight": {
"displayName": "Provide min optimal height of node",
"displayNameKey": "Visual_MinOptimalHeight",
"type": {
"bool": true
}
}
}
},
"nodeComplexSettings": {
"displayName": "Sankey settigns",
"displayNameKey": "Visual_SankeySettings",
"properties": {
"nodePositions": {
"displayName": "Node positions",
"displayNameKey": "Visual_NodePositions",
"type": {
"text": true
}
},
"viewportSize": {
"displayName": "Viewport sizes",
"displayNameKey": "Visual_ViewportSize",
"type": {
"text": true
}
}
}
}
},
"sorting": {
"implicit": {
"clauses": [
{
"role": "Weight",
"direction": 1
}
]
}
}
}