Liking cljdoc? Tell your friends :D

active-viz.scale.types


make-nopcljs

(make-nop)

Construct a Nop record.

Construct a `Nop` record.
sourceraw docstring

make-scalecljs

(make-scale domain-min domain-max range-min range-max params succ)

Construct a Scale (A scale represents a function from a domain described by domain-min and domain-max into a a target range between range-min and range-max. The range values must be numerical. Domain boundaries as well as range boundaries are expected to be ordered correctly. The actual mapping is defined in scale-fn) record.

domain-min (minimum domain value): access via active-viz.scale.types/scale-domain-min domain-max (maximum domain value): access via active-viz.scale.types/scale-domain-max range-min (minimum target range value. Expected to be numerical.): access via active-viz.scale.types/scale-range-min range-max (maximum target range value. Expected to be numerical.): access via active-viz.scale.types/scale-range-max params (mapping params from domain to range, defining the type of scale): access via active-viz.scale.types/scale-params succ (successor of the scale, when combined): access via active-viz.scale.types/scale-succ

Construct a `Scale` (A scale represents a function from a domain described by `domain-min` and `domain-max` into a
     a target range between `range-min` and `range-max`. The range values must be numerical.
     Domain boundaries as well as range boundaries are expected to be ordered correctly.
     The actual mapping is defined in `scale-fn`) record.

`domain-min` (minimum domain value): access via [[active-viz.scale.types/scale-domain-min]]
`domain-max` (maximum domain value): access via [[active-viz.scale.types/scale-domain-max]]
`range-min` (minimum target range value. Expected to be numerical.): access via [[active-viz.scale.types/scale-range-min]]
`range-max` (maximum target range value. Expected to be numerical.): access via [[active-viz.scale.types/scale-range-max]]
`params` (mapping params from domain to range, defining the type of scale): access via [[active-viz.scale.types/scale-params]]
`succ` (successor of the scale, when combined): access via [[active-viz.scale.types/scale-succ]]
sourceraw docstring

nopcljs

source

Nopcljs

source

nop?cljs

(nop? thing)

Is object a Nop record? See active-viz.scale.types/make-nop.

Is object a `Nop` record? See [[active-viz.scale.types/make-nop]].
sourceraw docstring

Scalecljs

A scale represents a function from a domain described by domain-min and domain-max into a a target range between range-min and range-max. The range values must be numerical. Domain boundaries as well as range boundaries are expected to be ordered correctly. The actual mapping is defined in scale-fn

A scale represents a function from a domain described by `domain-min` and `domain-max` into a
a target range between `range-min` and `range-max`. The range values must be numerical.
Domain boundaries as well as range boundaries are expected to be ordered correctly.
The actual mapping is defined in `scale-fn`
sourceraw docstring

scale-domain-maxcljs

(scale-domain-max Scale)

Lens for the domain-max field (maximum domain value) from a Scale record. See active-viz.scale.types/make-scale.

Lens for the `domain-max` field (maximum domain value) from a [[Scale]] record. See [[active-viz.scale.types/make-scale]].
sourceraw docstring

scale-domain-mincljs

(scale-domain-min Scale)

Lens for the domain-min field (minimum domain value) from a Scale record. See active-viz.scale.types/make-scale.

Lens for the `domain-min` field (minimum domain value) from a [[Scale]] record. See [[active-viz.scale.types/make-scale]].
sourceraw docstring

scale-paramscljs

(scale-params Scale)

Lens for the params field (mapping params from domain to range, defining the type of scale) from a Scale record. See active-viz.scale.types/make-scale.

Lens for the `params` field (mapping params from domain to range, defining the type of scale) from a [[Scale]] record. See [[active-viz.scale.types/make-scale]].
sourceraw docstring

scale-range-maxcljs

(scale-range-max Scale)

Lens for the range-max field (maximum target range value. Expected to be numerical.) from a Scale record. See active-viz.scale.types/make-scale.

Lens for the `range-max` field (maximum target range value. Expected to be numerical.) from a [[Scale]] record. See [[active-viz.scale.types/make-scale]].
sourceraw docstring

scale-range-mincljs

(scale-range-min Scale)

Lens for the range-min field (minimum target range value. Expected to be numerical.) from a Scale record. See active-viz.scale.types/make-scale.

Lens for the `range-min` field (minimum target range value. Expected to be numerical.) from a [[Scale]] record. See [[active-viz.scale.types/make-scale]].
sourceraw docstring

scale-succcljs

(scale-succ Scale)

Lens for the succ field (successor of the scale, when combined) from a Scale record. See active-viz.scale.types/make-scale.

Lens for the `succ` field (successor of the scale, when combined) from a [[Scale]] record. See [[active-viz.scale.types/make-scale]].
sourceraw docstring

scale?cljs

(scale? thing)

Is object a Scale record? See active-viz.scale.types/make-scale.

Is object a `Scale` record? See [[active-viz.scale.types/make-scale]].
sourceraw docstring

ScaleFncljsprotocol

call-inversecljs

(call-inverse this scale param)

callcljs

(call this scale param)
source

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

× close