oesmith/morris.js — pull request #119 by tiraeth (2012-11-18 19:09:55+00:00)
Title: Morris.Hover module with 100% HTML hover implementation

This module uses a simple multiple-inheritance model for CoffeeScript (`@extend`, `@include`).

Graphs such as Line, Area, Bar has been rewritten to utilize the new HTML hover.

Meanwhile I have added ability for `@options.lineColors` to be a callback like the one for `Morris.Bar`. Thus, you don't have to specify `@options.pointFillColors` and use the above callback instead.

Also, the code for time spans has been moved from `morris.line.coffee` to `morris.coffee`.

I think the code is a good base to improve its performance and add more functionality.

Because of using additional HTML element, a base `morris.css` file is being built with `grunt`. Therefore, an additional dependency for `grunt-less` has been added.

I hope you find this code useful. Cheers!