You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: en/option/series/custom.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ chart.on('click', {element: 'aaa'}, function (params) {
113
113
none = true
114
114
) }}
115
115
116
-
## renderItem(Function)
116
+
## renderItem(Function|string)
117
117
118
118
{{ use: partial-custom-renderItem-common() }}
119
119
@@ -493,7 +493,7 @@ Value of data item.
493
493
494
494
{{ target: partial-custom-renderItem-common }}
495
495
496
-
`custom series` requires developers to write a render logic by themselves. This render logic is called [renderItem](~series-custom.renderItem).
496
+
`custom series` requires developers to write a rendering logic by themselves in the form of `Function`, or use a registered rendering logic in the form of `string` (since `v6.0.0`; See [echarts.registerCustomSeries](api.html#echarts.registerCustomSeries) for more information). This render logic is called [renderItem](~series-custom.renderItem).
0 commit comments