jxxcarlson/elm-stat/6.0.3

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 =
( Float, Float )

A point in the xy plane

type alias Data =
List ( Float, Float )

A list of points in the xy plane.

makePoint : Float -> Float -> Point

Construct a point

xCoord : Point -> Float

Get the x-coordinate of a point

yCoord : Point -> Float

Get the y-coordinate of a point