jweir/sparkline/3.0.0

NOTE: this package is not compatible with Elm 0.19.1

Sparkline.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.

Data types

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

returns the min and max Point on either the X or Y axes