F2 icon indicating copy to clipboard operation
F2 copied to clipboard

请问多条折线怎么设置层级问题?

Open Laird8661 opened this issue 4 years ago • 2 comments

三天折线, 需要设置其中一条层级最高,现在支持吗

Laird8661 avatar Jun 07 '21 06:06 Laird8661

请问你解决这个问题了吗 我这边也遇到了同样的问题
chart .line() .position('time*value') .color('channel', (item) => { const idx = idArr.indexOf(item); return colorEnum[idx]; }) .shape('smooth') .style('channel', { zIndex: (channel: any) => { const idx = idArr.indexOf(channel); const indexArr = [99999, 0]; return indexArr[idx] || 0; }, });

looserLiu avatar Jul 26 '21 04:07 looserLiu

文档看了几遍,不行,也不会支持,就因为数据结构特么设计有问题,要层级最高,只能把数据放最后

134355 avatar Aug 15 '22 02:08 134355