added export option to chart
small fixes