You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2020/05/15 08:15:06 UTC

[GitHub] [incubator-echarts] plainheart edited a comment on issue #12635: Colorize the line between categories

plainheart edited a comment 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#L163)  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:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org