     [:g (map make-txt end-of-year-data)]
     #_detail
     (axis/render-axis (:x c))]
-   [:g {:transform (core/translate 0 (+ (:height (meta header)) available-height))} footer]
-   [:g {:transform (core/translate 0 (+ (:height (meta header)) available-height))} footer2]
+   [:g {:transform (translate 0 (+ (:height (meta header)) available-height))} footer]
+   [:g {:transform (translate 0 (+ (:height (meta header)) available-height))} footer2]
    ])
 
 

   {:p (:dato opts) :c saerskatt :h (get opts saerskatt) :fill saerskatt-fill}])

(defn make-txt [{dato :dato year :year summ :sum}]
  [:g {:transform (core/translate (xfn dato) (yfn summ))}
   [:circle {:r 2}]
   [:line {:stroke "black" :stroke-width 1 :fill "black" :y2 -8}]
   (opentype/text {:dy "-.71em" :text-anchor "middle" :text (str "(" year ")")})

            [clj-simple-chart.rect :as rect]
            [clj-simple-chart.point :as point]
            [clj-simple-chart.opentype :as opentype]
            [clj-simple-chart.translate :refer [translate]]
            [clojure.test :as test]
            [clojure.string :as string]))

