You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "rjyunis (via GitHub)" <gi...@apache.org> on 2023/03/29 06:31:19 UTC
[GitHub] [echarts] rjyunis commented on issue #18439: [Feature] Create a continuous VisualMap with log distribution
rjyunis commented on issue #18439:
URL: https://github.com/apache/echarts/issues/18439#issuecomment-1488018086
Workaround I have discovered:
Take the log of the Z data, then
```
visualMap: {
formatter: function (value){ return Math.E**value }
},
//...
tooltip:{
"valueFormatter": (value) => Math.E**value
}
```
This is messy, but it will get the job done for a basic heatmap where the values aren't shown except on the tooltop and visualMap.
--
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.
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
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