jxxcarlson / elm-stat / Data

This module provides types and functions for extracting Data both from strings and RawData values. These types and functions are used in the StatChart module.


type alias Point =
( Basics.Float, Basics.Float )

A point in the xy plane


type alias Data =
List ( Basics.Float, Basics.Float )

A list of points in the xy plane.

makePoint : Basics.Float -> Basics.Float -> Point

Construct a point

xCoord : Point -> Basics.Float

Get the x-coordinate of a point

yCoord : Point -> Basics.Float

Get the y-coordinate of a point