 (ns metabase.pulse
   (:require [hiccup.core :refer [html]]
+            [clj-time.core :as t]
+            [clj-time.coerce :as c]
+            [clj-time.format :as f]
             [clojure.tools.logging :as log]
             [clojure.pprint :refer [cl-format]]
             [clojure.string :refer [upper-case]]

          ymax (apply max ys)
          yrange (- ymax ymin)
          ys' (map #(/ (- % ymin) yrange) ys)]
      [:img {:src (generate-data-uri (render-sparkline-to-png xs' ys' 300 200) "image/png")}]))

(defn render-pulse-card
  [card data include-title]


(defsetting slack-token "Slack API bearer token obtained from https://api.slack.com/web#authentication")

(def ^:private card-width 400)

(def ^:private font-style "font-family: Lato, \"Helvetica Neue\", Helvetica, Arial, sans-serif;")
(def ^:private section-style font-style)
