{"action":"created","issue":{"url":"https://api.github.com/repos/ConsoleTVs/Charts/issues/419","repository_url":"https://api.github.com/repos/ConsoleTVs/Charts","labels_url":"https://api.github.com/repos/ConsoleTVs/Charts/issues/419/labels{/name}","comments_url":"https://api.github.com/repos/ConsoleTVs/Charts/issues/419/comments","events_url":"https://api.github.com/repos/ConsoleTVs/Charts/issues/419/events","html_url":"https://github.com/ConsoleTVs/Charts/issues/419","id":360709572,"node_id":"MDU6SXNzdWUzNjA3MDk1NzI=","number":419,"title":"Pie Chart Canvas Grows Exponentially","user":{"login":"mprythero","id":19898458,"node_id":"MDQ6VXNlcjE5ODk4NDU4","avatar_url":"https://avatars1.githubusercontent.com/u/19898458?v=4","gravatar_id":"","url":"https://api.github.com/users/mprythero","html_url":"https://github.com/mprythero","followers_url":"https://api.github.com/users/mprythero/followers","following_url":"https://api.github.com/users/mprythero/following{/other_user}","gists_url":"https://api.github.com/users/mprythero/gists{/gist_id}","starred_url":"https://api.github.com/users/mprythero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mprythero/subscriptions","organizations_url":"https://api.github.com/users/mprythero/orgs","repos_url":"https://api.github.com/users/mprythero/repos","events_url":"https://api.github.com/users/mprythero/events{/privacy}","received_events_url":"https://api.github.com/users/mprythero/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-09-17T02:58:09Z","updated_at":"2018-09-24T12:05:22Z","closed_at":null,"author_association":"NONE","body":"I have the following in my controller:\r\n\r\n```\r\n$chart = new EquipmentMaintenanceComparisonChart;\r\n\t\t  // Add the dataset (we will go with the chart template approach)\r\n\t\t\t  \t$chart->displayAxes(false);\r\n\t\t\t  \t$chart->displayLegend(false);\r\n\t\t\t  \t$chart->height(200);\r\n\t\t\t\t$chart->dataset('Customer', 'pie', $balanceList);\r\n\t\t\t\t$chart->labels($customerList);\r\n```\r\nAnd the two data/label variables are returned as such in an array:\r\n\r\n$customerList ---\r\n\r\n    0 => \"ROADRUNNER FREIGHT SYSTEMS\"\r\n    1 => \"Capital\"\r\n    2 => \"AFN, LLC\"\r\n    3 => \"Power Equipment Company\"\r\n    4 => \"TELECRAFTER PRODUCTS - BT\"\r\n    5 => \"DIRECT COAST TO COAST\"\r\n    6 => \"Roadrunner Transportation Systems\"\r\n    7 => \"FITZMARK\"\r\n    8 => \"FMP C/O FRANKLIN TRAFFIC SVC\"\r\n    9 => \"RJW TRANSPORT, INC.\"\r\n\r\n$balanceList ---\r\n\r\n    0 => \"432437.81\"\r\n    1 => \"52719.97\"\r\n    2 => \"52306.72\"\r\n    3 => \"27118.93\"\r\n    4 => \"20126.90\"\r\n    5 => \"18715.80\"\r\n    6 => \"12925.00\"\r\n    7 => \"12904.85\"\r\n    8 => \"11640.00\"\r\n    9 => \"10737.05\"\r\n\r\n\r\nBut I'm experiencing an issue where I believe the canvas (or could be the chart, I'm not sure), just continues to grow until it \"breaks\".... I'm unsure what to do, but I do have to leave the page or else it just continues to grow. Does anyone have any suggestions?\r\n\r\nThanks\r\n"},"comment":{"url":"https://api.github.com/repos/ConsoleTVs/Charts/issues/comments/423952169","html_url":"https://github.com/ConsoleTVs/Charts/issues/419#issuecomment-423952169","issue_url":"https://api.github.com/repos/ConsoleTVs/Charts/issues/419","id":423952169,"node_id":"MDEyOklzc3VlQ29tbWVudDQyMzk1MjE2OQ==","user":{"login":"ConsoleTVs","id":6124435,"node_id":"MDQ6VXNlcjYxMjQ0MzU=","avatar_url":"https://avatars3.githubusercontent.com/u/6124435?v=4","gravatar_id":"","url":"https://api.github.com/users/ConsoleTVs","html_url":"https://github.com/ConsoleTVs","followers_url":"https://api.github.com/users/ConsoleTVs/followers","following_url":"https://api.github.com/users/ConsoleTVs/following{/other_user}","gists_url":"https://api.github.com/users/ConsoleTVs/gists{/gist_id}","starred_url":"https://api.github.com/users/ConsoleTVs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ConsoleTVs/subscriptions","organizations_url":"https://api.github.com/users/ConsoleTVs/orgs","repos_url":"https://api.github.com/users/ConsoleTVs/repos","events_url":"https://api.github.com/users/ConsoleTVs/events{/privacy}","received_events_url":"https://api.github.com/users/ConsoleTVs/received_events","type":"User","site_admin":false},"created_at":"2018-09-24T12:05:22Z","updated_at":"2018-09-24T12:05:22Z","author_association":"OWNER","body":"OK I'll review this now"}}
{"actor":{"display_login":"ConsoleTVs"}}