@@ -72,9 +72,9 @@ scatterPlot.render();
72
72
73
73
点大小映射对应的数据字段名。
74
74
75
- #### size
75
+ #### size
76
76
77
- <description >** optional** \_ number | [ number, number] | Function _ </description >
77
+ <description >** optional** \_ number | [ number, number] | Function \_ </description >
78
78
79
79
[ ** DEMO1** ] ( ../../scatter/basic#color-mapping )
80
80
@@ -106,7 +106,7 @@ scatterPlot.render();
106
106
107
107
点形状映射对应的数据字段名。
108
108
109
- #### shape
109
+ #### shape
110
110
111
111
<description >** optional** \_ string | string[ ] | Function\_ </description >
112
112
@@ -139,7 +139,7 @@ scatterPlot.render();
139
139
}
140
140
```
141
141
142
- #### pointStyle
142
+ #### pointStyle
143
143
144
144
<description >** optional** _ object_ </description >
145
145
@@ -192,6 +192,48 @@ scatterPlot.render();
192
192
193
193
` markdown:docs/common/component.en.md `
194
194
195
+ #### quadrant
196
+
197
+ [ ** DEMO** ] ( ../../scatter/basic#quadrant )
198
+
199
+ <description >** optional** _ object_ </description >
200
+
201
+ 四象限组件。
202
+
203
+ | 细分配置 | 类型 | 功能描述 |
204
+ | ----------- | -------- | ------------------------------------------ |
205
+ | xBaseline | number | x 方向上的象限分割基准线,默认为 0 |
206
+ | yBaseline | number | y 方向上的象限分割基准线,默认为 0 |
207
+ | lineStyle | object | 配置象限分割线的样式,详细配置参考绘图属性 |
208
+ | regionStyle | object[ ] | 象限样式,详细配置参考绘图属性 |
209
+ | labels | object[ ] | 象限文本配置,详细配置参考绘图属性 |
210
+
211
+ #### regressionLine
212
+
213
+ [ ** DEMO** ] ( ../../scatter/basic#line )
214
+
215
+ <description >** optional** _ object_ </description >
216
+
217
+ 回归线。
218
+
219
+ | 细分配置 | 类型 | 功能描述 |
220
+ | --------- | ------------------------------------------------------------------- | ---------------------------------------------------------------- |
221
+ | type | string | 回归线类型, exp \| linear \| loess \| log \| poly \| pow \| quad |
222
+ | style | object | 配置回归线样式,详细配置参考绘图属性 |
223
+ | algorithm | Array<[ number, number] > \| ((data: any) => Array<[ number, number] >) | 自定义算法,优先级高于 type |
224
+
225
+ ``` ts
226
+ regressionLine : {
227
+ algorithm : () => {
228
+ return [
229
+ [8 , 6 ],
230
+ [16 , 7 ],
231
+ [24 , 7 ],
232
+ ];
233
+ },
234
+ }
235
+ ```
236
+
195
237
### Event
196
238
197
239
` markdown:docs/common/events.en.md `
0 commit comments