Thank you both, it worked exactly as I need it to :-)

Am Sonntag, 30. März 2014 23:57:20 UTC+2 schrieb Moritz Ulrich:
> Also note that you can replace the call to `clj->js' with #js.
> 
> 
> 
> On Sun, Mar 30, 2014 at 9:32 PM, Creighton Kirkendall
> 
> <[email protected]> wrote:
> 
> > 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.

-- 
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.

Reply via email to