Liking cljdoc? Tell your friends :D
ClojureScript only.

vega-viewer.components.horizontal-bar-chart


horizontal-bar-chartcljs

(horizontal-bar-chart cursor
                      owner
                      {:as opts
                       :keys [x-axis-tick-label-format submitted-by-tooltips
                              user-defined-palette]})

Return an Om component that renders a horizontal bar chart the cursor is of the form {:data data :height height :width width} data [required] is a vector of maps of the form {"key": <string> "value": <integer>} height is an integer representing the height of the generated chart width is an integer representing the height of the generated chart

Return an Om component that renders a horizontal bar chart
the cursor is of the form {:data `data` :height `height` :width `width`}
`data` [required] is a vector of maps of the form
{"key": <string>
 "value": <integer>}
`height` is an integer representing the height of the generated chart
`width` is an integer representing the height of the generated chart
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close