You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@echarts.apache.org by GitBox <gi...@apache.org> on 2019/05/31 10:36:09 UTC

[GitHub] [incubator-echarts] huanledeniuduzi opened a new issue #10594: echarts2.0自定义图片热力图问题

huanledeniuduzi opened a new issue #10594: echarts2.0自定义图片热力图问题
URL: https://github.com/apache/incubator-echarts/issues/10594
 
 
   请问我用echarts2.0写了一个自定义图片的热力图,数据源位置是点距左边和上边的距离,我想实现自己控制热力图的最大值和最小值,以及如何实现鼠标移到热力点位置时出现该热力点的描述信息?谢谢
   数据格式为:
    ["1881", "2202", 0.2742822625017776, "热力点描述信息"]
   option = {
   		title : {
   			text: ''
   		},
   		series : [
   			{
   				type : 'heatmap',
   				data : heatDatas,
   				hoverable : true,
   				gradientColors: [{
   					offset: 0.2,
   					color: '#36FF02'
   				}, {
   					offset: 0.4,
   					color: '#547CED'
   				}, {
   					offset: 0.6,
   					color: '#EF84ED'
   				}, {
   					offset: 0.8,
   					color: '#DB7300'
   				}, {
   					offset: 1,
   					color: '#FF4D47'
   				}],
   				minAlpha: 0.2,
   				valueScale: 2,
   				opacity: 0.6
   			}
   		]
   	};
   

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


With regards,
Apache Git Services

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