feat(tsl-api-reference): expand API and module coverage

This commit is contained in:
csh
2026-08-14 17:12:55 +08:00
parent 8f1056130d
commit 3d3036ebe1
571 changed files with 47842 additions and 14458 deletions
@@ -500,7 +500,7 @@ echo length(graph_array), ",", length(graph_group_prop);
返回:string
## `graph(_type, graph_name, data, prop1, prop1_value, prop2, prop2_value, ..., prop_n, prop_n_value)`
## `graph(_type, graph_name, data, ...)`
声明:function
@@ -508,18 +508,12 @@ echo length(graph_array), ",", length(graph_group_prop);
<!-- tags: 图形对象 图形 图表 graph 对象 实例 object -->
| 参数 | 类型 | 说明 |
| -------------- | ---------- | ---- |
| `_type` | integer | |
| `graph_name` | string | |
| `data` | tablearray | |
| `prop1` | string | |
| `prop1_value` | any | |
| `prop2` | string | |
| `prop2_value` | any | |
| `...` | | |
| `prop_n` | string | |
| `prop_n_value` | any | |
| 参数 | 类型 | 说明 |
| ------------ | ---------- | -------------------------------------------- |
| `_type` | integer | 图形类型 |
| `graph_name` | string | 图形名称 |
| `data` | tablearray | 作图数据 |
| `...` | any | 可选。按“属性名称、属性值”成对传入的图形属性 |
返回:tgraph
@@ -584,7 +578,7 @@ g3 := graph(gtLine(), 'MA20', g_data3, gfColor(), clRed());
return graphGroup(g1, g2, g3);
```
## `graphGroup(graph1, graph_n, prop_m, value_m)`
## `graphGroup(graph_1, ...)`
声明:function
@@ -592,12 +586,10 @@ return graphGroup(g1, g2, g3);
<!-- tags: 图形对象 图形 图表 graph 对象 实例 object -->
| 参数 | 类型 | 说明 |
| --------- | ------ | -------------------------- |
| `graph1` | tgraph | TGraph 图形1 |
| `graph_n` | tgraph | TGraph 图形N |
| `prop_m` | string | 可选。TGraphGroup 属性名称 |
| `value_m` | any | 可选。TGraphGroup 属性值 |
| 参数 | 类型 | 说明 |
| --------- | ----------- | -------------------------------------------------------------- |
| `graph_1` | tgraph | 第一个图形 |
| `...` | tgraph\|any | 可选。后续图形,以及按“属性名称、属性值”成对传入的图形组合属性 |
返回:tgraphgroup