dc-js/dc.js — pull request #735 by davisford (2014-10-18 04:27:33+00:00)
Title: add new boolean property on line chart to enable/disable mouseover for x...

...y axis refs and data points

So, on line charts, this feature:

![screen shot 2014-10-18 at 12 21 31 am](https://cloud.githubusercontent.com/assets/186677/4688529/4cff9ab8-567e-11e4-8b8f-261a328b142f.png)

i.e. the x/y tracking to the axes, and the dot that tracks the line on mouseover is something that is currently *not optional*. It is always generated. I had a need to build something else for my line charts...namely a tracker that shows up not just if you mouseover on the line but on the whole chart, and also a linear regression slope, and I wanted a larger dot to make it more visible.

![screen shot 2014-10-18 at 12 26 41 am](https://cloud.githubusercontent.com/assets/186677/4688542/0073290c-567f-11e4-9028-7f991ee6df74.png)

Seeing as how my linechart features collided with the built-in features, I wanted to make the built-in features optional, so I added a new property on linechart:

```javascript
linechart.xyTipsOn(true); // the default
linechart.xyTipsOn(false); // disable the tracking dot and xy refs
```

By default, the behavior is still on, so it should affect nothing. This just gives me the ability to disable it to inject my own behavior that doesn't collide with it.

Added documentation for the new public API, as well as a few unit tests.