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/11/10 06:08:00 UTC

[GitHub] [incubator-echarts] mmm2006 edited a comment on issue #13269: Style MarkLine label background

mmm2006 edited a comment on issue #13269:
URL: https://github.com/apache/incubator-echarts/issues/13269#issuecomment-724478251


   hello, I just want to know whether height and weight is supported in markline. In your upper setting,  I just find height and weight, But it don't work in my test. I also want to add  html tag and css attributes in my formatter: function(value),just like below,
   
   `
        formatter: function (param) {	
        	var text = '';
           text += '<div style="display:flex;flex-direction:row;">'+
           			'<div style="background-color:#03D16D;height:auto;width:10px;margin-right:5px;"></div>'+
   	        		'<div style="display:flex;flex-direction:column;">'+
   	        			'<span>'+ param[0].value+'</span>'+
   	        			'<span>'+ param[0].axisValue+'</span>'
   	                '</div>'
   	            '</div>'
          return text;
       }
   `
   But it just show a string. Please tell me how to support html and css in markline. Thanks.
   
   br
   


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