Skip to content

Instantly share code, notes, and snippets.

@TahaHachana
Last active August 29, 2015 14:07
Show Gist options
  • Save TahaHachana/d23a9ff69ea5eb0d1b81 to your computer and use it in GitHub Desktop.
Save TahaHachana/d23a9ff69ea5eb0d1b81 to your computer and use it in GitHub Desktop.
#load "../packages/XPlot.GoogleCharts.1.0.1/XPlot.GoogleCharts.fsx"
open System
open XPlot.GoogleCharts
let timeline =
[
"Washington", DateTime(1789, 4, 29), DateTime(1797, 3, 3)
"Adams", DateTime(1797, 3, 3), DateTime(1801, 3, 3)
"Jefferson", DateTime(1801, 3, 3), DateTime(1809, 3, 3)
]
|> Chart.Timeline
|> Chart.WithLabels ["Start"; "End"]
|> Chart.Show
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment