{"action":"created","issue":{"url":"https://api.github.com/repos/chartjs/Chart.js/issues/3200","repository_url":"https://api.github.com/repos/chartjs/Chart.js","labels_url":"https://api.github.com/repos/chartjs/Chart.js/issues/3200/labels{/name}","comments_url":"https://api.github.com/repos/chartjs/Chart.js/issues/3200/comments","events_url":"https://api.github.com/repos/chartjs/Chart.js/issues/3200/events","html_url":"https://github.com/chartjs/Chart.js/issues/3200","id":172825656,"number":3200,"title":"Highlighting a chart point doesn't occur automatically. ","user":{"login":"katsuragi545","id":19474503,"avatar_url":"https://avatars.githubusercontent.com/u/19474503?v=3","gravatar_id":"","url":"https://api.github.com/users/katsuragi545","html_url":"https://github.com/katsuragi545","followers_url":"https://api.github.com/users/katsuragi545/followers","following_url":"https://api.github.com/users/katsuragi545/following{/other_user}","gists_url":"https://api.github.com/users/katsuragi545/gists{/gist_id}","starred_url":"https://api.github.com/users/katsuragi545/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katsuragi545/subscriptions","organizations_url":"https://api.github.com/users/katsuragi545/orgs","repos_url":"https://api.github.com/users/katsuragi545/repos","events_url":"https://api.github.com/users/katsuragi545/events{/privacy}","received_events_url":"https://api.github.com/users/katsuragi545/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chartjs/Chart.js/labels/Category:%20Support","name":"Category: Support","color":"f9d0c4"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-08-23T22:48:14Z","updated_at":"2016-08-24T21:31:42Z","closed_at":null,"body":"I have a chart that highlights a chart point (by changing the size and color) whenever it is done animating the first time it is drawn. However, the highlighting only visually happens when the user moves their mouse pointer over one of the points. How can I make the highlight happen automatically without needing to move my mouse over one of the points.  \r\n\r\nHere's my highlight function:\r\n```\r\n    // Highlights the original op point by changing the point color and size\r\n    highlightOriginalOpPoint(atrc: AtrConfiguration) {\r\n\r\n            // This index determines which chart point to highlight\r\n            this.originalOpPointIndex = 1; \r\n            \r\n            // Get op point object and change the radius/color\r\n            let meta = this.scatterChart.getDatasetMeta(0);\r\n            \r\n            let opPoint = meta.data[this.originalOpPointIndex];\r\n            opPoint.custom = opPoint.custom || {};\r\n            opPoint.custom.backgroundColor = \"rgba(0,0,225,1)\";\r\n            opPoint.custom.radius = 7;\r\n\r\n            this.scatterChart.update();\r\n        }\r\n    }\r\n```\r\nThis is called when the chart is done animating the first time it is drawn - I've checked my logs too - it's definitely being called when it is done drawing but the effects don't visually happen until the user moves their mouse over one of the points. I've added update() to my highlight function but the update doesn't seem to happen until later. Any ideas?"},"comment":{"url":"https://api.github.com/repos/chartjs/Chart.js/issues/comments/242214999","html_url":"https://github.com/chartjs/Chart.js/issues/3200#issuecomment-242214999","issue_url":"https://api.github.com/repos/chartjs/Chart.js/issues/3200","id":242214999,"user":{"login":"katsuragi545","id":19474503,"avatar_url":"https://avatars.githubusercontent.com/u/19474503?v=3","gravatar_id":"","url":"https://api.github.com/users/katsuragi545","html_url":"https://github.com/katsuragi545","followers_url":"https://api.github.com/users/katsuragi545/followers","following_url":"https://api.github.com/users/katsuragi545/following{/other_user}","gists_url":"https://api.github.com/users/katsuragi545/gists{/gist_id}","starred_url":"https://api.github.com/users/katsuragi545/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katsuragi545/subscriptions","organizations_url":"https://api.github.com/users/katsuragi545/orgs","repos_url":"https://api.github.com/users/katsuragi545/repos","events_url":"https://api.github.com/users/katsuragi545/events{/privacy}","received_events_url":"https://api.github.com/users/katsuragi545/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T21:31:42Z","updated_at":"2016-08-24T21:31:42Z","body":"Thanks @etimberg - works perfectly! You've saved me a lot of time. "}}
{"actor":{"display_login":"katsuragi545"}}