Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Aug 5th, 2012  |  syntax: None  |  size: 0.33 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. d3 Rickshaw Graph Disable Hover effect
  2. hoverDict =
  3.   graph: graph
  4.   xFormatter: (x) ->
  5.     today = new Date()
  6.     today.setDate(today.getDate()- x + 1)
  7.     return today.toDateString()
  8.   yFormatter: null
  9. hoverDetail = new Rickshaw.Graph.HoverDetail(hoverDict)
  10.        
  11. .rickshaw_graph .detail .item.active {
  12. opacity: 1;
  13. display:none;
  14. }