{"action":"created","issue":{"url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/254","labels_url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/254/labels{/name}","comments_url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/254/comments","events_url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/254/events","html_url":"https://github.com/PHPOffice/PHPExcel/issues/254","id":20804900,"number":254,"title":"Chart Y-Labels are centered","user":{"login":"tomw1808","id":485781,"avatar_url":"https://avatars.githubusercontent.com/u/485781?v=3","gravatar_id":"","url":"https://api.github.com/users/tomw1808","html_url":"https://github.com/tomw1808","followers_url":"https://api.github.com/users/tomw1808/followers","following_url":"https://api.github.com/users/tomw1808/following{/other_user}","gists_url":"https://api.github.com/users/tomw1808/gists{/gist_id}","starred_url":"https://api.github.com/users/tomw1808/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomw1808/subscriptions","organizations_url":"https://api.github.com/users/tomw1808/orgs","repos_url":"https://api.github.com/users/tomw1808/repos","events_url":"https://api.github.com/users/tomw1808/events{/privacy}","received_events_url":"https://api.github.com/users/tomw1808/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/PHPOffice/PHPExcel/labels/Component%20-%20Chart%20Engine","name":"Component - Chart Engine","color":"444444"},{"url":"https://api.github.com/repos/PHPOffice/PHPExcel/labels/Component%20-%20Excel2007","name":"Component - Excel2007","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-10-10T12:53:09Z","updated_at":"2015-12-15T16:08:52Z","closed_at":null,"body":"After examining the charts, I guess you have a typo there:\r\n\r\nPHPExcel/Writer/Excel2007/Chart.php\r\n```\r\n[...]\r\n\r\n\t\t\tif ($id1 > 0) {\r\n\t\t\t\t\t$objWriter->startElement('c:crossAx');\r\n\t\t\t\t\t\t$objWriter->writeAttribute('val', $id1);\r\n- Line 624: \t\t\t\t\t\t$objWriter->writeAttribute('val', $id2);\r\n+ Line 624: \t\t\t\t\t\t$objWriter->writeAttribute('val', $id1);\r\n\t\t\t\t$objWriter->endElement();\r\n\r\n\t\t\t\t\t$objWriter->startElement('c:crosses');\r\n\t\t\t\t\t\t$objWriter->writeAttribute('val', \"autoZero\");\r\n\t\t\t\t\t$objWriter->endElement();\r\n\r\n\t\t\t\t\t$objWriter->startElement('c:crossBetween');\r\n\t\t\t\t\t\t$objWriter->writeAttribute('val', \"midCat\");\r\n\t\t\t\t\t$objWriter->endElement();\r\n\t\t\t}\r\n[...]\r\n```\r\nWhat happens is that Excel is cross-referencing the y-axix to the wrong and moving it to the center. No Idea why this happens only with negative numbers, but, hey, it solves the issue. \r\n\r\nGreat work by the way! Keep it up! :)"},"comment":{"url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/comments/164810293","html_url":"https://github.com/PHPOffice/PHPExcel/issues/254#issuecomment-164810293","issue_url":"https://api.github.com/repos/PHPOffice/PHPExcel/issues/254","id":164810293,"user":{"login":"kossak","id":569340,"avatar_url":"https://avatars.githubusercontent.com/u/569340?v=3","gravatar_id":"","url":"https://api.github.com/users/kossak","html_url":"https://github.com/kossak","followers_url":"https://api.github.com/users/kossak/followers","following_url":"https://api.github.com/users/kossak/following{/other_user}","gists_url":"https://api.github.com/users/kossak/gists{/gist_id}","starred_url":"https://api.github.com/users/kossak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kossak/subscriptions","organizations_url":"https://api.github.com/users/kossak/orgs","repos_url":"https://api.github.com/users/kossak/repos","events_url":"https://api.github.com/users/kossak/events{/privacy}","received_events_url":"https://api.github.com/users/kossak/received_events","type":"User","site_admin":false},"created_at":"2015-12-15T16:08:52Z","updated_at":"2015-12-15T16:08:52Z","body":"How does it work? Will something happen with this issue? It's still there, as in first report."}}