shutterstock/rickshaw — pull request #331 by kungfubanana (2013-10-15 23:35:40+00:00)
Title: Constrains hover detail and label to the graph area

In cases where the xLabel or item elements would extend past the right edge of the graph element, they are aligned with their right edges on the indicator line, rather than their left edges. This should produce acceptable behavior in any case where those elements are able to fit inside the graph area. If one or both of the elements would not fit, the behavior will be no worse than the previous behavior.

*Before*
![before](https://f.cloud.github.com/assets/1253708/1338909/fa457bec-35f1-11e3-81d9-9849b18e453b.png)

*After*
![after](https://f.cloud.github.com/assets/1253708/1338910/ffd37096-35f1-11e3-8f2c-38466fb67575.png)