Export a chart to an image
HTML Chart Control
Export a chart to an image
Technologies > User Interface Add-Ins > HTML Chart Views > Console View with a Chart
Set
showExportButton
to true to add an Export icon to the top-right corner of the container. When the user hovers over the icon, it displays the following drop-down menu:
The user can then choose the file format (JPG or PNG) and open the current chart as a pop-up or save it as an image file to the client.
<panel id="chartConsole_chart" type="htmlChart" controlType="columnChart" showOnLoad="false" showDataTips="false" showLegendOnLoad="false" dataSource="chartConsole_ds" legendLocation="bottom" showExportButton="true" showLabels="false" layout="mainLayout" region="center">
Example view: http://localhost:8080/archibus/schema/ab-products/solutions/parts/htmlchart/ab-ex-htmlchart-console.axvw