title: PHPExcel. Create chart that allows save it where i want
body: <p>I am trying to combine two examples. <a href="https://github.com/cystbear/PHPExcel/blob/master/Tests/01simple-download-xlsx.php" rel="nofollow">eg1</a> and <a href="https://github.com/MrRoyce/obgyn/blob/master/Tests/33chartcreate-column.php" rel="nofollow">eg2</a> runs fine independently.
  I would like to create a chart from php but allows me to save it where I want. But when I try to open always tells me it's corrupt or extension is not correct.
  I have looked some answers to similar questions and have not been able to find appropriate solution.
  What am I missing here?</p>