                         (.setXTitle "Minutes")
                         (.setYTitle "Relative Output")
                         (.setShowLegend false)
-                        (.setZoomEnabled false)
+                        (.setZoomEnabled true)
                         (.setYAxisMin 0)
                         (.setYAxisMax 120)
                         (.setApplyBackgroundColor true)
                         (.setBackgroundColor Color/BLACK)
                         (.setYLabels 10)
+                        (.setXLabels 10)
                         (.setPanLimits (double-array [0 20000 0 200]))
                         (.setZoomLimits (double-array [0 20000 0 200]))
                         ))

(defn minutes-since [start-time]
  (float (/ (nanos-since start-time) 60000000000)))

(defn handle-lux-rt [lux start-time]
  (let [offset (minutes-since start-time)]
    (swap! output conj [lux offset])))

(def lux-30s (atom 0))


             (percent lux)))

(defn save-chart [chart-path]
  ; While the chart view should have a .toBitmap method, it returns nil
  ; probably because the larger chart is not drawn
  (let [bitmap (Bitmap/createBitmap 1400 1050 Bitmap$Config/ARGB_8888)
        canvas (Canvas. bitmap)]
    (on-ui (doto outfile-chart-view
