(axis-segment min-value max-value width)
Calculate segments in pixels and round value for every segment
Calculate segments in pixels and round value for every segment
(bar-axis-segment bar-labels width)
Calculate segments for bars
Calculate segments for bars
(bar-min-max-iterate-coordinates bar-values axis-min axis-max)
Iterates through bar values
Iterates through bar values
(build-bar-chart-clj-map
{value-type :value-type
height :height
y-minimum :y-minimum
multi-bars :multi-bars
vertical-grid-lines :vertical-grid-lines
x-maximum :x-maximum
y-maximum :y-maximum
bar-labels :bar-labels
y-axis-title :y-axis-title
width :width
main-title :main-title
bar-values :bar-values
{bar-names :bar-names legend-position :position} :legend
bar-values-on-x-axis :bar-values-on-x-axis
horizontal-grid-lines :horizontal-grid-lines
x-axis-title :x-axis-title
selected-language :selected-language
x-minimum :x-minimum})
Builds bar chart clojure map of html elements
Builds bar chart clojure map of html elements
(build-line-chart-clj-map
{x-value-type :x-value-type
dot-values :dot-values
height :height
y-minimum :y-minimum
vertical-grid-lines :vertical-grid-lines
multi-line :multi-line
x-maximum :x-maximum
y-maximum :y-maximum
y-axis-title :y-axis-title
width :width
{line-names :line-names legend-position :position} :legend
main-title :main-title
y-value-type :y-value-type
horizontal-grid-lines :horizontal-grid-lines
x-axis-title :x-axis-title
selected-language :selected-language
x-minimum :x-minimum})
Builds line chart clojure map of html elements
Builds line chart clojure map of html elements
(build-pie-chart-clj-map {pie-values :pie-values
value-type :value-type
{piece-names :piece-names legend-position :position}
:legend
main-title :main-title
width :width
height :height
selected-language :selected-language})
Builds pie chart clojure map of html elements
Builds pie chart clojure map of html elements
(calculate-segment-value lower-limit higher-limit)
Calculates segment value
Calculates segment value
(find-bar-x-y-min-max bar-values multi-bars bar-values-on-x-axis value-type)
Finds minimum and maximum for bars and sets them for particular axis x or y
Finds minimum and maximum for bars and sets them for particular axis x or y
(find-x-y-min-max dot-values & [multi-line])
Finds minimum and maximum of x and y axis
Finds minimum and maximum of x and y axis
(format-segment-value segment-value & [segment-value-type selected-language])
Formats segment value 10 -> 10 1000 -> 1K 1000000 -> 1M
Formats segment value 10 -> 10 1000 -> 1K 1000000 -> 1M
(generate-bar ctx
bar-value
chart-bars
bar-values-on-x-axis
calculate-x-coordinate
calculate-y-coordinate
calculate-width
calculate-height
itr
number-of-bars
value-type
selected-language)
Generates row of bars and their values
Generates row of bars and their values
(generate-bars ctx
bar-values
multi-bars
bar-values-on-x-axis
calculate-x-coordinate
calculate-y-coordinate
calculate-width
calculate-height
value-type
selected-language)
Generates canvas rectangulars as bars
Generates canvas rectangulars as bars
(generate-pie-slices ctx
pie-values
radius
cx
cy
width
height
value-type
selected-language)
Generates pie slices in canvas context
Generates pie slices in canvas context
(generate-polyline ctx
dot-values
calculate-x-coordinate
x-left-offset
height
y-bottom-offset
calculate-y-coordinate
itr
&
[x-value-type y-value-type selected-language])
Generates single polyline
Generates single polyline
(generate-polylines ctx
dot-values
multi-line
calculate-x-coordinate
x-left-offset
height
y-bottom-offset
calculate-y-coordinate
&
[x-value-type y-value-type selected-language])
Generates polylines out of line vectors
Generates polylines out of line vectors
(min-max-iterate-coordinates dot-values x-min x-max y-min y-max)
Iterates through coordinates
Iterates through coordinates
(render-bar-chart chart-configuration)
Renders bar chart html elements from chart map
Renders bar chart html elements from chart map
(render-line-chart chart-configuration)
Renders line chart html elements from chart map
Renders line chart html elements from chart map
(render-pie-chart chart-configuration)
Renders pie chart html elements from chart map
Renders pie chart html elements from chart map
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close