plainheart commented on issue #12635: URL: https://github.com/apache/incubator-echarts/issues/12635#issuecomment-629076048
Maybe this is a new feature but not a bug. From the source code, we can get a tip in `getVisualGradient` method at [line 163](https://github.com/apache/incubator-echarts/blob/master/src/chart/line/LineView.js#L132) below https://github.com/apache/incubator-echarts/blob/baa6ea6e77e40359e70f094f87c28fb618e26897/src/chart/line/LineView.js#L132-L166 ```js Visual map on line style only support x or y dimension. ``` The dimension is `value` in you case, so the right result has gone. Currently, it seems that data can only be [x, y] or [value...] but not [x, y, another dimension...] Just Like the [example](https://echarts.apache.org/examples/zh/editor.html?c=line-aqi) above. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
