{"action":"created","issue":{"url":"https://api.github.com/repos/TerriaJS/terriajs/issues/2246","repository_url":"https://api.github.com/repos/TerriaJS/terriajs","labels_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/2246/labels{/name}","comments_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/2246/comments","events_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/2246/events","html_url":"https://github.com/TerriaJS/terriajs/pull/2246","id":191894394,"number":2246,"title":"Allow user to specify colours for csv data in WPS responses","user":{"login":"rdengate","id":3466267,"avatar_url":"https://avatars.githubusercontent.com/u/3466267?v=3","gravatar_id":"","url":"https://api.github.com/users/rdengate","html_url":"https://github.com/rdengate","followers_url":"https://api.github.com/users/rdengate/followers","following_url":"https://api.github.com/users/rdengate/following{/other_user}","gists_url":"https://api.github.com/users/rdengate/gists{/gist_id}","starred_url":"https://api.github.com/users/rdengate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdengate/subscriptions","organizations_url":"https://api.github.com/users/rdengate/orgs","repos_url":"https://api.github.com/users/rdengate/repos","events_url":"https://api.github.com/users/rdengate/events{/privacy}","received_events_url":"https://api.github.com/users/rdengate/received_events","type":"User","site_admin":false},"labels":[{"id":327971015,"url":"https://api.github.com/repos/TerriaJS/terriajs/labels/P-GEOGLAM","name":"P-GEOGLAM","color":"82a849","default":false}],"state":"open","locked":false,"assignee":{"login":"RacingTadpole","id":1757858,"avatar_url":"https://avatars.githubusercontent.com/u/1757858?v=3","gravatar_id":"","url":"https://api.github.com/users/RacingTadpole","html_url":"https://github.com/RacingTadpole","followers_url":"https://api.github.com/users/RacingTadpole/followers","following_url":"https://api.github.com/users/RacingTadpole/following{/other_user}","gists_url":"https://api.github.com/users/RacingTadpole/gists{/gist_id}","starred_url":"https://api.github.com/users/RacingTadpole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RacingTadpole/subscriptions","organizations_url":"https://api.github.com/users/RacingTadpole/orgs","repos_url":"https://api.github.com/users/RacingTadpole/repos","events_url":"https://api.github.com/users/RacingTadpole/events{/privacy}","received_events_url":"https://api.github.com/users/RacingTadpole/received_events","type":"User","site_admin":false},"assignees":[{"login":"RacingTadpole","id":1757858,"avatar_url":"https://avatars.githubusercontent.com/u/1757858?v=3","gravatar_id":"","url":"https://api.github.com/users/RacingTadpole","html_url":"https://github.com/RacingTadpole","followers_url":"https://api.github.com/users/RacingTadpole/followers","following_url":"https://api.github.com/users/RacingTadpole/following{/other_user}","gists_url":"https://api.github.com/users/RacingTadpole/gists{/gist_id}","starred_url":"https://api.github.com/users/RacingTadpole/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RacingTadpole/subscriptions","organizations_url":"https://api.github.com/users/RacingTadpole/orgs","repos_url":"https://api.github.com/users/RacingTadpole/repos","events_url":"https://api.github.com/users/RacingTadpole/events{/privacy}","received_events_url":"https://api.github.com/users/RacingTadpole/received_events","type":"User","site_admin":false}],"milestone":null,"comments":18,"created_at":"2016-11-27T23:38:22Z","updated_at":"2016-12-08T00:17:30Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/TerriaJS/terriajs/pulls/2246","html_url":"https://github.com/TerriaJS/terriajs/pull/2246","diff_url":"https://github.com/TerriaJS/terriajs/pull/2246.diff","patch_url":"https://github.com/TerriaJS/terriajs/pull/2246.patch"},"body":"If a json/csv ComplexData contains 'color' as an attribute (which is a comma separated list of css colors), these colours are applied to the columns of the csv. It allows the user to override the default behaviour of picking a colour that hasn't been used from a list of possible colours.\r\n\r\nTo test: \r\n1. With this change: https://github.com/TerriaJS/nationalmap/pull/373\r\n2. In #test, Test Data > WPS > Csv Output (if you don't see that, you don't have the change in step 1)\r\n3. Select a point on the map\r\n4. Run analysis\r\n5. Note that the colours for the chart are a strong red, green, blue, whereas previously they'd be orange, light green, purple."},"comment":{"url":"https://api.github.com/repos/TerriaJS/terriajs/issues/comments/265615500","html_url":"https://github.com/TerriaJS/terriajs/pull/2246#issuecomment-265615500","issue_url":"https://api.github.com/repos/TerriaJS/terriajs/issues/2246","id":265615500,"user":{"login":"rdengate","id":3466267,"avatar_url":"https://avatars.githubusercontent.com/u/3466267?v=3","gravatar_id":"","url":"https://api.github.com/users/rdengate","html_url":"https://github.com/rdengate","followers_url":"https://api.github.com/users/rdengate/followers","following_url":"https://api.github.com/users/rdengate/following{/other_user}","gists_url":"https://api.github.com/users/rdengate/gists{/gist_id}","starred_url":"https://api.github.com/users/rdengate/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdengate/subscriptions","organizations_url":"https://api.github.com/users/rdengate/orgs","repos_url":"https://api.github.com/users/rdengate/repos","events_url":"https://api.github.com/users/rdengate/events{/privacy}","received_events_url":"https://api.github.com/users/rdengate/received_events","type":"User","site_admin":false},"created_at":"2016-12-08T00:17:30Z","updated_at":"2016-12-08T00:17:30Z","body":"Done. Thanks!"}}
{"actor":{"display_login":"rdengate"}}