XPlot


Plotly Time Series

Full source

Time Series Plot with DateTime Objects

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
let layout = Layout(title = "Time Series Plot with datetime Objects")

Scatter(
    x = x,
    y = [1; 3; 6]
)
|> Chart.Plot
|> Chart.WithLayout layout
|> Chart.WithWidth 700
|> Chart.WithHeight 500

Date Strings

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
let stringLayout = Layout(title = "Date Strings")

Scatter(
    x =
        ["2013-10-04 22:23:00";
            "2013-11-04 22:23:00";
            "2013-12-04 22:23:00"],
    y = [1; 3; 6]
)
|> Chart.Plot
|> Chart.WithLayout stringLayout
|> Chart.WithWidth 700
|> Chart.WithHeight 500
Fork me on GitHub