(axis-common* {:keys [visible major-size minor-size label attribs label-style
label-dist]
:or {visible true major-size 10 minor-size 5}
:as spec})
(labeled-rect-horizontal {:keys [h r label fill min-width base-line]})
(lens-axis
{:keys [domain range focus strength major minor] :or {strength 0.5} :as spec})
(process-points {:keys [x-axis y-axis project]} {:keys [values item-pos shape]})
(svg-area-plot {:keys [y-axis project] :as v-spec} {:keys [res] :as d-spec})
(svg-axis* {:keys [major minor attribs label-style]}
axis
tick1-fn
tick2-fn
label-fn)
(svg-axis-grid2d-cartesian x-axis y-axis {:keys [attribs minor-x minor-y]})
(svg-axis-grid2d-polar {:keys [x-axis y-axis origin circle project]
{:keys [attribs minor-x minor-y]} :grid})
(svg-bar-plot {:keys [x-axis y-axis project] :or {project vec2}}
{:keys [values attribs shape item-pos interleave offset bar-width]
:or {shape (fn [a b _] (svg/line a b))
item-pos identity
interleave 1
bar-width 0
offset 0}})
(svg-contour-plot {:keys [x-axis y-axis project]}
{:keys [matrix attribs levels palette palette-scale
value-domain contour-attribs]
:or {value-domain [0.0 1.0]
palette [[1 1 1]]
palette-scale linear-scale
contour-attribs (constantly nil)}})
(svg-heatmap
{:keys [x-axis y-axis project]}
{:keys [matrix value-domain clamp palette palette-scale attribs shape]
:or {value-domain [0.0 1.0]
palette-scale linear-scale
shape (fn* [p1__22524# p2__22525# p3__22526# p4__22527# p5__22528#]
(svg/polygon [p1__22524# p2__22525# p3__22526# p4__22527#]
{:fill p5__22528#}))}
:as d-spec})
(svg-heatmap
{:keys [x-axis y-axis project]}
{:keys [matrix value-domain clamp palette palette-scale attribs shape]
:or {value-domain [0.0 1.0]
palette-scale linear-scale
shape (fn* [p1__26920# p2__26921# p3__26922# p4__26923# p5__26924#]
(svg/polygon [p1__26920# p2__26921# p3__26922# p4__26923#]
{:fill p5__26924#}))}
:as d-spec})
(svg-radar-plot-minmax
v-spec
{:keys [item-pos-min item-pos-max shape]
:or {shape (fn* [p1__22481# p2__22482# p3__22483#]
(svg/path (concat p1__22481# [[:Z]] p2__22482# [[:Z]])
p3__22483#))}
:as d-spec})
(svg-radar-plot-minmax
v-spec
{:keys [item-pos-min item-pos-max shape]
:or {shape (fn* [p1__26893# p2__26894# p3__26895#]
(svg/path (concat p1__26893# [[:Z]] p2__26894# [[:Z]])
p3__26895#))}
:as d-spec})
(svg-stacked-interval-plot {:keys [x-axis y-axis]}
{:keys [values attribs shape item-range offset]
:or {shape (fn [[a b]] (svg/line (vec2 a) (vec2 b)))
item-range identity
offset 0}})
(svg-x-axis-cartesian {:keys [scale major-size minor-size label-dist pos label]
[r1 r2] :range
:as spec})
(svg-y-axis-cartesian {:keys [scale major-size minor-size label-dist label-y pos
label]
[r1 r2] :range
:or {label-y 0}
:as spec})
(uniform-domain-points [d1 d2] values)
Given a vector of domain bounds and a collection of data values (without domain position), produces a lazy-seq of 2-element vectors representing the values of the original coll uniformly spread over the full domain range, with each of the form: [domain-pos value].
Given a vector of domain bounds and a collection of data values (without domain position), produces a lazy-seq of 2-element vectors representing the values of the original coll uniformly spread over the full domain range, with each of the form: [domain-pos value].
(value-transducer {:keys [cull-domain cull-range scale-x scale-y project shape
item-pos]})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close