                                      (for [s   yx-schema
                                            row interval]
                                        (assoc s :row row)))
-                             ]
-
-                         (println "CHART -> SELECT INTERVAL: " interval)
+                             ]                         
 
 
                          ;; CIRCLES ----------------------------------------------------------------

                               .exit
                               .remove))



                         ;; вызов функции по реальному селектору
                         (when on-selected-fn
                           (on-selected-fn {:interval interval :selected-rows selected-rows})))


                       (on-brushend-fn selected))))

              (-> chart-pano
                  (.selectAll "g.x.brush")

                                                   (conj a next-row)
                                                   a))))
                                           []))

                                data (if fill?
                                       (let [data (if-let [[x _] (last data)]
                                                    (conj data [x, (y-scale 0)])
                                                    data)
                                             data (if-let [[x _] (first data)]
                                                    (concat [[x (y-scale 0)]] data)
                                                    data)]
                                         data)
                                       data)

                                ]
                            (into-array data))))
                (.attr "d" (-> js/d3
