Thanks a lot for providing the examples, Zhongxiang. I appreciate it.

On 2020/06/10 04:34:07, plainheart <y...@all-my-life.cn> wrote: 
> Hi Dhiraj,
> 
> It seems that there has no such a direct, simple and practical to achieve 
> this requirement. If use `axisLabel.rich.backgroundColor`, which is a bit 
> complicated, we will have to set the `distance` as a more big number to avoid 
> overlap between label text and icon, just like this example: 
> https://gallery.echartsjs.com/editor.html?c=xTMW-4dbNS&v=2
> 
> 
> 
> And there is also a hack for this, which is not recommented to be used in 
> production.
> https://codepen.io/plainheart/pen/wvMMobP
> 
> 
> 
> Thanks,
> Zhongxiang.
> 
> On 2020/06/10 00:27:20, Dhiraj Bodicherla <d...@gitlab.com.INVALID> wrote: 
> > Hello,> 
> > 
> > I'm trying to place an icon next to axis label in Gauge series. I tried 
> > using the axisLabel formatter but that doesn’t provide a way to place an 
> > image next to the axisLabel.> 
> > 
> > I also tried using the markPoint this way> 
> > 
> > markPoint: {> 
> >   data: [> 
> >     {> 
> >          value: [0, 50],> 
> >          symbol: 'http://pngimg.com/uploads/almond/almond_PNG76.png';,> 
> >      }> 
> >    ]> 
> > }> 
> > 
> > Here is the full demo 
> > https://gallery.echartsjs.com/editor.html?c=xFTtpT6oUC&v=2. Here is what 
> > I’m trying to achieve. I would appreciate any help. Thanks a lot.> 
> > 
> > 
> > Thanks,> 
> > Dhiraj> 
> > 
> > 
> 发送自 Windows 10 版邮件应用
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@echarts.apache.org
For additional commands, e-mail: dev-h...@echarts.apache.org

Reply via email to