Liking cljdoc? Tell your friends :D

clj-chart.base


base-chart-categoryclj

(base-chart-category {:keys [title width height x-axis y-axis style series]
                      :or {title "Category Chart" width 600 height 400}})

Base Category Chart

Base Category Chart
raw docstring

base-chart-pieclj

(base-chart-pie {:keys [title width height series]
                 :or {title "Pie Chart" width 600 height 400}})

Create pie chart

Create pie chart
raw docstring

base-chart-xyclj

(base-chart-xy {:keys [title width height series-render-style series
                       title-visible legend-position marker-size
                       y-axis-logarithmic]
                :or {title "XY Chart"
                     width 600
                     height 400
                     series-render-style XYSeries$XYSeriesRenderStyle/Line
                     title-visible true
                     legend-position Styler$LegendPosition/OutsideE
                     marker-size 5
                     y-axis-logarithmic false}})

Base XY Chart

Base XY Chart
raw docstring

render-style-mapclj


set-category-chart-style!clj

(set-category-chart-style!
  chart
  {:keys [x-axis-max-label-count series-style overlap]
   :or {x-axis-max-label-count 20 series-style :bar overlap false}})

set-serie-style!clj

(set-serie-style! serie
                  {:keys [fill-color render-style]
                   :or {fill-color nil render-style nil}})

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

× close