(append-point-details {x-detail :x-detail
x-position :x-position
x-value-type :x-value-type
y-detail :y-detail
y-position :y-position
y-value-type :y-value-type
background-class :background-class
selected-language :selected-language}
element
event)
Append text with details about hovered point
Append text with details about hovered point
(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-clip-path x-start y-start x-end y-end radius)
Calculate clip path for pie chart
Calculate clip path for pie chart
(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 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 bar-values
multi-bars
bar-values-on-x-axis
calculate-x-coordinate
calculate-y-coordinate
calculate-width
calculate-height
value-type
selected-language)
Generates svg rectangulars as bars
Generates svg rectangulars as bars
(generate-pie-slices pie-values
radius
cx
cy
pie-id-num
width
height
value-type
selected-language)
Generate pie slices in form of html svg elements
Generate pie slices in form of html svg elements
(generate-polyline dot-values
dots-as-circle
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 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
(remove-point-details evt-p element event)
Remove text with details about unhovered point
Remove text with details about unhovered point
(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