powerbi-visuals-dualkpi/capabilities.json

439 строки
12 KiB
JSON

{
"dataRoles": [
{
"displayName": "Axis",
"displayNameKey": "Visual_Axis",
"name": "axis",
"kind": "Grouping"
},
{
"displayName": "Top values",
"displayNameKey": "Visual_TopValues",
"name": "topvalues",
"kind": "Measure",
"requiredTypes": [
{
"numeric": true
},
{
"integer": true
}
]
},
{
"displayName": "Bottom values",
"displayNameKey": "Visual_BottomValues",
"name": "bottomvalues",
"kind": "Measure",
"requiredTypes": [
{
"numeric": true
},
{
"integer": true
}
]
},
{
"displayName": "Warning state",
"displayNameKey": "Visual_WarningState",
"name": "warningstate",
"kind": "Measure"
},
{
"displayName": "Top - % change start date",
"displayNameKey": "Visual_TopPercentDate",
"name": "toppercentdate",
"kind": "Grouping"
},
{
"displayName": "Bottom - % change start date",
"displayNameKey": "Visual_BottomPercentDate",
"name": "bottompercentdate",
"kind": "Grouping"
}
],
"dataViewMappings": [
{
"conditions": [
{
"axis": {
"max": 1
},
"topvalues": {
"max": 1
},
"bottomvalues": {
"max": 1
},
"warningstate": {
"max": 1
},
"toppercentdate": {
"max": 1
},
"bottompercentdate": {
"max": 1
}
}
],
"categorical": {
"categories": {
"dataReductionAlgorithm": {
"top": {
"count": 1000
}
},
"select": [
{
"bind": {
"to": "axis"
}
},
{
"bind": {
"to": "toppercentdate"
}
},
{
"bind": {
"to": "bottompercentdate"
}
}
]
},
"values": {
"select": [
{
"bind": {
"to": "topvalues"
}
},
{
"bind": {
"to": "bottomvalues"
}
},
{
"bind": {
"to": "warningstate"
}
}
]
}
}
}
],
"objects": {
"dualKpiProperties": {
"properties": {
"topChartShow": {
"type": {
"bool": true
}
},
"bottomChartShow": {
"type": {
"bool": true
}
},
"titleText": {
"type": {
"text": true
}
},
"abbreviateValues": {
"type": {
"bool": true
}
},
"abbreviateHoverValues": {
"type": {
"bool": true
}
},
"shortKpiTooltip": {
"type": {
"bool": true
}
},
"hoverDataPercentType": {
"type": {
"enumeration": []
}
},
"topChartToolTipText": {
"type": {
"text": true
}
},
"bottomChartToolTipText": {
"type": {
"text": true
}
},
"warningTooltipText": {
"type": {
"text": true
}
},
"showStaleDataWarning": {
"type": {
"bool": true
}
},
"staleDataTooltipText": {
"type": {
"text": true
}
},
"staleDataThreshold": {
"type": {
"numeric": true
}
},
"topPercentCalcDate": {
"type": {
"text": true
}
},
"bottomPercentCalcDate": {
"type": {
"text": true
}
}
}
},
"dualKpiValues": {
"properties": {
"show": {
"type": {
"bool": true
}
},
"showKpiValuesTop": {
"type": {
"bool": true
}
},
"topChartDefaultKpiValue": {
"type": {
"text": true
}
},
"showKpiValuesBottom": {
"type": {
"bool": true
}
},
"bottomChartDefaultKpiValue": {
"type": {
"text": true
}
}
}
},
"dualKpiTitleFormatting": {
"properties": {
"upperCase": {
"type": {
"bool": true
}
},
"fontSizeAutoFormatting": {
"type": {
"bool": true
}
},
"fontSize": {
"type": {
"formatting": {
"fontSize": true
}
}
},
"isBold": {
"type": {
"bool": true
}
},
"isItalic": {
"type": {
"bool": true
}
},
"isUnderline": {
"type": {
"bool": true
}
},
"fontFamily": {
"type": {
"formatting": {
"fontFamily": true
}
}
}
}
},
"dualKpiValueFormatting": {
"properties": {
"fontSizeAutoFormatting": {
"type": {
"bool": true
}
},
"fontSize": {
"type": {
"formatting": {
"fontSize": true
}
}
},
"isBold": {
"type": {
"bool": true
}
},
"isItalic": {
"type": {
"bool": true
}
},
"isUnderline": {
"type": {
"bool": true
}
},
"fontFamily": {
"type": {
"formatting": {
"fontFamily": true
}
}
},
"displayUnits": {
"type": {
"formatting": {
"labelDisplayUnits": true
}
}
},
"precision": {
"type": {
"numeric": true
},
"placeHolderText": "Auto"
}
}
},
"dualKpiColors": {
"properties": {
"dataColor": {
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"textColor": {
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"opacity": {
"type": {
"numeric": true
}
}
}
},
"dualKpiColorsBottom": {
"properties": {
"matchTopChartOptions": {
"type": {
"bool": true
}
},
"dataColor": {
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"textColor": {
"type": {
"fill": {
"solid": {
"color": true
}
}
}
},
"opacity": {
"type": {
"numeric": true
}
}
}
},
"dualKpiAxis": {
"properties": {
"topChartAxisMin": {
"type": {
"numeric": true
}
},
"topChartAxisMax": {
"type": {
"numeric": true
}
},
"bottomChartAxisMin": {
"type": {
"numeric": true
}
},
"bottomChartAxisMax": {
"type": {
"numeric": true
}
},
"topChartZeroLine": {
"type": {
"bool": true
}
},
"bottomChartZeroLine": {
"type": {
"bool": true
}
}
}
},
"dualKpiChart": {
"properties": {
"topChartType": {
"type": {
"enumeration": []
}
},
"bottomChartType": {
"type": {
"enumeration": []
}
}
}
}
},
"privileges": []
}