{"action":"closed","number":500,"pull_request":{"url":"https://api.github.com/repos/PhilJay/MPAndroidChart/pulls/500","id":32453731,"html_url":"https://github.com/PhilJay/MPAndroidChart/pull/500","diff_url":"https://github.com/PhilJay/MPAndroidChart/pull/500.diff","patch_url":"https://github.com/PhilJay/MPAndroidChart/pull/500.patch","issue_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/issues/500","number":500,"state":"closed","locked":false,"title":"Implement functionality to draw marker's text on the YAxis","user":{"login":"mesropd","id":8722637,"avatar_url":"https://avatars.githubusercontent.com/u/8722637?v=3","gravatar_id":"","url":"https://api.github.com/users/mesropd","html_url":"https://github.com/mesropd","followers_url":"https://api.github.com/users/mesropd/followers","following_url":"https://api.github.com/users/mesropd/following{/other_user}","gists_url":"https://api.github.com/users/mesropd/gists{/gist_id}","starred_url":"https://api.github.com/users/mesropd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesropd/subscriptions","organizations_url":"https://api.github.com/users/mesropd/orgs","repos_url":"https://api.github.com/users/mesropd/repos","events_url":"https://api.github.com/users/mesropd/events{/privacy}","received_events_url":"https://api.github.com/users/mesropd/received_events","type":"User","site_admin":false},"body":"Here is the usage\r\n```java\r\nMyMarkerView mv = new MyMarkerView(getActivity(), R.layout.custom_marker_view);\r\nmv.setAxisTextColor(Color.parseColor(\"#a61f67\"));\r\nmv.setAxisTextSize(20);\r\nmv.setAxisDependency(YAxis.AxisDependency.RIGHT);\r\nmv.setDrawAxisText(true);\r\nchart.setMarkerView(mv);\r\n\r\npublic class MyMarkerView extends MarkerView {\r\n......\r\n// callbacks everytime the MarkerView is redrawn, can be used to update the\r\n// content (user-interface)\r\n@Override\r\npublic void refreshContent(Entry e, int dataSetIndex) {\r\n\tif (e instanceof CandleEntry) {\r\n\t\tCandleEntry ce = (CandleEntry) e;\r\n\t\t//tvContent.setText(\"\" + Utils.formatNumber(ce.getHigh(), 0, true));\r\n\t} else {\r\n\t\t//tvContent.setText(\"\" + Utils.formatNumber(e.getVal(), 0, true));\r\n\t}\r\n\tsetAxisText(String.format(\"%.2f\", e.getVal()));\r\n}\r\n```\r\n![64dfc3ac-d332-11e4-8630-22c4215de509](https://cloud.githubusercontent.com/assets/8722637/6950085/7432a922-d8c9-11e4-8a40-e8f0582f00d0.png)\r\n","created_at":"2015-04-01T19:48:00Z","updated_at":"2015-05-01T09:44:25Z","closed_at":"2015-05-01T09:44:25Z","merged_at":null,"merge_commit_sha":"0f206aacc401363af1d7234c46067b544c8ad8c0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/pulls/500/commits","review_comments_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/pulls/500/comments","review_comment_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/pulls/comments{/number}","comments_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/issues/500/comments","statuses_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/statuses/383bcff45845c73159c33c53318051e0c8575f25","head":{"label":"mesropd:markerAxis","ref":"markerAxis","sha":"383bcff45845c73159c33c53318051e0c8575f25","user":{"login":"mesropd","id":8722637,"avatar_url":"https://avatars.githubusercontent.com/u/8722637?v=3","gravatar_id":"","url":"https://api.github.com/users/mesropd","html_url":"https://github.com/mesropd","followers_url":"https://api.github.com/users/mesropd/followers","following_url":"https://api.github.com/users/mesropd/following{/other_user}","gists_url":"https://api.github.com/users/mesropd/gists{/gist_id}","starred_url":"https://api.github.com/users/mesropd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesropd/subscriptions","organizations_url":"https://api.github.com/users/mesropd/orgs","repos_url":"https://api.github.com/users/mesropd/repos","events_url":"https://api.github.com/users/mesropd/events{/privacy}","received_events_url":"https://api.github.com/users/mesropd/received_events","type":"User","site_admin":false},"repo":{"id":33265159,"name":"MPAndroidChart","full_name":"mesropd/MPAndroidChart","owner":{"login":"mesropd","id":8722637,"avatar_url":"https://avatars.githubusercontent.com/u/8722637?v=3","gravatar_id":"","url":"https://api.github.com/users/mesropd","html_url":"https://github.com/mesropd","followers_url":"https://api.github.com/users/mesropd/followers","following_url":"https://api.github.com/users/mesropd/following{/other_user}","gists_url":"https://api.github.com/users/mesropd/gists{/gist_id}","starred_url":"https://api.github.com/users/mesropd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mesropd/subscriptions","organizations_url":"https://api.github.com/users/mesropd/orgs","repos_url":"https://api.github.com/users/mesropd/repos","events_url":"https://api.github.com/users/mesropd/events{/privacy}","received_events_url":"https://api.github.com/users/mesropd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mesropd/MPAndroidChart","description":"A powerful Android chart view / graph view library, supporting line- bar- pie- radar- and candlestick charts as well as scaling, dragging and animations.","fork":true,"url":"https://api.github.com/repos/mesropd/MPAndroidChart","forks_url":"https://api.github.com/repos/mesropd/MPAndroidChart/forks","keys_url":"https://api.github.com/repos/mesropd/MPAndroidChart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mesropd/MPAndroidChart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mesropd/MPAndroidChart/teams","hooks_url":"https://api.github.com/repos/mesropd/MPAndroidChart/hooks","issue_events_url":"https://api.github.com/repos/mesropd/MPAndroidChart/issues/events{/number}","events_url":"https://api.github.com/repos/mesropd/MPAndroidChart/events","assignees_url":"https://api.github.com/repos/mesropd/MPAndroidChart/assignees{/user}","branches_url":"https://api.github.com/repos/mesropd/MPAndroidChart/branches{/branch}","tags_url":"https://api.github.com/repos/mesropd/MPAndroidChart/tags","blobs_url":"https://api.github.com/repos/mesropd/MPAndroidChart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mesropd/MPAndroidChart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mesropd/MPAndroidChart/git/refs{/sha}","trees_url":"https://api.github.com/repos/mesropd/MPAndroidChart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mesropd/MPAndroidChart/statuses/{sha}","languages_url":"https://api.github.com/repos/mesropd/MPAndroidChart/languages","stargazers_url":"https://api.github.com/repos/mesropd/MPAndroidChart/stargazers","contributors_url":"https://api.github.com/repos/mesropd/MPAndroidChart/contributors","subscribers_url":"https://api.github.com/repos/mesropd/MPAndroidChart/subscribers","subscription_url":"https://api.github.com/repos/mesropd/MPAndroidChart/subscription","commits_url":"https://api.github.com/repos/mesropd/MPAndroidChart/commits{/sha}","git_commits_url":"https://api.github.com/repos/mesropd/MPAndroidChart/git/commits{/sha}","comments_url":"https://api.github.com/repos/mesropd/MPAndroidChart/comments{/number}","issue_comment_url":"https://api.github.com/repos/mesropd/MPAndroidChart/issues/comments{/number}","contents_url":"https://api.github.com/repos/mesropd/MPAndroidChart/contents/{+path}","compare_url":"https://api.github.com/repos/mesropd/MPAndroidChart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mesropd/MPAndroidChart/merges","archive_url":"https://api.github.com/repos/mesropd/MPAndroidChart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mesropd/MPAndroidChart/downloads","issues_url":"https://api.github.com/repos/mesropd/MPAndroidChart/issues{/number}","pulls_url":"https://api.github.com/repos/mesropd/MPAndroidChart/pulls{/number}","milestones_url":"https://api.github.com/repos/mesropd/MPAndroidChart/milestones{/number}","notifications_url":"https://api.github.com/repos/mesropd/MPAndroidChart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mesropd/MPAndroidChart/labels{/name}","releases_url":"https://api.github.com/repos/mesropd/MPAndroidChart/releases{/id}","created_at":"2015-04-01T18:31:43Z","updated_at":"2015-04-30T09:50:09Z","pushed_at":"2015-04-30T09:51:45Z","git_url":"git://github.com/mesropd/MPAndroidChart.git","ssh_url":"git@github.com:mesropd/MPAndroidChart.git","clone_url":"https://github.com/mesropd/MPAndroidChart.git","svn_url":"https://github.com/mesropd/MPAndroidChart","homepage":"","size":16356,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"PhilJay:master","ref":"master","sha":"1000b5d9b1347cd8b626aa034866d17c3351cdef","user":{"login":"PhilJay","id":6759734,"avatar_url":"https://avatars.githubusercontent.com/u/6759734?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilJay","html_url":"https://github.com/PhilJay","followers_url":"https://api.github.com/users/PhilJay/followers","following_url":"https://api.github.com/users/PhilJay/following{/other_user}","gists_url":"https://api.github.com/users/PhilJay/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilJay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilJay/subscriptions","organizations_url":"https://api.github.com/users/PhilJay/orgs","repos_url":"https://api.github.com/users/PhilJay/repos","events_url":"https://api.github.com/users/PhilJay/events{/privacy}","received_events_url":"https://api.github.com/users/PhilJay/received_events","type":"User","site_admin":false},"repo":{"id":19148949,"name":"MPAndroidChart","full_name":"PhilJay/MPAndroidChart","owner":{"login":"PhilJay","id":6759734,"avatar_url":"https://avatars.githubusercontent.com/u/6759734?v=3","gravatar_id":"","url":"https://api.github.com/users/PhilJay","html_url":"https://github.com/PhilJay","followers_url":"https://api.github.com/users/PhilJay/followers","following_url":"https://api.github.com/users/PhilJay/following{/other_user}","gists_url":"https://api.github.com/users/PhilJay/gists{/gist_id}","starred_url":"https://api.github.com/users/PhilJay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PhilJay/subscriptions","organizations_url":"https://api.github.com/users/PhilJay/orgs","repos_url":"https://api.github.com/users/PhilJay/repos","events_url":"https://api.github.com/users/PhilJay/events{/privacy}","received_events_url":"https://api.github.com/users/PhilJay/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PhilJay/MPAndroidChart","description":"A powerful Android chart view / graph view library, supporting line- bar- pie- radar- bubble- and candlestick charts as well as scaling, dragging and animations.","fork":false,"url":"https://api.github.com/repos/PhilJay/MPAndroidChart","forks_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/forks","keys_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/teams","hooks_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/hooks","issue_events_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/issues/events{/number}","events_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/events","assignees_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/assignees{/user}","branches_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/branches{/branch}","tags_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/tags","blobs_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/git/refs{/sha}","trees_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/statuses/{sha}","languages_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/languages","stargazers_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/stargazers","contributors_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/contributors","subscribers_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/subscribers","subscription_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/subscription","commits_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/commits{/sha}","git_commits_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/git/commits{/sha}","comments_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/comments{/number}","issue_comment_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/issues/comments{/number}","contents_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/contents/{+path}","compare_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/merges","archive_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/downloads","issues_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/issues{/number}","pulls_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/pulls{/number}","milestones_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/milestones{/number}","notifications_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/labels{/name}","releases_url":"https://api.github.com/repos/PhilJay/MPAndroidChart/releases{/id}","created_at":"2014-04-25T14:29:47Z","updated_at":"2015-05-01T08:48:21Z","pushed_at":"2015-05-01T08:48:21Z","git_url":"git://github.com/PhilJay/MPAndroidChart.git","ssh_url":"git@github.com:PhilJay/MPAndroidChart.git","clone_url":"https://github.com/PhilJay/MPAndroidChart.git","svn_url":"https://github.com/PhilJay/MPAndroidChart","homepage":"","size":20355,"stargazers_count":3490,"watchers_count":3490,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1017,"mirror_url":null,"open_issues_count":33,"forks":1017,"open_issues":33,"watchers":3490,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/PhilJay/MPAndroidChart/pulls/500"},"html":{"href":"https://github.com/PhilJay/MPAndroidChart/pull/500"},"issue":{"href":"https://api.github.com/repos/PhilJay/MPAndroidChart/issues/500"},"comments":{"href":"https://api.github.com/repos/PhilJay/MPAndroidChart/issues/500/comments"},"review_comments":{"href":"https://api.github.com/repos/PhilJay/MPAndroidChart/pulls/500/comments"},"review_comment":{"href":"https://api.github.com/repos/PhilJay/MPAndroidChart/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/PhilJay/MPAndroidChart/pulls/500/commits"},"statuses":{"href":"https://api.github.com/repos/PhilJay/MPAndroidChart/statuses/383bcff45845c73159c33c53318051e0c8575f25"}},"merged":false,"mergeable":false,"mergeable_state":"dirty","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":166,"deletions":0,"changed_files":2}}