File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
tests/Plotly.NET.Tests/HtmlCodegen Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 4
4
[ ![ Build and test] ( https://github.com/plotly/Plotly.NET/actions/workflows/build-and-test.yml/badge.svg )] ( https://github.com/plotly/Plotly.NET/actions/workflows/build-and-test.yml )
5
5
[ ![ ] ( https://img.shields.io/nuget/vpre/Plotly.NET )] ( https://www.nuget.org/packages/Plotly.NET/ )
6
6
[ ![ Discord] ( https://img.shields.io/discord/836161044501889064?color=purple&label=Join%20our%20Discord%21&logo=discord&logoColor=white )] ( https://discord.gg/k3kUtFY8DB )
7
- ![ ] ( https://img.shields.io/badge/supported%20plotly.js%20version-2.4.2 -blue )
7
+ ![ ] ( https://img.shields.io/badge/supported%20plotly.js%20version-2.6.3 -blue )
8
8
9
9
Plotly.NET provides functions for generating and rendering plotly.js charts in ** .NET** programming languages 📈🚀.
10
10
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ module HTML =
15
15
<head>
16
16
<!-- Plotly.js -->
17
17
<meta http-equiv="X-UA-Compatible" content="IE=11" >
18
- <script src="https://cdn.plot.ly/plotly-2.4.2 .min.js"></script>
18
+ <script src="https://cdn.plot.ly/plotly-2.6.3 .min.js"></script>
19
19
[ADDITIONAL_HEAD_TAGS]
20
20
<style>
21
21
.container {
@@ -62,7 +62,7 @@ module HTML =
62
62
newScript.AppendLine( " <script type=\" text/javascript\" >" ) |> ignore
63
63
newScript.AppendLine( @"
64
64
var renderPlotly_[SCRIPTID] = function() {
65
- var fsharpPlotlyRequire = requirejs.config({context:'fsharp-plotly',paths:{plotly:'https://cdn.plot.ly/plotly-2.4.2 .min'}}) || require;
65
+ var fsharpPlotlyRequire = requirejs.config({context:'fsharp-plotly',paths:{plotly:'https://cdn.plot.ly/plotly-2.6.3 .min'}}) || require;
66
66
fsharpPlotlyRequire(['plotly'], function(Plotly) {" ) |> ignore
67
67
newScript.AppendLine( @"
68
68
var data = [DATA];
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ let simpleChart =
20
20
let ``Html layout tests`` =
21
21
testList " SimpleTests.Simple tests" [
22
22
testCase " Expecting plotly js" ( fun () ->
23
- " https://cdn.plot.ly/plotly-2.4.2 .min"
23
+ " https://cdn.plot.ly/plotly-2.6.3 .min"
24
24
|> chartGeneratedContains simpleChart
25
25
);
26
26
testCase " Expecting data" ( fun () ->
@@ -36,7 +36,7 @@ let ``Html layout tests`` =
36
36
|> chartGeneratedContains simpleChart
37
37
);
38
38
testCase " Expecting require config" ( fun () ->
39
- " var fsharpPlotlyRequire = requirejs.config({context:'fsharp-plotly',paths:{plotly:'https://cdn.plot.ly/plotly-2.4.2 .min'}}) || require;"
39
+ " var fsharpPlotlyRequire = requirejs.config({context:'fsharp-plotly',paths:{plotly:'https://cdn.plot.ly/plotly-2.6.3 .min'}}) || require;"
40
40
|> chartGeneratedContains simpleChart
41
41
);
42
42
testCase " Expecting html tags in embedded page only" ( fun () ->
You can’t perform that action at this time.
0 commit comments