       theme (.setTheme (themes theme theme))
       render-style (.setDefaultSeriesRenderStyle (xy-render-styles render-style)))
      (doseq [[s-name data] series]
-       (if-let [render-style (-> data :style :render-style)]
-         (add-series! chart s-name
-                      (assoc-in data [:style :xy-render-style]
-                                render-style))
-         (add-series! chart s-name data)))
+       (add-series! chart s-name data))
      (doto (.getStyler chart)
        (set-default-style! styling)
        (set-axes-style! styling))

         ;; Need to rebind this one. We could probably omit it from the keys
         ;; entry at the top, if it's not used for documentation purposes.
         annotation-distance (:annotation-distance styling)]
     (doseq [[s-name num] series]
       (if (number? num)
         (.addSeries chart s-name num)
         (let [{:keys [render-style fill-color show-in-legend?]} (:style num)
               val (:value num)]
           (doto-cond
            (.addSeries chart s-name val)
            render-style (.setChartPieSeriesRenderStyle (pie-render-styles render-style))
            fill-color (.setFillColor (colors fill-color fill-color))
            (not (nil? show-in-legend?)) (.setShowInLegend (boolean show-in-legend?))))))
     (doto-cond
      (.getStyler chart)
      theme (.setTheme (themes theme theme))

    styling
    (assoc styling :annotation-distance
           (- 1.0 (/ (:donut-thickness styling 0.33) 2)))))

(extend-type PieChart
  Chart
  (add-series! [chart s-name data]
    (if (number? data)
      (.addSeries chart s-name data)
      (let [{:keys [render-style fill-color show-in-legend?]} (:style num)
            val (:value num)]
        (doto-cond
         (.addSeries chart s-name val)
         render-style (.setChartPieSeriesRenderStyle (pie-render-styles render-style))
         fill-color (.setFillColor (colors fill-color fill-color))
         (not (nil? show-in-legend?)) (.setShowInLegend (boolean show-in-legend?)))))))

(defn pie-chart
  "Returns a pie chart. The series map is in this case just a mapping
