In the sample given in the README,
open Plot.Core
open Plot.Core.LineChart
open SixLabors.ImageSharp
let series = {
originalPoints = Plot.Core.FakeData.hourlyDataDateTimes
title = "Air Passenger Data"
lineStyle = { Color = Rgba32.Orange; Thickness = 2.f }
}
let inflatedSeries = {
originalPoints = Plot.Core.FakeData.hourlyDataDateTimes |> Array.map(fun op -> { op with y = op.y + 100. })
title = "Inflated Air Passenger Data"
lineStyle = { Color = Rgba32.LightBlue; Thickness = 2.f }
}
let settings = Settings.createLineChartSettings "Air Passenger Data" 1500 500
let image = [series; inflatedSeries] |> createLineChart settings
image.Save "AirPassengerData.png"
I cloned the repository, built both the Plot.Core and Tests assemblies, and Plot.Core.FakeData.hourlyDataDateTimes is not defined anywhere I can see. There is a Plot.Core.FakeData.monthlyDataDateTimes in the Tests assembly.
My F# script adds these to the top:
#r "src/Plot.Core/bin/Debug/netstandard2.0/Plot.Core.dll"
#r "src/Tests/bin/Debug/netcoreapp2.0/Tests.dll"
#I "../../.nuget/packages"
#r "sixlabors.imagesharp/1.0.0-beta0003/lib/netstandard1.1/SixLabors.ImageSharp.dll"
#r "sixlabors.core/1.0.0-beta0005/lib/netstandard1.1/SixLabors.Core.dll"
In the sample given in the README,
I cloned the repository, built both the
Plot.CoreandTestsassemblies, andPlot.Core.FakeData.hourlyDataDateTimesis not defined anywhere I can see. There is aPlot.Core.FakeData.monthlyDataDateTimesin theTestsassembly.My F# script adds these to the top: