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/07/16 03:36:37 UTC

[GitHub] [incubator-echarts] plainheart commented on issue #12975: about /scatter-visualMap-piecewise

plainheart commented on issue #12975:
URL: https://github.com/apache/incubator-echarts/issues/12975#issuecomment-659138003


   这个与先前的 #12370, #8973, #10023, #12475 应该属于同一类问题,曾经在 #11973 中讨论过修复方法,不过似乎还未有定论和修复计划,暂时可以通过以下2种方式规避:
   1) 使用 [`tooltip.formatter`](https://echarts.apache.org/zh/option.html#tooltip.formatter)
   2) 使用 [`series.encode`](https://echarts.apache.org/zh/option.html#series-scatter.encode),这个解决方案之前有提过PR,可以参考 ecomfe/echarts-examples#20。
   ```js
   encode: {
     value: 2
   }
   ```
   或者
   ```js
   encode: {
     tooltip: [2]
   }
   ```


----------------------------------------------------------------
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