- Miguel Leeuwe
- PowerBuilder
- Friday, 18 June 2021 12:08 PM UTC
Hi all,
[Edited, the link to Echarts was incorrect]
I've implemented the Apache E-charts in our application and have a problem with the Toolbox feature SaveAsImage.
It shows on the toolbox, but when I click on it, nothing happens and the toolbox disappears.
When I paste my options string in https://echarts.apache.org/examples/en/editor.html, it works perfectly fine.
The same thing happens with the Appeon demo that was made for the Google and Echarts: nothing happens (though at least the toolbox doesn't disappear).
Any ideas? Should I maybe specify a name for the saveas file, or should I explicitly set the echart's "renderer" property to 'canvas' or 'svg'? (I think it's 'canvas' by default).
TIA
This is the partial code:
.......,
toolbox:{
left: 'center',
feature: {
dataZoom: {},
saveAsImage: {},
dataView: {},
magicType: {
type: ['line', 'bar', 'stack']
}
}
},
........
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.