{"action":"closed","issue":{"url":"https://api.github.com/repos/biasmv/pv/issues/131","labels_url":"https://api.github.com/repos/biasmv/pv/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/biasmv/pv/issues/131/comments","events_url":"https://api.github.com/repos/biasmv/pv/issues/131/events","html_url":"https://github.com/biasmv/pv/issues/131","id":121275373,"number":131,"title":"Adding a custom property","user":{"login":"jergosh","id":731527,"avatar_url":"https://avatars.githubusercontent.com/u/731527?v=3","gravatar_id":"","url":"https://api.github.com/users/jergosh","html_url":"https://github.com/jergosh","followers_url":"https://api.github.com/users/jergosh/followers","following_url":"https://api.github.com/users/jergosh/following{/other_user}","gists_url":"https://api.github.com/users/jergosh/gists{/gist_id}","starred_url":"https://api.github.com/users/jergosh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jergosh/subscriptions","organizations_url":"https://api.github.com/users/jergosh/orgs","repos_url":"https://api.github.com/users/jergosh/repos","events_url":"https://api.github.com/users/jergosh/events{/privacy}","received_events_url":"https://api.github.com/users/jergosh/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-09T15:48:52Z","updated_at":"2015-12-10T09:19:16Z","closed_at":"2015-12-10T09:19:16Z","body":"Hi Marco,\r\nI would like to use PV for displaying and colouring structures by custom (continuous) properties. In the documentation I can see that the functionality I want is \r\n```javascript\r\npv.color.byResidueProp(prop[, gradient[, range ] ])\r\n```\r\nwhere  \"prop – name of the property to use for coloring. It is assumed that the property is numeric\r\n(floating point or integral). The name can either refer to a custom property, or a built-in\r\nproperty of atoms or residues.\"\r\n\r\nWhich sounds like exactly what I need but what I can't work out is how to add a custom property in the first place?"}}