在chart.toolbar.tools
键中,可以使用字符串而不是布尔值来使用自定义图像。
示例
chart: {
toolbar: {
tools: {
zoom: '<img src="/static/icons/zoom.png" width="20">',
zoomin: true,
zoomout: true,
reset: '<img src="/static/icons/reset.png" width="20">'
}
},
}