novus/nvd3 — pull request #53 by itay (2012-07-11 17:09:22+00:00)
Title: Make lineWithFocusChart have consistent x and y value getters

lineWithFocusChart uses two separate line charts, and this change
ensures that any x/y value getter (e.g. `chart.x(...)`) set on the main
line chart is also migrated to the focus chart.

I found this when I had my `x` value be an ISO8601 timestamp string, and I had to do the following for the `x` value:

```
chart.x(function(d) { return d3.time.format.iso.parse(d.x); })
chart.xAxis.tickFormat(function(d) {
return d3.time.format("%x %X")(new Date(d));
});
```

The problem was that the `chart.x` definition didn't migrate to the focus chart, and so it would give errors.