syinpoSlicer/capabilities.json

165 lines
4.5 KiB
JSON
Raw Normal View History

2020-04-25 01:23:56 +08:00
{
"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": {
"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"
}
}
]
}
}
}
]
}