    {:line-width 0
     :stroke-style "#0000FF"
     :line-dash #js [ ]}
-   
+
    :frame
    {:line-width 1
     :stroke-style "#000000"

(defn set-stroke-style [ ctx style-name ]
  (if-let [ style (get stroke-styles style-name false) ]
    (do
      (aset ctx "lineWidth" (:line-width style))      
      (aset ctx "strokeStyle" (:stroke-style style))
      (.setLineDash ctx (:line-dash style)))
    (.error js/console "Unknown stroke style:" (pr-str style-name))))

      (draw-series-background ctx w h)
      (draw-series ctx w h data {:min begin-t :max end-t})
      (draw-frame ctx w h))))
