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/10/29 10:19:26 UTC

[GitHub] [incubator-echarts] Vignesvar-ap commented on issue #13492: how to display additional information in the sankey chart tooltips

Vignesvar-ap commented on issue #13492:
URL: https://github.com/apache/incubator-echarts/issues/13492#issuecomment-718597219


   Hi, 
   Thanks for your response, I have tried the callback function parameter but the tooltip is not visible in the front-end chart now. It has display earlier. Please find the sample code I have used in the JS file. 
   
   formatter: function(param, ticket, callback){
   			// console.log("param"+JSON.parse(param.dta.source[0]));
   			//	return `${param.source} -> ${param.target} : ${value}`;
   				for(var i=0; i<param.length; i++){
   				console.log("param -> "+param[i].value);
   					return param[i].value;
   				}
   				
   			}
   Please let me know where I did a mistake here. 


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