{"action":"created","issue":{"url":"https://api.github.com/repos/esbullington/react-d3/issues/302","labels_url":"https://api.github.com/repos/esbullington/react-d3/issues/302/labels{/name}","comments_url":"https://api.github.com/repos/esbullington/react-d3/issues/302/comments","events_url":"https://api.github.com/repos/esbullington/react-d3/issues/302/events","html_url":"https://github.com/esbullington/react-d3/issues/302","id":128961119,"number":302,"title":"We need to share yDomain between adjacent AreaCharts","user":{"login":"L5eoneill","id":16232593,"avatar_url":"https://avatars.githubusercontent.com/u/16232593?v=3","gravatar_id":"","url":"https://api.github.com/users/L5eoneill","html_url":"https://github.com/L5eoneill","followers_url":"https://api.github.com/users/L5eoneill/followers","following_url":"https://api.github.com/users/L5eoneill/following{/other_user}","gists_url":"https://api.github.com/users/L5eoneill/gists{/gist_id}","starred_url":"https://api.github.com/users/L5eoneill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/L5eoneill/subscriptions","organizations_url":"https://api.github.com/users/L5eoneill/orgs","repos_url":"https://api.github.com/users/L5eoneill/repos","events_url":"https://api.github.com/users/L5eoneill/events{/privacy}","received_events_url":"https://api.github.com/users/L5eoneill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-26T22:21:08Z","updated_at":"2016-01-27T14:17:50Z","closed_at":null,"body":"This can be set in vanilla-d3, but our component can't seem to override react-d3 on this issue."},"comment":{"url":"https://api.github.com/repos/esbullington/react-d3/issues/comments/175652742","html_url":"https://github.com/esbullington/react-d3/issues/302#issuecomment-175652742","issue_url":"https://api.github.com/repos/esbullington/react-d3/issues/302","id":175652742,"user":{"login":"L5eoneill","id":16232593,"avatar_url":"https://avatars.githubusercontent.com/u/16232593?v=3","gravatar_id":"","url":"https://api.github.com/users/L5eoneill","html_url":"https://github.com/L5eoneill","followers_url":"https://api.github.com/users/L5eoneill/followers","following_url":"https://api.github.com/users/L5eoneill/following{/other_user}","gists_url":"https://api.github.com/users/L5eoneill/gists{/gist_id}","starred_url":"https://api.github.com/users/L5eoneill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/L5eoneill/subscriptions","organizations_url":"https://api.github.com/users/L5eoneill/orgs","repos_url":"https://api.github.com/users/L5eoneill/repos","events_url":"https://api.github.com/users/L5eoneill/events{/privacy}","received_events_url":"https://api.github.com/users/L5eoneill/received_events","type":"User","site_admin":false},"created_at":"2016-01-27T14:17:50Z","updated_at":"2016-01-27T14:17:50Z","body":"Our component looks like this:\r\n<AreaChart\r\n          data={graphData}\r\n          width={width}\r\n          height={height}\r\n          colorScale={colorScale}\r\n          margin={margin}\r\n          xAxis={xAxis}\r\n          yAxis={yAxis}\r\n          yDomain={sharedScale} />\r\nWhere sharedScale = [0, 240000], for instance.\r\nAnd the two charts y-axes differ: \r\nChart 1 goes 0 to 220000 and Chart 2 goes from 0 to 22000 (losing one order of magnitude), the same as before we added yDomain to the component. So, not using the upper max we send them.\r\n\r\nIs the yDomain supposed to be specified some other way? When I checked d3 docs, it appeared this should not be part of the yAxis object.\r\n"}}