{"action":"closed","issue":{"url":"https://api.github.com/repos/gionkunz/chartist-js/issues/697","repository_url":"https://api.github.com/repos/gionkunz/chartist-js","labels_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/697/labels{/name}","comments_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/697/comments","events_url":"https://api.github.com/repos/gionkunz/chartist-js/issues/697/events","html_url":"https://github.com/gionkunz/chartist-js/issues/697","id":154302413,"number":697,"title":"Dynamic line colors","user":{"login":"SephLeague","id":8486801,"avatar_url":"https://avatars.githubusercontent.com/u/8486801?v=3","gravatar_id":"","url":"https://api.github.com/users/SephLeague","html_url":"https://github.com/SephLeague","followers_url":"https://api.github.com/users/SephLeague/followers","following_url":"https://api.github.com/users/SephLeague/following{/other_user}","gists_url":"https://api.github.com/users/SephLeague/gists{/gist_id}","starred_url":"https://api.github.com/users/SephLeague/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SephLeague/subscriptions","organizations_url":"https://api.github.com/users/SephLeague/orgs","repos_url":"https://api.github.com/users/SephLeague/repos","events_url":"https://api.github.com/users/SephLeague/events{/privacy}","received_events_url":"https://api.github.com/users/SephLeague/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-05-11T17:47:15Z","updated_at":"2016-10-19T10:39:53Z","closed_at":"2016-10-19T10:39:53Z","body":"Hi \r\n\r\nI was wondering how to achieve dynamic line color for a line chart. I want to use different colors to represent different ranges of values.\r\n\r\nI did try using the on draw function and i am able to manipulate the point colors but it seems the line is drawn all at once not in segments so it doesn't seem possible to change color of the line in between points.\r\n\r\nEx: 0-10: Geren\r\n      10-20 Yellow\r\n       20-30 Red\r\n\r\nThanks alot!"}}
{"actor":{"display_login":"gionkunz"}}