title: Amcharts4: How to add an image to an axis (valueAxis) label?
body: <p>With amcharts4, I would like to add an image to a ValueAxis's label. Is this possible? I've found out, how to add an SVG image to a bullet (see <a href="https://www.amcharts.com/demos/column-chart-images-top/" rel="nofollow noreferrer">demo</a>). But is it possible to do something similar with the label of the ValueAxis?</p>
  
  <p>Here is an example of such an image, I would like to add next to the number:
  <img src="https://i.stack.imgur.com/kEWe7.png" width="36"></p>
  
  <p>Currently, the value axis looks like this and it should have an icon next to the label:</p>
  
  <p><img src="https://i.stack.imgur.com/UxMXs.png" width="30"></p>
  
  <hr>
  
  <p><strong>EDIT:</strong></p>
  
  <p>Thanks to @zeroin's answer, I found a solution. However, there seems to be a strange bug when using an axis bullet with a template. Not every bullet is hidden even though its label is hidden. Here's the relevant code, a screenshot and a <a href="https://codepen.io/ssc-hrep3/pen/oKYOpr" rel="nofollow noreferrer">codepen</a> to reproduce.</p>
  
  <pre><code>var valueAxis = chart.yAxes.push(new am4charts.ValueAxis());
  valueAxis.min = 0;
  valueAxis.max = 800;
  valueAxis.renderer.minGridDistance = 30;
  valueAxis.renderer.opposite = true;
  valueAxis.renderer.labels.template.dx = 13;
  valueAxis.strictMinMax = true;
  
  var image = new am4core.Image();
  image.href = "https://s3-us-west-2.amazonaws.com/s.cdpn.io/t-160/man-user.svg";
  image.width = 12;
  image.horizontalCenter = "middle";
  image.verticalCenter = "middle";
  image.dx = 13;
  image.dy = -0.5;
  image.opacity = 0.3;
  valueAxis.dataItems.template.bullet = image;
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/OUNbQ.png" width="150"></p>
  
  <p><strong>EDIT2:</strong></p>
  
  <p>This bug seems to be fixed in the current release of amcharts (<code>4.5.14</code>). It works now as expected.</p>