jweir / sparkline / 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 ( Basics.Float, Basics.Float ) -> List ( Basics.Float, Basics.Float )

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