{"action":"opened","issue":{"url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1978","labels_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1978/labels{/name}","comments_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1978/comments","events_url":"https://api.github.com/repos/Automattic/wp-calypso/issues/1978/events","html_url":"https://github.com/Automattic/wp-calypso/issues/1978","id":124119862,"number":1978,"title":"Stats: make the chart component configurable","user":{"login":"designsimply","id":1119271,"avatar_url":"https://avatars.githubusercontent.com/u/1119271?v=3","gravatar_id":"","url":"https://api.github.com/users/designsimply","html_url":"https://github.com/designsimply","followers_url":"https://api.github.com/users/designsimply/followers","following_url":"https://api.github.com/users/designsimply/following{/other_user}","gists_url":"https://api.github.com/users/designsimply/gists{/gist_id}","starred_url":"https://api.github.com/users/designsimply/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/designsimply/subscriptions","organizations_url":"https://api.github.com/users/designsimply/orgs","repos_url":"https://api.github.com/users/designsimply/repos","events_url":"https://api.github.com/users/designsimply/events{/privacy}","received_events_url":"https://api.github.com/users/designsimply/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/Stats","name":"Stats","color":"006b75"},{"url":"https://api.github.com/repos/Automattic/wp-calypso/labels/[Type]%20Enhancement","name":"[Type] Enhancement","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-28T20:27:44Z","updated_at":"2015-12-28T20:27:44Z","closed_at":null,"body":"Raised by @timmyc \r\n\r\nCurrently the chart component makes a number of assumptions on how the chart should be displayed.  Things like always showing y-axis values, and displaying them on the right side etc make re-using this component in other places a bit difficult.\r\n\r\nIdeally we should be able to use the chart in other places like the Insights page to show a quick trend in a  data series.  So it would be nice to make things like display of the y-axis and grid lines more configurable via `props`."}}