diff --git a/src/scripts/example.fsx b/src/scripts/example.fsx index 5a94982..c21ba0d 100644 --- a/src/scripts/example.fsx +++ b/src/scripts/example.fsx @@ -15,13 +15,15 @@ * along with this program. If not, see . *) -#r @"Mono.Data.Sqlite.dll" - #I @"../../packages/SQLProvider/lib/" #r @"FSharp.Data.SqlProvider.dll" #I "../../packages/FSharp.Data/lib/net40" #r "FSharp.Data.dll" +open Deedle +open FSharp.Data +open XPlot.GoogleCharts +open XPlot.GoogleCharts.Deedle #I "../../bin/LogicalHacking.ExtensionDsLab" #r "LogicalHacking.ExtensionDsLab.dll" @@ -38,8 +40,6 @@ let exts = |> Seq.distinct |> Seq.toList - - let ExtIds = ["aaagbdompnfgjaokopkpaceijcapjdde" "aaahoedfmconkhncmkajlkallgnkjibh" "aaahpjmadckbgmdbflcgblcnimbpfefg" @@ -47,14 +47,6 @@ let ExtIds = ["aaagbdompnfgjaokopkpaceijcapjdde" "aaaikdbhdiebhdogngakgnmjgpkpcmln" ] -#load "../../packages/FsLab/Themes/DefaultWhite.fsx" -#load "../../packages/FsLab/FsLab.fsx" - -open Deedle -open FSharp.Data -open XPlot.GoogleCharts -open XPlot.GoogleCharts.Deedle - let x = (List.map (fun e -> (series (getDownloads ctx e))) ExtIds) |> Chart.Line |> Chart.WithOptions (Options(legend=Legend(position="bottom")))