We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36c1c59 commit 03276b8Copy full SHA for 03276b8
src/coord/cartesian/Grid.ts
@@ -587,9 +587,8 @@ class Grid implements CoordinateSystemMaster {
587
if (!item) {
588
return;
589
}
590
- const items = isObject(item) && !item.coord && !item.xAxis && !item.yAxis
591
- ? (Array.isArray(item) ? item : [item])
592
- : [item];
+ const items = isObject(item) && !item.coord && !item.xAxis && !item.yAxis && Array.isArray(item)
+ ? item : [item];
593
594
each(items, function (markerItem) {
595
if (!markerItem) {
0 commit comments