joewalnes / smoothie

Smoothie Charts: smooooooth JavaScript charts for realtime streaming data
http://smoothiecharts.org
Other
2.25k stars 232 forks source link

Support for horizontal lines and a min/max range callback function #31

Closed drewnoakes closed 11 years ago

drewnoakes commented 11 years ago

Added support for horizontal lines on charts (for y-axis, thresholds, etc), and custom range callback functions for greater control than the simple min/max value options.

Also fixed a 'bug' where values were clamped to the visible range, offering misinformation to users.

Can now specify partial grid options in SmoothieChart constructor.

customisation.html extended to demonstrate some of these additions.

Addressed a TODO in the code.

Obligatory whitespace commit!

More details in the commit messages.

joewalnes commented 11 years ago

LGTM!