create_chart
ActiveTool of QuintaDB
declared in 1.0.0
Створити графік. type_code: line, bar, pie, doughnut, area, scatter. axis_l: mth (по місяцях), field (по полю), або числовий діапазон. data_sources — масив серій даних.
Parameters schema
{
"type": "object",
"required": [
"app_id",
"name",
"type_code"
],
"properties": {
"name": {
"type": "string",
"description": "Display name"
},
"order": {
"type": "string",
"description": "asc або desc"
},
"app_id": {
"type": "string",
"description": "Project ID (from list_projects)"
},
"axis_l": {
"type": "string",
"description": "mth=по місяцях, field=по полю"
},
"entity_id": {
"type": "string",
"description": "ID форми для X-осі"
},
"type_code": {
"type": "string",
"description": "line, bar, pie, doughnut, area, scatter"
},
"property_id": {
"type": "string",
"description": "Поле для групування (ID або назва)"
},
"data_sources": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Назва серії"
},
"color": {
"type": "string",
"description": "Колір (#hex)"
},
"entity_id": {
"type": "string",
"description": "ID форми"
},
"property_id": {
"type": "string",
"description": "Числове поле для Y-осі"
}
}
},
"description": "Серії даних (лінії/стовпці)"
},
"y_axis_title": {
"type": "string"
}
}
}No endpoints wrapped at confidence ≥ 0.70.
Parent server
QuintaDB
1/7 registries