Skip to content

Commit a795936

Browse files
Support for Plotly.NET (#261)
* Include Plotly.NET and Plotly.NET.ImageExport Librays to IfSharp * Update plotly to latest version * Add Plotly.NET as an available chart library * Overwrite (partly reuse) the code generation for inline-plotly-charts. This inlines the js-Code which is contained in the plotly-latest.min.js and ensure the shipped Plotly.NET-Librarys are used. * Update Plotly.NET to preview.17
1 parent c54defb commit a795936

File tree

6 files changed

+576
-7
lines changed

6 files changed

+576
-7
lines changed

paket.dependencies

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@ nuget Newtonsoft.Json ~> 13.0.1
1212
nuget FAKE >= 5.16.0
1313
nuget Paket.Core ~> 5.249.2
1414
nuget Trinet.Core.IO.Ntfs
15-
nuget system.memory 4.5.4
15+
nuget Plotly.NET 2.0.0-preview.17
16+
nuget Plotly.NET.ImageExport 2.0.0-preview.17
17+
nuget System.Memory 4.5.4
18+
nuget Microsoft.Extensions.Logging 6.0.0
1619

1720
group NETCORE
1821

@@ -28,7 +31,10 @@ nuget Newtonsoft.Json ~> 13.0.1
2831
nuget FAKE >= 5.16.0
2932
nuget Paket.Core ~> 5.249.2
3033
nuget Trinet.Core.IO.Ntfs
31-
nuget system.memory 4.5.4
34+
nuget Plotly.NET 2.0.0-preview.17
35+
nuget Plotly.NET.ImageExport 2.0.0-preview.17
36+
nuget System.Memory 4.5.4
37+
nuget Microsoft.Extensions.Logging 6.0.0
3238

3339
group Build
3440
storage none

paket.lock

Lines changed: 124 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ NUGET
55
Chessie (0.6)
66
FSharp.Core (>= 4.0.1.7-alpha)
77
NETStandard.Library (>= 1.6)
8+
DynamicObj (1.0.1)
9+
FSharp.Core (>= 5.0)
10+
Newtonsoft.Json (>= 13.0.1)
811
FAKE (5.16)
912
FSharp.Compiler.Service (37.0)
1013
FSharp.Core (>= 4.6.2)
@@ -18,6 +21,11 @@ NUGET
1821
System.ValueTuple (>= 4.4)
1922
FSharp.Compiler.Tools (10.2.3)
2023
FSharp.Core (5.0.2)
24+
Microsoft.AspNetCore.WebUtilities (2.2)
25+
Microsoft.Net.Http.Headers (>= 2.2)
26+
System.Text.Encodings.Web (>= 4.5)
27+
Microsoft.Bcl.AsyncInterfaces (6.0)
28+
System.Threading.Tasks.Extensions (>= 4.5.4)
2129
Microsoft.Build.Framework (16.6)
2230
Microsoft.Build.Tasks.Core (16.6)
2331
Microsoft.Build.Framework (>= 16.6)
@@ -30,6 +38,34 @@ NUGET
3038
Microsoft.Build.Framework (>= 16.6)
3139
Microsoft.VisualStudio.Setup.Configuration.Interop (>= 1.16.30)
3240
System.Collections.Immutable (>= 1.5)
41+
Microsoft.Extensions.DependencyInjection (6.0)
42+
Microsoft.Bcl.AsyncInterfaces (>= 6.0)
43+
Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0)
44+
System.Runtime.CompilerServices.Unsafe (>= 6.0)
45+
System.Threading.Tasks.Extensions (>= 4.5.4)
46+
Microsoft.Extensions.DependencyInjection.Abstractions (6.0)
47+
Microsoft.Bcl.AsyncInterfaces (>= 6.0)
48+
System.Threading.Tasks.Extensions (>= 4.5.4)
49+
Microsoft.Extensions.Logging (6.0)
50+
Microsoft.Bcl.AsyncInterfaces (>= 6.0)
51+
Microsoft.Extensions.DependencyInjection (>= 6.0)
52+
Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0)
53+
Microsoft.Extensions.Logging.Abstractions (>= 6.0)
54+
Microsoft.Extensions.Options (>= 6.0)
55+
System.Diagnostics.DiagnosticSource (>= 6.0)
56+
System.ValueTuple (>= 4.5)
57+
Microsoft.Extensions.Logging.Abstractions (6.0)
58+
System.Buffers (>= 4.5.1)
59+
System.Memory (>= 4.5.4)
60+
Microsoft.Extensions.Options (6.0)
61+
Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0)
62+
Microsoft.Extensions.Primitives (>= 6.0)
63+
Microsoft.Extensions.Primitives (6.0)
64+
System.Memory (>= 4.5.4)
65+
System.Runtime.CompilerServices.Unsafe (>= 6.0)
66+
Microsoft.Net.Http.Headers (2.2.8)
67+
Microsoft.Extensions.Primitives (>= 2.2)
68+
System.Buffers (>= 4.5)
3369
Microsoft.NETCore.Platforms (2.2)
3470
Microsoft.VisualStudio.Setup.Configuration.Interop (1.16.30)
3571
Mono.Cecil (0.10.3)
@@ -44,8 +80,27 @@ NUGET
4480
FSharp.Core (> 4.3)
4581
Mono.Cecil (>= 0.10.0-beta6)
4682
Newtonsoft.Json
83+
Plotly.NET (2.0.0-preview.17)
84+
DynamicObj (>= 1.0.1)
85+
FSharp.Core (>= 5.0)
86+
Newtonsoft.Json (>= 13.0.1)
87+
Plotly.NET.ImageExport (2.0.0-preview.17)
88+
DynamicObj (>= 1.0.1)
89+
FSharp.Core (>= 5.0)
90+
Plotly.NET (>= 2.0.0-preview.17)
91+
PuppeteerSharp (>= 6.0)
92+
PuppeteerSharp (6.1)
93+
Microsoft.AspNetCore.WebUtilities (>= 2.0.2)
94+
Microsoft.Bcl.AsyncInterfaces (>= 1.1)
95+
Microsoft.Extensions.Logging (>= 2.0.2)
96+
Newtonsoft.Json (>= 10.0.3)
97+
SharpZipLib (>= 1.3.1)
98+
SharpZipLib (1.3.3)
4799
System.Buffers (4.5.1)
48100
System.Collections.Immutable (1.5)
101+
System.Diagnostics.DiagnosticSource (6.0)
102+
System.Memory (>= 4.5.4)
103+
System.Runtime.CompilerServices.Unsafe (>= 6.0)
49104
System.Memory (4.5.4)
50105
System.Buffers (>= 4.5.1)
51106
System.Numerics.Vectors (>= 4.5)
@@ -55,8 +110,13 @@ NUGET
55110
System.Collections.Immutable (>= 1.5)
56111
System.Resources.Extensions (4.7.1)
57112
System.Memory (>= 4.5.4)
58-
System.Runtime.CompilerServices.Unsafe (4.7.1)
113+
System.Runtime.CompilerServices.Unsafe (6.0)
114+
System.Text.Encodings.Web (5.0.1)
115+
System.Buffers (>= 4.5.1)
116+
System.Memory (>= 4.5.4)
59117
System.Threading.Tasks.Dataflow (4.11.1)
118+
System.Threading.Tasks.Extensions (4.5.4)
119+
System.Runtime.CompilerServices.Unsafe (>= 4.5.3)
60120
System.ValueTuple (4.5)
61121
Trinet.Core.IO.Ntfs (4.1.1)
62122

@@ -829,6 +889,9 @@ NUGET
829889
Chessie (0.6)
830890
FSharp.Core (>= 4.0.1.7-alpha)
831891
NETStandard.Library (>= 1.6)
892+
DynamicObj (1.0.1)
893+
FSharp.Core (>= 5.0)
894+
Newtonsoft.Json (>= 13.0.1)
832895
FAKE (5.16)
833896
FSharp.Compiler.Service (37.0)
834897
FSharp.Core (>= 4.6.2)
@@ -844,6 +907,11 @@ NUGET
844907
System.Runtime.Loader (>= 4.0)
845908
FSharp.Compiler.Tools (10.2.3)
846909
FSharp.Core (5.0.2)
910+
Microsoft.AspNetCore.WebUtilities (2.2)
911+
Microsoft.Net.Http.Headers (>= 2.2)
912+
System.Text.Encodings.Web (>= 4.5)
913+
Microsoft.Bcl.AsyncInterfaces (6.0)
914+
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netstandard2.1)) (== netstandard2.0)
847915
Microsoft.Build.Framework (16.6)
848916
System.Security.Permissions (>= 4.7)
849917
Microsoft.Build.Tasks.Core (16.6)
@@ -863,6 +931,34 @@ NUGET
863931
System.Collections.Immutable (>= 1.5)
864932
System.Security.Permissions (>= 4.7)
865933
System.Text.Encoding.CodePages (>= 4.0.1)
934+
Microsoft.Extensions.DependencyInjection (6.0)
935+
Microsoft.Bcl.AsyncInterfaces (>= 6.0) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netstandard2.1)) (== netstandard2.0)
936+
Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0)
937+
System.Runtime.CompilerServices.Unsafe (>= 6.0)
938+
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netstandard2.1)) (== netstandard2.0)
939+
Microsoft.Extensions.DependencyInjection.Abstractions (6.0)
940+
Microsoft.Bcl.AsyncInterfaces (>= 6.0) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netstandard2.1)) (== netstandard2.0)
941+
System.Threading.Tasks.Extensions (>= 4.5.4) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netstandard2.1)) (== netstandard2.0)
942+
Microsoft.Extensions.Logging (6.0)
943+
Microsoft.Bcl.AsyncInterfaces (>= 6.0) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netstandard2.1)) (== netstandard2.0)
944+
Microsoft.Extensions.DependencyInjection (>= 6.0)
945+
Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0)
946+
Microsoft.Extensions.Logging.Abstractions (>= 6.0)
947+
Microsoft.Extensions.Options (>= 6.0)
948+
System.Diagnostics.DiagnosticSource (>= 6.0)
949+
Microsoft.Extensions.Logging.Abstractions (6.0)
950+
System.Buffers (>= 4.5.1)
951+
System.Memory (>= 4.5.4)
952+
Microsoft.Extensions.Options (6.0)
953+
Microsoft.Extensions.DependencyInjection.Abstractions (>= 6.0)
954+
Microsoft.Extensions.Primitives (>= 6.0)
955+
System.ComponentModel.Annotations (>= 5.0) - restriction: || (&& (== netcoreapp3.1) (< netstandard2.1)) (== netstandard2.0)
956+
Microsoft.Extensions.Primitives (6.0)
957+
System.Memory (>= 4.5.4) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (== netstandard2.0)
958+
System.Runtime.CompilerServices.Unsafe (>= 6.0)
959+
Microsoft.Net.Http.Headers (2.2.8)
960+
Microsoft.Extensions.Primitives (>= 2.2)
961+
System.Buffers (>= 4.5)
866962
Microsoft.NETCore.Platforms (3.1.3)
867963
Microsoft.NETCore.Targets (2.1)
868964
Microsoft.Win32.Registry (4.5)
@@ -894,6 +990,21 @@ NUGET
894990
Newtonsoft.Json (>= 10.0.3)
895991
System.Net.Http.WinHttpHandler (>= 4.5)
896992
System.Security.Cryptography.ProtectedData (>= 4.4)
993+
Plotly.NET (2.0.0-preview.17)
994+
DynamicObj (>= 1.0.1)
995+
FSharp.Core (>= 5.0)
996+
Newtonsoft.Json (>= 13.0.1)
997+
Plotly.NET.ImageExport (2.0.0-preview.17)
998+
DynamicObj (>= 1.0.1)
999+
FSharp.Core (>= 5.0)
1000+
Plotly.NET (>= 2.0.0-preview.17)
1001+
PuppeteerSharp (>= 6.0)
1002+
PuppeteerSharp (6.1)
1003+
Microsoft.AspNetCore.WebUtilities (>= 2.0.2)
1004+
Microsoft.Bcl.AsyncInterfaces (>= 1.1)
1005+
Microsoft.Extensions.Logging (>= 2.0.2)
1006+
Newtonsoft.Json (>= 10.0.3)
1007+
SharpZipLib (>= 1.3.1)
8971008
runtime.debian.8-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3)
8981009
runtime.debian.9-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3)
8991010
runtime.fedora.23-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3)
@@ -928,6 +1039,7 @@ NUGET
9281039
runtime.ubuntu.16.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3)
9291040
runtime.ubuntu.16.10-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3)
9301041
runtime.ubuntu.18.04-x64.runtime.native.System.Security.Cryptography.OpenSsl (4.3.3)
1042+
SharpZipLib (1.3.3)
9311043
System.Buffers (4.5.1)
9321044
System.CodeDom (4.7)
9331045
System.Collections (4.3)
@@ -946,10 +1058,14 @@ NUGET
9461058
System.Threading (>= 4.3)
9471059
System.Threading.Tasks (>= 4.3)
9481060
System.Collections.Immutable (1.5)
1061+
System.ComponentModel.Annotations (5.0) - restriction: || (&& (== netcoreapp3.1) (< netstandard2.1)) (== netstandard2.0)
9491062
System.Diagnostics.Debug (4.3)
9501063
Microsoft.NETCore.Platforms (>= 1.1)
9511064
Microsoft.NETCore.Targets (>= 1.1)
9521065
System.Runtime (>= 4.3)
1066+
System.Diagnostics.DiagnosticSource (6.0)
1067+
System.Memory (>= 4.5.4)
1068+
System.Runtime.CompilerServices.Unsafe (>= 6.0)
9531069
System.Diagnostics.Tracing (4.3)
9541070
Microsoft.NETCore.Platforms (>= 1.1)
9551071
Microsoft.NETCore.Targets (>= 1.1)
@@ -1031,7 +1147,7 @@ NUGET
10311147
System.Runtime (4.3.1)
10321148
Microsoft.NETCore.Platforms (>= 1.1.1)
10331149
Microsoft.NETCore.Targets (>= 1.1.3)
1034-
System.Runtime.CompilerServices.Unsafe (4.7) - restriction: || (&& (== netcoreapp3.1) (>= monoandroid)) (&& (== netcoreapp3.1) (>= monotouch)) (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netcoreapp2.0)) (&& (== netcoreapp3.1) (< netcoreapp2.1)) (&& (== netcoreapp3.1) (< netstandard1.1)) (&& (== netcoreapp3.1) (< netstandard2.0)) (&& (== netcoreapp3.1) (>= uap10.1)) (&& (== netcoreapp3.1) (>= xamarinios)) (&& (== netcoreapp3.1) (>= xamarinmac)) (&& (== netcoreapp3.1) (>= xamarintvos)) (&& (== netcoreapp3.1) (>= xamarinwatchos)) (== netstandard2.0)
1150+
System.Runtime.CompilerServices.Unsafe (6.0)
10351151
System.Runtime.Extensions (4.3.1)
10361152
Microsoft.NETCore.Platforms (>= 1.1.1)
10371153
Microsoft.NETCore.Targets (>= 1.1.3)
@@ -1124,6 +1240,10 @@ NUGET
11241240
System.Text.Encoding.CodePages (4.7)
11251241
Microsoft.NETCore.Platforms (>= 3.1) - restriction: || (== netcoreapp3.1) (&& (== netstandard2.0) (>= netcoreapp2.0))
11261242
System.Runtime.CompilerServices.Unsafe (>= 4.7) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netcoreapp2.0)) (== netstandard2.0)
1243+
System.Text.Encodings.Web (6.0)
1244+
System.Buffers (>= 4.5.1) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (== netstandard2.0)
1245+
System.Memory (>= 4.5.4) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (== netstandard2.0)
1246+
System.Runtime.CompilerServices.Unsafe (>= 6.0)
11271247
System.Threading (4.3)
11281248
System.Runtime (>= 4.3)
11291249
System.Threading.Tasks (>= 4.3)
@@ -1132,6 +1252,8 @@ NUGET
11321252
Microsoft.NETCore.Targets (>= 1.1)
11331253
System.Runtime (>= 4.3)
11341254
System.Threading.Tasks.Dataflow (4.11.1)
1255+
System.Threading.Tasks.Extensions (4.5.4) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netstandard2.1)) (== netstandard2.0)
1256+
System.Runtime.CompilerServices.Unsafe (>= 4.5.3) - restriction: || (&& (== netcoreapp3.1) (>= net461)) (&& (== netcoreapp3.1) (< netcoreapp2.1)) (&& (== netcoreapp3.1) (< netstandard1.0)) (&& (== netcoreapp3.1) (< netstandard2.0)) (&& (== netcoreapp3.1) (>= wp8)) (== netstandard2.0)
11351257
System.ValueTuple (4.5)
11361258
System.Windows.Extensions (4.7) - restriction: || (== netcoreapp3.1) (&& (== netstandard2.0) (>= netcoreapp3.0))
11371259
System.Drawing.Common (>= 4.7) - restriction: || (== netcoreapp3.1) (&& (== netstandard2.0) (>= netcoreapp3.0))

0 commit comments

Comments
 (0)