XPlot


Google Bar Chart

1: 
2: 
let sales = ["2013", 1000; "2014", 1170; "2015", 660; "2016", 1030]
let expenses = ["2013", 400; "2014", 460; "2015", 1120; "2016", 540]
 1: 
 2: 
 3: 
 4: 
 5: 
 6: 
 7: 
 8: 
 9: 
10: 
11: 
12: 
13: 
14: 
let options =
    Options(
        title = "Company Performance",
        vAxis =
            Axis(
                title = "Year",
                titleTextStyle = TextStyle(color = "red")
            )
    )
 
[sales; expenses]
|> Chart.Bar
|> Chart.WithOptions options
|> Chart.WithLabels ["Sales"; "Expenses"]
Fork me on GitHub