如何将图像添加到 c3.js 折线图

How to add image to c3.js line chart

您好,我正在尝试在 c3.js 折线图 x 轴中添加图像,但不知何故图像不显示。我可以在控制台中看到图像标签,但在图表中看不到它。

我的代码: d3.select(".c3-axis-x")

  .append("image")
  .attr("class", "footerLogo")
  .attr("xlink:href", "http://upload.smileyswelove.com/uploads/2854/smiley-10225.jpg")
  .attr("width", "70px");

complete fiddle

还需要高度属性

  .attr("height", "70px")

http://jsfiddle.net/cu84qtv7/3/