It should look something like this.
(def chart (js/CanvasJS.Chart. "chartContainer"
(clj-js {:title {:text "Fruits sold in First
Quarter" }
:data {:type "colum"
:data [{:label "banana", :y 18}
{:label "orange", :y 29}
...]}})))
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.