jweir/charter/1.0.0

NOTE: the latest version is 2.2.1

Charter.Extras

Additional functions to help in generating the graphs.

Definition

type Axes
= X
| Y

Descibes which axes on the graph or from the data to use.

Functions

minMax : Axes -> List ( Float, Float ) -> ( Float, Float )

Returns the min and max value for the given Axis. An empty list will return (0,0)