Module

VISX.Scale

Package
purescript-visx
Repository
i-am-the-slime/purescript-visx

#Scale Source

class Scale :: forall k. k -> Constraintclass Scale scale 

Instances

#scaled Source

scaled :: forall scale domain range. Scale (scale domain range) => domain -> scale domain range -> range

#invert Source

invert :: forall scale domain range. Scale (scale domain range) => range -> scale domain range -> domain

#LinearScale Source

data LinearScale t0 t1

Instances

#scaleLinear Source

scaleLinear :: forall opt. Options opt LinearScaleConfig => opt -> LinearScale Number _

#TimeScale Source

data TimeScale t0 t1

Instances

#scaleTime Source

scaleTime :: forall opt. Options opt TimeScaleConfig => opt -> TimeScale JSDate _

#QuantizeScale Source

data QuantizeScale t0 t1

Instances

#scaleQuantize Source

scaleQuantize :: forall opt a b. Options opt (QuantizeScaleConfig a) => WriteForeign a => opt -> QuantizeScale a b

#OrdinalScale Source

data OrdinalScale t0 t1

Instances

#scaleOrdinal Source

scaleOrdinal :: forall opt domain codomain. Options { domain :: NonEmptyArray domain, range :: NonEmptyArray codomain | opt } (OrdinalScaleConfigImpl domain codomain) => WriteForeign domain => WriteForeign codomain => Lacks "domain" opt => Lacks "range" opt => Lacks "domainAndRange" opt => { domainAndRange :: NonEmptyArray (domain /\ codomain) | opt } -> OrdinalScale domain codomain

#BandScale Source

data BandScale t0 t1

Instances

#scaleBand Source

scaleBand :: forall opt a b. Options opt (BandScaleConfig a) => WriteForeign a => opt -> BandScale a b

#bandwidth Source

bandwidth :: forall a b. BandScale a b -> Effect b