{"action":"created","issue":{"url":"https://api.github.com/repos/palantir/plottable/issues/2461","labels_url":"https://api.github.com/repos/palantir/plottable/issues/2461/labels{/name}","comments_url":"https://api.github.com/repos/palantir/plottable/issues/2461/comments","events_url":"https://api.github.com/repos/palantir/plottable/issues/2461/events","html_url":"https://github.com/palantir/plottable/pull/2461","id":95031784,"number":2461,"title":"API endpoint to specify opacity of legend","user":{"login":"yqlu","id":6540967,"avatar_url":"https://avatars.githubusercontent.com/u/6540967?v=3","gravatar_id":"","url":"https://api.github.com/users/yqlu","html_url":"https://github.com/yqlu","followers_url":"https://api.github.com/users/yqlu/followers","following_url":"https://api.github.com/users/yqlu/following{/other_user}","gists_url":"https://api.github.com/users/yqlu/gists{/gist_id}","starred_url":"https://api.github.com/users/yqlu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yqlu/subscriptions","organizations_url":"https://api.github.com/users/yqlu/orgs","repos_url":"https://api.github.com/users/yqlu/repos","events_url":"https://api.github.com/users/yqlu/events{/privacy}","received_events_url":"https://api.github.com/users/yqlu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-07-14T20:24:45Z","updated_at":"2015-07-22T22:45:19Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/palantir/plottable/pulls/2461","html_url":"https://github.com/palantir/plottable/pull/2461","diff_url":"https://github.com/palantir/plottable/pull/2461.diff","patch_url":"https://github.com/palantir/plottable/pull/2461.patch"},"body":"Fixes #2434 -- motivation is that opacity of many Plottable components can be specified directly via .attr(), but this is not true for legend.\r\n\r\nUser can now create Scale.Opacity which can be passed into a legend. If unspecified, opacity is by default 1. User can set whether to apply the opacity scale to just the symbols or the legend text as well.\r\n\r\nDemo: http://plnkr.co/edit/5lQh9oanj9bw1gRjPlyp?p=preview\r\n\r\nThis doesn't cover InterpolatedColorLegend, but we can do something similar easily."},"comment":{"url":"https://api.github.com/repos/palantir/plottable/issues/comments/123895498","html_url":"https://github.com/palantir/plottable/pull/2461#issuecomment-123895498","issue_url":"https://api.github.com/repos/palantir/plottable/issues/2461","id":123895498,"user":{"login":"istarnx","id":11776100,"avatar_url":"https://avatars.githubusercontent.com/u/11776100?v=3","gravatar_id":"","url":"https://api.github.com/users/istarnx","html_url":"https://github.com/istarnx","followers_url":"https://api.github.com/users/istarnx/followers","following_url":"https://api.github.com/users/istarnx/following{/other_user}","gists_url":"https://api.github.com/users/istarnx/gists{/gist_id}","starred_url":"https://api.github.com/users/istarnx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/istarnx/subscriptions","organizations_url":"https://api.github.com/users/istarnx/orgs","repos_url":"https://api.github.com/users/istarnx/repos","events_url":"https://api.github.com/users/istarnx/events{/privacy}","received_events_url":"https://api.github.com/users/istarnx/received_events","type":"User","site_admin":false},"created_at":"2015-07-22T22:45:19Z","updated_at":"2015-07-22T22:45:19Z","body":"The symbol. The thing that the color scale--sans opacity--is currently driving."}}