    (not (nil? visible)) (.setLegendVisible visible)))
 
 (defn- set-chart-title-style!
-  [styler
+  [^Styler styler
    {:keys [box-background-color box-border-color box-visible
            font padding visible]}]
   (doto-cond

       ~expr-sym)))

(defn- set-legend!
  [styler
   {:keys [background-color border-color font padding
           position series-line-length visible]}]
  (doto-cond

   visible (.setChartTitleVisible visible)))

(defn- set-chart-style!
  [^Styler styler
   {:keys [background-color font-color padding title]}]
  (doto-cond
   styler
