如何添加图像Highcharts.If提供
问题描述:
https://jsfiddle.net/Kondaldurgam/akb4Lj61如何添加图像Highcharts.If提供
没有数据我尝试添加使用Highcharts.I怀疑highcharts支持图片。我是否要导入空content.Any帮助图像图表的图像会不胜感激。感谢您的提前。
Highcharts.chart('container', {
chart: {
type: 'bubble',
plotBorderWidth: 1,
zoomType: 'xy'
},
title: {
text: 'No Date Availavle'
},
});
答
https://jsfiddle.net/akb4Lj61/3/
这里有一个更新的jsfiddle,你只需要添加
renderer.image('https://www.highcharts.com/samples/graphics/sun.png', 100, 100, 30, 30)
.add();
到您的图表,把网址,x位置,y位置和高度,宽度参数。
我根本不打印图表,而是使用''(当处理模板服务器端或使用javascript时) – fustaki