Liking cljdoc? Tell your friends :D

pinkgorilla.ui.sparklines


sparklinecljs

(sparkline data)

displays sparkline line-plot example: [:p/sparkline {:data [1 2 3 4 5] :limit 20 :width 100 :height 20 :margin 5 :svgWidth 100 :svgHeight 20}]

displays sparkline line-plot
example:
 [:p/sparkline {:data [1 2 3 4 5] :limit 20 :width 100 :height 20 :margin 5 :svgWidth 100 :svgHeight 20}]
sourceraw docstring

sparkline-barcljs

(sparkline-bar data)

displays sparkline bar-plot example: [:p/sparklinebar {:data [5, 10, 5, 20, 10] :limit 5 :svgWidth 100 :svgHeight 20 :margin 5}]

displays sparkline bar-plot
example:
  [:p/sparklinebar {:data [5, 10, 5, 20, 10] :limit 5 :svgWidth 100 :svgHeight 20 :margin 5}]
sourceraw docstring

sparkline-spotcljs

(sparkline-spot data)

displays sparkline bar-plot example: [:p/sparklinespot {:data [1 5 77 4 55] :limit 100 :svgWidth 100 :svgHeight 20 :margin 1}]

displays sparkline bar-plot
example:
 [:p/sparklinespot {:data [1 5 77 4 55] :limit 100 :svgWidth 100 :svgHeight 20 :margin 1}]
sourceraw docstring

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

× close