{"action":"created","issue":{"url":"https://api.github.com/repos/SciRuby/daru-view/issues/94","repository_url":"https://api.github.com/repos/SciRuby/daru-view","labels_url":"https://api.github.com/repos/SciRuby/daru-view/issues/94/labels{/name}","comments_url":"https://api.github.com/repos/SciRuby/daru-view/issues/94/comments","events_url":"https://api.github.com/repos/SciRuby/daru-view/issues/94/events","html_url":"https://github.com/SciRuby/daru-view/pull/94","id":327064772,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkwOTU5MTEz","number":94,"title":"Added export_image method to export highchart in different formats","user":{"login":"Prakriti-nith","id":19255749,"node_id":"MDQ6VXNlcjE5MjU1NzQ5","avatar_url":"https://avatars1.githubusercontent.com/u/19255749?v=4","gravatar_id":"","url":"https://api.github.com/users/Prakriti-nith","html_url":"https://github.com/Prakriti-nith","followers_url":"https://api.github.com/users/Prakriti-nith/followers","following_url":"https://api.github.com/users/Prakriti-nith/following{/other_user}","gists_url":"https://api.github.com/users/Prakriti-nith/gists{/gist_id}","starred_url":"https://api.github.com/users/Prakriti-nith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prakriti-nith/subscriptions","organizations_url":"https://api.github.com/users/Prakriti-nith/orgs","repos_url":"https://api.github.com/users/Prakriti-nith/repos","events_url":"https://api.github.com/users/Prakriti-nith/events{/privacy}","received_events_url":"https://api.github.com/users/Prakriti-nith/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-05-28T15:42:06Z","updated_at":"2018-06-07T11:02:08Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/SciRuby/daru-view/pulls/94","html_url":"https://github.com/SciRuby/daru-view/pull/94","diff_url":"https://github.com/SciRuby/daru-view/pull/94.diff","patch_url":"https://github.com/SciRuby/daru-view/pull/94.patch"},"body":"Added the methods `export_image` and `export_image_iruby` to export the Highchart in four formats: pdf, png, jpg and svg with the default format being pdf. This is working fine in rails app but I can't understand why it is not working in IRuby notebook. Still searching some way to make it work. I will add the example of rails app to demonstrate this feature.\r\n> Example:\r\nhchart = Daru::View::Plot.new(data, options)\r\nhchart.export_image('svg')\r\n\r\nThis example will first generate the chart and then download it in svg format like this:\r\n![image](https://user-images.githubusercontent.com/19255749/40621693-7f02a120-62bb-11e8-8321-f5b28f6150d6.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/SciRuby/daru-view/issues/comments/395380844","html_url":"https://github.com/SciRuby/daru-view/pull/94#issuecomment-395380844","issue_url":"https://api.github.com/repos/SciRuby/daru-view/issues/94","id":395380844,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NTM4MDg0NA==","user":{"login":"Prakriti-nith","id":19255749,"node_id":"MDQ6VXNlcjE5MjU1NzQ5","avatar_url":"https://avatars1.githubusercontent.com/u/19255749?v=4","gravatar_id":"","url":"https://api.github.com/users/Prakriti-nith","html_url":"https://github.com/Prakriti-nith","followers_url":"https://api.github.com/users/Prakriti-nith/followers","following_url":"https://api.github.com/users/Prakriti-nith/following{/other_user}","gists_url":"https://api.github.com/users/Prakriti-nith/gists{/gist_id}","starred_url":"https://api.github.com/users/Prakriti-nith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Prakriti-nith/subscriptions","organizations_url":"https://api.github.com/users/Prakriti-nith/orgs","repos_url":"https://api.github.com/users/Prakriti-nith/repos","events_url":"https://api.github.com/users/Prakriti-nith/events{/privacy}","received_events_url":"https://api.github.com/users/Prakriti-nith/received_events","type":"User","site_admin":false},"created_at":"2018-06-07T11:02:08Z","updated_at":"2018-06-07T11:02:08Z","author_association":"CONTRIBUTOR","body":"I just found that while exporting multiple highcharts simultaneously in web frameworks, it is exporting only the last one. I am trying to find a solution to resolve this issue."}}
{"actor":{"display_login":"Prakriti-nith"}}