{"action":"created","issue":{"url":"https://api.github.com/repos/gionkunz/chartist-js/issues/80","labels_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/80/labels{/name}","comments_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/80/comments","events_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/80/events","html_url":"https://github.com/gionkunz/chartist-js/issues/80","id":48301972,"number":80,"title":"Custom event for 'drawEnd'","user":{"login":"jordanwade","id":2528817,"avatar_url":"https://avatars.githubusercontent.com/u/2528817?v=3","gravatar_id":"","url":"https://api.github.com/users/jordanwade","html_url":"https://github.com/jordanwade","followers_url":"https://api.github.com/users/jordanwade/followers","following_url":"https://api.github.com/users/jordanwade/following{/other_user}","gists_url":"https://api.github.com/users/jordanwade/gists{/gist_id}","starred_url":"https://api.github.com/users/jordanwade/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordanwade/subscriptions","organizations_url":"https://api.github.com/users/jordanwade/orgs","repos_url":"https://api.github.com/users/jordanwade/repos","events_url":"https://api.github.com/users/jordanwade/events{/privacy}","received_events_url":"https://api.github.com/users/jordanwade/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/gionkunz/chartist-js/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2014-11-10T19:15:36Z","updated_at":"2015-06-24T16:18:46Z","closed_at":"2014-11-13T14:32:31Z","body":"Looking through the source and the examples, I'm trying to establish how to create a custom event handler via `addEventHandler` when the `draw` of the chart has finished. I can see how to create the event handler and `emit` it, but how exactly would your trigger the `emit` within the source creation of the `svg`?"},"comment":{"url":"https://api.github.com/repos/gionkunz/chartist-js/issues/comments/114930019","html_url":"https://github.com/gionkunz/chartist-js/issues/80#issuecomment-114930019","issue_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/80","id":114930019,"user":{"login":"morettimatheus","id":4788296,"avatar_url":"https://avatars.githubusercontent.com/u/4788296?v=3","gravatar_id":"","url":"https://api.github.com/users/morettimatheus","html_url":"https://github.com/morettimatheus","followers_url":"https://api.github.com/users/morettimatheus/followers","following_url":"https://api.github.com/users/morettimatheus/following{/other_user}","gists_url":"https://api.github.com/users/morettimatheus/gists{/gist_id}","starred_url":"https://api.github.com/users/morettimatheus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morettimatheus/subscriptions","organizations_url":"https://api.github.com/users/morettimatheus/orgs","repos_url":"https://api.github.com/users/morettimatheus/repos","events_url":"https://api.github.com/users/morettimatheus/events{/privacy}","received_events_url":"https://api.github.com/users/morettimatheus/received_events","type":"User","site_admin":false},"created_at":"2015-06-24T16:18:46Z","updated_at":"2015-06-24T16:18:46Z","body":"Hey guys, kudos for this solution! The <code>created</code> event works perfectly!"}}