dirslashls opened a new issue #16781:
URL: https://github.com/apache/echarts/issues/16781


   ### What problem does this feature solve?
   
   This was asked at #13778 and a file was pointed. However, I couldn't find it 
available in the published API.
   
   I like the 5.0 tooltip formatter and I want to make use of it as is. 
However, I do want to augment it with some additional content around. So, I was 
hoping to first get the default tooltip and then add it into an existing DOM.
   
   ### What does the proposed API look like?
   
   One way I can think of is add the default formatter to the params argument. 
Then one could write 
   
   formatter: (params) => {
      const tooltip = params.defaultFormatter(params);
      // do som stuff and return the final tooltip
   }


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to