mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.4 KiB
48 lines
1.4 KiB
{
|
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
"$id": "dashboard-number-descriptor.schema.json",
|
|
"title": "DashboardNumberDescriptor",
|
|
"description": "Configuration for a number/KPI visualization",
|
|
"type": "object",
|
|
"properties": {
|
|
"aggregation": {
|
|
"$ref": "dashboard-aggregation-type.schema.json"
|
|
},
|
|
"aggregationProperty": {
|
|
"type": "string",
|
|
"description": "Property name for sum/average/min/max aggregations"
|
|
},
|
|
"format": {
|
|
"type": "string",
|
|
"enum": ["number", "currency", "percentage"],
|
|
"default": "number"
|
|
},
|
|
"color": {
|
|
"type": "string",
|
|
"description": "Display color name (blue, green, red, purple, orange, indigo, amber, teal)"
|
|
},
|
|
"useBackgroundColor": {
|
|
"type": "boolean",
|
|
"default": false
|
|
},
|
|
"conditionalColors": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"operator": {
|
|
"type": "string",
|
|
"enum": ["greaterThan", "lessThan", "equals", "between"]
|
|
},
|
|
"value": { "type": "number" },
|
|
"valueTo": { "type": "number" },
|
|
"color": { "type": "string" }
|
|
},
|
|
"required": ["operator", "value", "color"],
|
|
"additionalProperties": false
|
|
}
|
|
}
|
|
},
|
|
"required": ["aggregation"],
|
|
"additionalProperties": false
|
|
}
|
|
|