                                .exit
                                .remove))
 
-
-
                          ;; вызов функции по реальному селектору
                          (when on-selected-fn
-                           (on-selected-fn {:interval interval :selected-rows selected-rows})))
-
-
-                       (on-brushend-fn selected))))
+                           (on-selected-fn {:interval interval :selected-rows selected-rows}))))))
 
               (-> chart-pano
                   (.selectAll "g.x.brush")

                                     (for [s   yx-schema
                                           row interval]
                                       (assoc s :row row)))
                             ]

                         (println "CHART -> SELECT INTERVAL: " interval)


                         ;; CIRCLES ----------------------------------------------------------------

              (.call x-axis))

          ;; Селектор [<--selector-->] ----------------------------------------------------------------------------
          (when on-selected-fn
            (let [brush (-> js/d3 .-svg .brush (.x x-scale))]
              (.on brush "brushend"
                   (fn [v]
