Liking cljdoc? Tell your friends :D

wadogo.scale.bands

Creates sequence of bands for given range and padding.

Bands are evenly distributed intervals with padding.

Each band is a map with following keys:

  • rstart - interval start
  • rend - interval end
  • point - selected point (default: midpoint)
  • value - domain value

Input parameters are:

  • bands - number of the bands (default: 1) or sequence of values
  • padding-in - padding between bands (default: 0.0)
  • padding-out - border padding (default: 0.0)
  • align - position of the selected point (0.0 - left, 1.0 - right, 0.5 - midpoint, default)

Padding is calculated the same way as in d3. It's a proportion of the step.

Creates sequence of bands for given range and padding.

Bands are evenly distributed intervals with padding.

Each band is a map with following keys:

* rstart - interval start
* rend - interval end
* point - selected point (default: midpoint)
* value - domain value

Input parameters are:

* bands - number of the bands (default: 1) or sequence of values
* padding-in - padding between bands (default: 0.0)
* padding-out - border padding (default: 0.0)
* align - position of the selected point (0.0 - left, 1.0 - right, 0.5 - midpoint, default)

Padding is calculated the same way as in `d3`. It's a proportion of the step.
raw docstring

No vars found in this namespace.

wadogo.scale.constant

No vars found in this namespace.

wadogo.scale.datetime

No vars found in this namespace.

wadogo.scale.histogram

No vars found in this namespace.

wadogo.scale.interpolated

No vars found in this namespace.

wadogo.scale.linear

No vars found in this namespace.

wadogo.scale.log

No vars found in this namespace.

wadogo.scale.ordinal

No vars found in this namespace.

wadogo.scale.pow

No vars found in this namespace.

wadogo.scale.quantile

No vars found in this namespace.

wadogo.scale.quantize

No vars found in this namespace.

wadogo.scale.symlog

No vars found in this namespace.

wadogo.scale.threshold

No vars found in this namespace.

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close