Skip to content

Commit

Permalink
pixi logging
Browse files Browse the repository at this point in the history
  • Loading branch information
awb99 committed Oct 29, 2024
1 parent 4042177 commit fa6bb54
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions src/dali/transform/transit.clj
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,5 @@
:url url
:filename filename}))



(defn load-transit [filename]
(transit-json-file->ds filename))
(transit-json-file->ds filename))
4 changes: 2 additions & 2 deletions src/rtable/plot/pixi.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
[dali.transform.transit :refer [save-transit]]))

(defn pixi-ds [{:keys [style class charts]
:or {style {:width "100%" :height "100%"}
class ""}} ds]
:or {style {:width "100%" :height "100%"}
class ""}} ds]
(create-dali-spec
{:viewer-fn 'rtable.viewer.pixi/pixi
:transform-fn 'rtable.transform.pixi/load-and-transform-pixi
Expand Down
3 changes: 2 additions & 1 deletion src/rtable/viewer/pixi/nav.cljs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
(ns rtable.viewer.pixi.nav
(:require
[taoensso.timbre :refer-macros [info warn error]]
[tech.v3.dataset :as tmlds]
["pixi.js" :as pixi :refer [Application Container Graphics Text Point]]
["@pixi/ui" :refer [Slider]]
Expand Down Expand Up @@ -92,7 +93,7 @@
(draw-bars state 400 price-range)

(draw-current-date state)
(println "pixi-render done."))
(info "pixi-render done."))
nil)

(defn nav
Expand Down

0 comments on commit fa6bb54

Please sign in to comment.