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/07/05 09:35:10 UTC

[GitHub] [incubator-echarts] avistheripper opened a new issue #10809: Add possibility to return HTML mark-up from axisLabel.formatter

avistheripper opened a new issue #10809: Add possibility to return HTML mark-up from axisLabel.formatter
URL: https://github.com/apache/incubator-echarts/issues/10809
 
 
   ### What problem does this feature solve?
   My case:
   There is a need to display tooltip with the full name of the yAxis label, since the formatter only return string it is quite impossible
   
   ### What does the proposed API look like?
   ...
   formatter: function(x: string) {
     return `<span title=${x.fullname}>${x.name}</span>`
   }
   ...
   
   <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE -->
   <!-- This issue is in English. DO NOT REMOVE -->

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