XPlot


Plotly Area Plots

Full source

Basic Overlaid Area Chart

 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
14: 
15: 
16: 
17: 
18: 
19: 
20: 
21: 
22: 
23: 
24: 
let trace1 =
    Scatter(
        x = [1; 2; 3; 4],
        y = [0; 2; 3; 5],
        fill = "tozeroy"
    )

let trace2 =
    Scatter(
        x = [1; 2; 3; 4],
        y = [3; 5; 1; 7],
        fill = "tonexty"
    )

let layout =
    Layout(
        title = "Basic Overlaid Area Chart",
        width = 700.,
        height = 500.
    )

[trace1; trace2]
|> Chart.Plot
|> Chart.WithLayout layout
Fork me on GitHub