Skip to content

Commit 59f9cee

Browse files
committed
wip use static test charts for subsequent tests
1 parent b9fc7cd commit 59f9cee

85 files changed

Lines changed: 954 additions & 86 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

tests/Plotly.NET.Tests/HtmlCodegen/SimpleCharts.fs

Lines changed: 6 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -9,63 +9,30 @@ open Plotly.NET.StyleParam
99

1010
open TestUtils.HtmlCodegen
1111

12-
let withLineStyleChart =
13-
let x = [1.; 2.; 3.; 4.; 5.; 6.; 7.; 8.; 9.; 10.; ]
14-
let y = [2.; 1.5; 5.; 1.5; 3.; 2.5; 2.5; 1.5; 3.5; 1.]
15-
Chart.Line(
16-
x = x,
17-
y = y,
18-
Name="line",
19-
ShowMarkers=true,
20-
MarkerSymbol=StyleParam.MarkerSymbol.Square,
21-
UseDefaults = false
22-
)
23-
|> Chart.withLineStyle(Width=2.,Dash=StyleParam.DrawingStyle.Dot)
24-
25-
26-
let chartLineChart = Chart.Line([ for x in 1.0 .. 100.0 -> (x, x ** 2.0) ], UseDefaults = false)
27-
28-
let splineChart =
29-
let x = [1.; 2.; 3.; 4.; 5.; 6.; 7.; 8.; 9.; 10.; ]
30-
let y = [2.; 1.5; 5.; 1.5; 3.; 2.5; 2.5; 1.5; 3.5; 1.]
31-
Chart.Spline(x = x, y = y, Name="spline", UseDefaults = false)
32-
33-
let textLabelChart =
34-
let x = [1.; 2.; 3.; 4.; 5.; 6.; 7.; 8.; 9.; 10.; ]
35-
let y = [2.; 1.5; 5.; 1.5; 3.; 2.5; 2.5; 1.5; 3.5; 1.]
36-
let labels = ["a";"b";"c";"d";"e";"f";"g";"h";"i";"j";]
37-
Chart.Point(
38-
x = x,y = y,
39-
Name="points",
40-
MultiText=labels,
41-
TextPosition=StyleParam.TextPosition.TopRight,
42-
UseDefaults = false
43-
)
44-
4512

4613
[<Tests>]
4714
let ``Line and scatter plots`` =
4815
testList "SimpleCharts.Line and scatter plots" [
4916
testCase "With LineStyle data" ( fun () ->
5017
"""var data = [{"type":"scatter","name":"line","mode":"lines+markers","x":[1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0],"y":[2.0,1.5,5.0,1.5,3.0,2.5,2.5,1.5,3.5,1.0],"marker":{"symbol":"1"},"line":{"width":2.0,"dash":"dot"}}];"""
51-
|> chartGeneratedContains withLineStyleChart
18+
|> chartGeneratedContains TestCharts.SimpleCharts.``Line chart with line styling``
5219
);
5320
testCase "With LineStyle layout" ( fun () ->
54-
emptyLayout withLineStyleChart
21+
emptyLayout TestCharts.SimpleCharts.``Line chart with line styling``
5522
);
5623
testCase "Chart line data" ( fun () ->
5724
"""var data = [{"type":"scatter","mode":"lines","x":[1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0,11.0,12.0,13.0,14.0,15.0,16.0,17.0,18.0,19.0,20.0,21.0,22.0,23.0,24.0,25.0,26.0,27.0,28.0,29.0,30.0,31.0,32.0,33.0,34.0,35.0,36.0,37.0,38.0,39.0,40.0,41.0,42.0,43.0,44.0,45.0,46.0,47.0,48.0,49.0,50.0,51.0,52.0,53.0,54.0,55.0,56.0,57.0,58.0,59.0,60.0,61.0,62.0,63.0,64.0,65.0,66.0,67.0,68.0,69.0,70.0,71.0,72.0,73.0,74.0,75.0,76.0,77.0,78.0,79.0,80.0,81.0,82.0,83.0,84.0,85.0,86.0,87.0,88.0,89.0,90.0,91.0,92.0,93.0,94.0,95.0,96.0,97.0,98.0,99.0,100.0],"y":[1.0,4.0,9.0,16.0,25.0,36.0,49.0,64.0,81.0,100.0,121.0,144.0,169.0,196.0,225.0,256.0,289.0,324.0,361.0,400.0,441.0,484.0,529.0,576.0,625.0,676.0,729.0,784.0,841.0,900.0,961.0,1024.0,1089.0,1156.0,1225.0,1296.0,1369.0,1444.0,1521.0,1600.0,1681.0,1764.0,1849.0,1936.0,2025.0,2116.0,2209.0,2304.0,2401.0,2500.0,2601.0,2704.0,2809.0,2916.0,3025.0,3136.0,3249.0,3364.0,3481.0,3600.0,3721.0,3844.0,3969.0,4096.0,4225.0,4356.0,4489.0,4624.0,4761.0,4900.0,5041.0,5184.0,5329.0,5476.0,5625.0,5776.0,5929.0,6084.0,6241.0,6400.0,6561.0,6724.0,6889.0,7056.0,7225.0,7396.0,7569.0,7744.0,7921.0,8100.0,8281.0,8464.0,8649.0,8836.0,9025.0,9216.0,9409.0,9604.0,9801.0,10000.0],"marker":{},"line":{}}];"""
58-
|> chartGeneratedContains chartLineChart
25+
|> chartGeneratedContains TestCharts.SimpleCharts.``Simple line chart``
5926
);
6027
testCase "Chart line layout" ( fun () ->
61-
emptyLayout chartLineChart
28+
emptyLayout TestCharts.SimpleCharts.``Simple line chart``
6229
);
6330
testCase "Spline chart data" ( fun () ->
6431
"""var data = [{"type":"scatter","name":"spline","mode":"lines","x":[1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0],"y":[2.0,1.5,5.0,1.5,3.0,2.5,2.5,1.5,3.5,1.0],"marker":{},"line":{"shape":"spline"}}];"""
65-
|> chartGeneratedContains splineChart
32+
|> chartGeneratedContains TestCharts.SimpleCharts.``Simple spline chart``
6633
);
6734
testCase "Spline chart layout" ( fun () ->
68-
emptyLayout splineChart
35+
emptyLayout TestCharts.SimpleCharts.``Simple spline chart``
6936
);
7037
testCase "Text label data" ( fun () ->
7138
"""var data = [{"type":"scatter","name":"points","mode":"markers+text","x":[1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0],"y":[2.0,1.5,5.0,1.5,3.0,2.5,2.5,1.5,3.5,1.0],"text":["a","b","c","d","e","f","g","h","i","j"],"textposition":"top right","marker":{},"line":{}}];"""

tests/Plotly.NET.Tests/HtmlCodegen/SimpleTests.fs

Lines changed: 10 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -8,90 +8,53 @@ open Plotly.NET.GenericChart
88

99
open TestUtils.HtmlCodegen
1010

11-
let simpleChart =
12-
let xData = [0. .. 10.]
13-
let yData = [0. .. 10.]
14-
Chart.Point(x = xData, y = yData, UseDefaults = false)
15-
|> Chart.withTitle "Hello world!"
16-
|> Chart.withXAxisStyle (TitleText = "xAxis", ShowGrid=false)
17-
|> Chart.withYAxisStyle (TitleText = "yAxis", ShowGrid=false)
18-
1911
[<Tests>]
2012
let ``Html layout tests`` =
2113
testList "SimpleTests.Simple tests" [
2214
testCase "Expecting plotly js script reference in generated html document" ( fun () ->
2315
$"""https://cdn.plot.ly/plotly-{Globals.PLOTLYJS_VERSION}.min"""
24-
|> substringIsInChart simpleChart toEmbeddedHTML
16+
|> substringIsInChart TestCharts.SimpleCharts.``Point chart with axis labels and title`` toEmbeddedHTML
2517
);
2618
testCase "Expecting data" ( fun () ->
2719
"""var data = [{"type":"scatter","mode":"markers","x":[0.0,1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0],"y":[0.0,1.0,2.0,3.0,4.0,5.0,6.0,7.0,8.0,9.0,10.0],"marker":{},"line":{}}];"""
28-
|> chartGeneratedContains simpleChart
20+
|> chartGeneratedContains TestCharts.SimpleCharts.``Point chart with axis labels and title``
2921
);
3022
testCase "Expecting layout info" (fun () ->
3123
"""var layout = {"title":{"text":"Hello world!"},"xaxis":{"title":{"text":"xAxis"},"showgrid":false},"yaxis":{"title":{"text":"yAxis"},"showgrid":false}};"""
32-
|> chartGeneratedContains simpleChart
24+
|> chartGeneratedContains TestCharts.SimpleCharts.``Point chart with axis labels and title``
3325
);
3426
testCase "Expecting html tags in embedded page only" (fun () ->
3527
["<html>"; "</html>"; "<head>"; "</head>"; "<body>"; "</body>"; "<script type=\"text/javascript\">"; "</script>"]
36-
|> substringListIsInChart simpleChart toEmbeddedHTML
28+
|> substringListIsInChart TestCharts.SimpleCharts.``Point chart with axis labels and title`` toEmbeddedHTML
3729
);
3830
testCase "Expecting some html tags in both embedded and not embedded" (fun () ->
3931
["<script type=\"text/javascript\">"; "</script>"]
40-
|> chartGeneratedContainsList simpleChart
32+
|> chartGeneratedContainsList TestCharts.SimpleCharts.``Point chart with axis labels and title``
4133
);
4234
testCase "Passing args to the function" ( fun () ->
4335
"data, layout, config);"
44-
|> chartGeneratedContains simpleChart
36+
|> chartGeneratedContains TestCharts.SimpleCharts.``Point chart with axis labels and title``
4537
)
4638
]
4739

48-
let fullPlotlyJSChart =
49-
let xData = [0. .. 10.]
50-
let yData = [0. .. 10.]
51-
Chart.Point(xData, yData, UseDefaults = false)
52-
|> Chart.withDisplayOptions(
53-
DisplayOptions.init(
54-
PlotlyJSReference = Full
55-
)
56-
)
57-
58-
let cdnPlotlyJSChart =
59-
let xData = [0. .. 10.]
60-
let yData = [0. .. 10.]
61-
Chart.Point(xData, yData, UseDefaults = false)
62-
|> Chart.withDisplayOptions(
63-
DisplayOptions.init(
64-
PlotlyJSReference = CDN $"https://cdn.plot.ly/plotly-2.0.0.min"
65-
)
66-
)
67-
68-
let requirePlotlyJSChart =
69-
let xData = [0. .. 10.]
70-
let yData = [0. .. 10.]
71-
Chart.Point(xData, yData, UseDefaults = false)
72-
|> Chart.withDisplayOptions(
73-
DisplayOptions.init(
74-
PlotlyJSReference = Require $"https://cdn.plot.ly/plotly-{Globals.PLOTLYJS_VERSION}.min"
75-
)
76-
)
7740

7841
[<Tests>]
7942
let ``plotlyjs reference tests`` =
8043
testList "SimpleTests.plotlyjs reference" [
8144
testCase "full reference" (fun _ ->
8245
getFullPlotlyJS()
83-
|> substringIsInChart fullPlotlyJSChart toEmbeddedHTML
46+
|> substringIsInChart TestCharts.SimpleCharts.``Point chart with full plotly.js reference`` toEmbeddedHTML
8447
)
8548
testCase "cdn reference" (fun _ ->
8649
$"""https://cdn.plot.ly/plotly-2.0.0.min"""
87-
|> substringIsInChart cdnPlotlyJSChart toEmbeddedHTML
50+
|> substringIsInChart TestCharts.SimpleCharts.``Point chart with plotly.js cdn reference`` toEmbeddedHTML
8851
)
8952
testCase "require: Expecting cloudflare link" (fun () ->
9053
"""https://cdnjs.cloudflare.com/ajax/libs/require.js"""
91-
|> chartGeneratedContains requirePlotlyJSChart
54+
|> chartGeneratedContains TestCharts.SimpleCharts.``Point chart referencing plotly.js using require.js``
9255
);
9356
testCase "require: Expecting require config" (fun () ->
9457
(sprintf """var fsharpPlotlyRequire = requirejs.config({context:'fsharp-plotly',paths:{plotly:'https://cdn.plot.ly/plotly-%s.min'}}) || require;""" Globals.PLOTLYJS_VERSION)
95-
|> chartGeneratedContains requirePlotlyJSChart
58+
|> chartGeneratedContains TestCharts.SimpleCharts.``Point chart referencing plotly.js using require.js``
9659
);
9760
]

tests/Plotly.NET.Tests/Plotly.NET.Tests.fsproj

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,87 @@
1111
<EmbeddedResource Include="..\..\src\Plotly.NET\plotly-2.19.1.min.js" />
1212
<EmbeddedResource Include="..\..\src\Plotly.NET\plotly-2.19.1.min.js.LICENSE.txt" />
1313
<Compile Include="TestUtils.fs" />
14+
<Compile Include="TestCharts\Chart2D\Scatter.fs" />
15+
<Compile Include="TestCharts\Chart2D\Point.fs" />
16+
<Compile Include="TestCharts\Chart2D\Line.fs" />
17+
<Compile Include="TestCharts\Chart2D\Spline.fs" />
18+
<Compile Include="TestCharts\Chart2D\Bubble.fs" />
19+
<Compile Include="TestCharts\Chart2D\Range.fs" />
20+
<Compile Include="TestCharts\Chart2D\Area.fs" />
21+
<Compile Include="TestCharts\Chart2D\SplineArea.fs" />
22+
<Compile Include="TestCharts\Chart2D\StackedArea.fs" />
23+
<Compile Include="TestCharts\Chart2D\Funnel.fs" />
24+
<Compile Include="TestCharts\Chart2D\StackedFunnel.fs" />
25+
<Compile Include="TestCharts\Chart2D\Waterfall.fs" />
26+
<Compile Include="TestCharts\Chart2D\Bar.fs" />
27+
<Compile Include="TestCharts\Chart2D\StackedBar.fs" />
28+
<Compile Include="TestCharts\Chart2D\Column.fs" />
29+
<Compile Include="TestCharts\Chart2D\StackedColumn.fs" />
30+
<Compile Include="TestCharts\Chart2D\Histogram.fs" />
31+
<Compile Include="TestCharts\Chart2D\Histogram2D.fs" />
32+
<Compile Include="TestCharts\Chart2D\BoxPlot.fs" />
33+
<Compile Include="TestCharts\Chart2D\Violin.fs" />
34+
<Compile Include="TestCharts\Chart2D\Histogram2DContour.fs" />
35+
<Compile Include="TestCharts\Chart2D\Heatmap.fs" />
36+
<Compile Include="TestCharts\Chart2D\AnnotatedHeatmap.fs" />
37+
<Compile Include="TestCharts\Chart2D\Image.fs" />
38+
<Compile Include="TestCharts\Chart2D\Contour.fs" />
39+
<Compile Include="TestCharts\Chart2D\OHLC.fs" />
40+
<Compile Include="TestCharts\Chart2D\Candlestick.fs" />
41+
<Compile Include="TestCharts\Chart2D\Splom.fs" />
42+
<Compile Include="TestCharts\Chart2D\PointDensity.fs" />
43+
<Compile Include="TestCharts\Chart3D\Scatter3D.fs" />
44+
<Compile Include="TestCharts\Chart3D\Point3D.fs" />
45+
<Compile Include="TestCharts\Chart3D\Line3D.fs" />
46+
<Compile Include="TestCharts\Chart3D\Bubble3D.fs" />
47+
<Compile Include="TestCharts\Chart3D\Surface.fs" />
48+
<Compile Include="TestCharts\Chart3D\Mesh3D.fs" />
49+
<Compile Include="TestCharts\Chart3D\Cone.fs" />
50+
<Compile Include="TestCharts\Chart3D\StreamTube.fs" />
51+
<Compile Include="TestCharts\Chart3D\Volume.fs" />
52+
<Compile Include="TestCharts\Chart3D\IsoSurface.fs" />
53+
<Compile Include="TestCharts\ChartPolar\ScatterPolar.fs" />
54+
<Compile Include="TestCharts\ChartPolar\PointPolar.fs" />
55+
<Compile Include="TestCharts\ChartPolar\LinePolar.fs" />
56+
<Compile Include="TestCharts\ChartPolar\SplinePolar.fs" />
57+
<Compile Include="TestCharts\ChartPolar\BubblePolar.fs" />
58+
<Compile Include="TestCharts\ChartPolar\BarPolar.fs" />
59+
<Compile Include="TestCharts\ChartMap\ChoroplethMap.fs" />
60+
<Compile Include="TestCharts\ChartMap\ScatterGeo.fs" />
61+
<Compile Include="TestCharts\ChartMap\PointGeo.fs" />
62+
<Compile Include="TestCharts\ChartMap\LineGeo.fs" />
63+
<Compile Include="TestCharts\ChartMap\BubbleGeo.fs" />
64+
<Compile Include="TestCharts\ChartMap\ScatterMapbox.fs" />
65+
<Compile Include="TestCharts\ChartMap\LineMapbox.fs" />
66+
<Compile Include="TestCharts\ChartMap\BubbleMapbox.fs" />
67+
<Compile Include="TestCharts\ChartMap\ChoroplethMapbox.fs" />
68+
<Compile Include="TestCharts\ChartMap\DensityMapbox.fs" />
69+
<Compile Include="TestCharts\ChartTernary\ScatterTernary.fs" />
70+
<Compile Include="TestCharts\ChartTernary\PointTernary.fs" />
71+
<Compile Include="TestCharts\ChartTernary\LineTernary.fs" />
72+
<Compile Include="TestCharts\ChartTernary\BubbleTernary.fs" />
73+
<Compile Include="TestCharts\ChartCarpet\Carpet.fs" />
74+
<Compile Include="TestCharts\ChartCarpet\ScatterCarpet.fs" />
75+
<Compile Include="TestCharts\ChartCarpet\PointCarpet.fs" />
76+
<Compile Include="TestCharts\ChartCarpet\LineCarpet.fs" />
77+
<Compile Include="TestCharts\ChartCarpet\SplineCarpet.fs" />
78+
<Compile Include="TestCharts\ChartCarpet\BubbleCarpet.fs" />
79+
<Compile Include="TestCharts\ChartCarpet\ContourCarpet.fs" />
80+
<Compile Include="TestCharts\ChartDomain\Pie.fs" />
81+
<Compile Include="TestCharts\ChartDomain\Doughnut.fs" />
82+
<Compile Include="TestCharts\ChartDomain\FunnelArea.fs" />
83+
<Compile Include="TestCharts\ChartDomain\Sunburst.fs" />
84+
<Compile Include="TestCharts\ChartDomain\Treemap.fs" />
85+
<Compile Include="TestCharts\ChartDomain\ParralelCoord.fs" />
86+
<Compile Include="TestCharts\ChartDomain\ParralelCategories.fs" />
87+
<Compile Include="TestCharts\ChartDomain\Sankey.fs" />
88+
<Compile Include="TestCharts\ChartDomain\Table.fs" />
89+
<Compile Include="TestCharts\ChartDomain\Indicator.fs" />
90+
<Compile Include="TestCharts\ChartDomain\Icicle.fs" />
91+
<Compile Include="TestCharts\ChartSmith\ScatterSmith.fs" />
92+
<Compile Include="TestCharts\ChartSmith\PointSmith.fs" />
93+
<Compile Include="TestCharts\ChartSmith\LineSmith.fs" />
94+
<Compile Include="TestCharts\ChartSmith\BubbleSmith.fs" />
1495
<Compile Include="ChartAPIs\WithAxis.fs" />
1596
<Compile Include="ChartAPIs\Combine.fs" />
1697
<Compile Include="CommonAbstractions\StyleParams.fs" />
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
module TestCharts
2+
3+
// this module holds all test charts.
4+
// we use them in this project for various tests, but also to write them in plotly json schema for mocha testing in js with `Plotly.validate`.
5+
6+
open Plotly.NET
7+
open Plotly.NET.LayoutObjects
8+
open Plotly.NET.TraceObjects
9+
open Plotly.NET.ConfigObjects
10+
11+
module SimpleCharts =
12+
13+
14+
15+
let ``Simple line chart`` = Chart.Line([ for x in 1.0 .. 100.0 -> (x, x ** 2.0) ], UseDefaults = false)
16+
17+
18+
let ``Line chart with line styling`` =
19+
let x = [1.; 2.; 3.; 4.; 5.; 6.; 7.; 8.; 9.; 10.; ]
20+
let y = [2.; 1.5; 5.; 1.5; 3.; 2.5; 2.5; 1.5; 3.5; 1.]
21+
Chart.Line(
22+
x = x,
23+
y = y,
24+
Name="line",
25+
ShowMarkers=true,
26+
MarkerSymbol=StyleParam.MarkerSymbol.Square,
27+
UseDefaults = false
28+
)
29+
|> Chart.withLineStyle(Width=2.,Dash=StyleParam.DrawingStyle.Dot)
30+
31+
let ``Simple spline chart`` =
32+
let x = [1.; 2.; 3.; 4.; 5.; 6.; 7.; 8.; 9.; 10.; ]
33+
let y = [2.; 1.5; 5.; 1.5; 3.; 2.5; 2.5; 1.5; 3.5; 1.]
34+
Chart.Spline(x = x, y = y, Name="spline", UseDefaults = false)
35+
36+
37+
let ``Point chart with text labels`` =
38+
let x = [1.; 2.; 3.; 4.; 5.; 6.; 7.; 8.; 9.; 10.; ]
39+
let y = [2.; 1.5; 5.; 1.5; 3.; 2.5; 2.5; 1.5; 3.5; 1.]
40+
let labels = ["a";"b";"c";"d";"e";"f";"g";"h";"i";"j";]
41+
Chart.Point(
42+
x = x,y = y,
43+
Name="points",
44+
MultiText=labels,
45+
TextPosition=StyleParam.TextPosition.TopRight,
46+
UseDefaults = false
47+
)
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace Plotly.NET.Tests.TestCharts.Chart2D
2+
3+
open Plotly.NET
4+
open Plotly.NET.LayoutObjects
5+
open Plotly.NET.TraceObjects
6+
open Plotly.NET.GenericChart
7+
open Plotly.NET.StyleParam
8+
9+
/// Test charts created with Chart2D.Chart.AnnotatedHeatmap
10+
module AnnotatedHeatmap = ()
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace Plotly.NET.Tests.TestCharts.Chart2D
2+
3+
open Plotly.NET
4+
open Plotly.NET.LayoutObjects
5+
open Plotly.NET.TraceObjects
6+
open Plotly.NET.GenericChart
7+
open Plotly.NET.StyleParam
8+
9+
/// Test charts created with Chart2D.Chart.Area
10+
module Area = ()
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace Plotly.NET.Tests.TestCharts.Chart2D
2+
3+
open Plotly.NET
4+
open Plotly.NET.LayoutObjects
5+
open Plotly.NET.TraceObjects
6+
open Plotly.NET.GenericChart
7+
open Plotly.NET.StyleParam
8+
9+
/// Test charts created with Chart2D.Chart.Bar
10+
module Bar = ()
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace Plotly.NET.Tests.TestCharts.Chart2D
2+
3+
open Plotly.NET
4+
open Plotly.NET.LayoutObjects
5+
open Plotly.NET.TraceObjects
6+
open Plotly.NET.GenericChart
7+
open Plotly.NET.StyleParam
8+
9+
/// Test charts created with Chart2D.Chart.BoxPlot
10+
module BoxPlot = ()
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace Plotly.NET.Tests.TestCharts.Chart2D
2+
3+
open Plotly.NET
4+
open Plotly.NET.LayoutObjects
5+
open Plotly.NET.TraceObjects
6+
open Plotly.NET.GenericChart
7+
open Plotly.NET.StyleParam
8+
9+
/// Test charts created with Chart2D.Chart.Bubble
10+
module Bubble = ()
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
namespace Plotly.NET.Tests.TestCharts.Chart2D
2+
3+
open Plotly.NET
4+
open Plotly.NET.LayoutObjects
5+
open Plotly.NET.TraceObjects
6+
open Plotly.NET.GenericChart
7+
open Plotly.NET.StyleParam
8+
9+
/// Test charts created with Chart2D.Chart.Candlestick
10+
module Candlestick = ()

0 commit comments

Comments
 (0)