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/08/13 04:49:33 UTC

[GitHub] [incubator-echarts] plainheart edited a comment on issue #13116: How add background Image for label of markLine

plainheart edited a comment on issue #13116:
URL: https://github.com/apache/incubator-echarts/issues/13116#issuecomment-673253494


   You could configure like [`series.label.backgroundColor`](https://echarts.apache.org/en/option.html#series-line.label.backgroundColor).
   Although `markerLine.label.backgroundColor` is missing in the documentation, it still works.
   
   ```js
   backgroundColor: {
       image: 'xxx/xxx.png'
       // It can be URL of a image,
       // or dataURI,
       // or HTMLImageElement,
       // or HTMLCanvasElement.
   }
   ```


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