Skip to content

Instantly share code, notes, and snippets.

@isaacabraham
Created October 19, 2015 17:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaacabraham/80aff5de549ce8e1a9f1 to your computer and use it in GitHub Desktop.
Save isaacabraham/80aff5de549ce8e1a9f1 to your computer and use it in GitHub Desktop.
prices
|> Seq.sortBy fst // sort by month
|> Seq.map(fun (month, price) -> sprintf "%s 2015" (System.DateTime(2015, month, 1).ToString("MMM")), price)
|> Chart.Line
|> Chart.WithOptions(Options(curveType = "function"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment