#load "../packages/FsPlot.0.6.5/FsPlotBootstrap.fsx" | |
open FsPlot.Highcharts.Charting | |
let chart = | |
["2010", 1000; "2011", 1170; "2012", 560; "2013", 1030] | |
|> DynamicChart.Column | |
|> DynamicChart.WithName "Expenses" | |
|> DynamicChart.WithLegend true | |
|> DynamicChart.WithTitle "Company Expenses" | |
chart.Push ("2014", 785) | |
DynamicChart.Close chart |