From 35f08971d9917f54f8fca028aa3db8e945ea242c Mon Sep 17 00:00:00 2001 From: Kevin Schneider Date: Thu, 17 Oct 2024 09:02:34 +0200 Subject: [PATCH 1/5] #457: Remove C# interop from core library --- Plotly.NET.sln | 9 - build/ProjectInfo.fs | 2 - src/Plotly.NET.CSharp/ChartAPI/Chart3D.cs | 72 +- .../CSharpLayer/GenericChartExtensions.fs | 1044 ------ src/Plotly.NET/ChartAPI/Chart.fs | 1140 +++---- src/Plotly.NET/ChartAPI/Chart2D.fs | 2864 ++++++++--------- src/Plotly.NET/ChartAPI/Chart3D.fs | 688 ++-- src/Plotly.NET/ChartAPI/ChartCarpet.fs | 512 +-- src/Plotly.NET/ChartAPI/ChartDomain.fs | 902 +++--- src/Plotly.NET/ChartAPI/ChartMap.fs | 934 +++--- src/Plotly.NET/ChartAPI/ChartPolar.fs | 460 +-- src/Plotly.NET/ChartAPI/ChartSmith.fs | 320 +- src/Plotly.NET/ChartAPI/ChartTernary.fs | 340 +- .../CommonAbstractions/AutoRangeOptions.fs | 20 +- src/Plotly.NET/CommonAbstractions/ColorBar.fs | 184 +- src/Plotly.NET/CommonAbstractions/Font.fs | 12 +- src/Plotly.NET/CommonAbstractions/Line.fs | 80 +- src/Plotly.NET/CommonAbstractions/Padding.fs | 16 +- .../CommonAbstractions/TickFormatStop.fs | 20 +- src/Plotly.NET/CommonAbstractions/Title.fs | 48 +- src/Plotly.NET/Config/Config.fs | 156 +- .../Config/ObjectAbstractions/Edits.fs | 40 +- .../ToImageButtonOptions.fs | 20 +- .../DisplayOptions/DisplayOptions.fs | 28 +- src/Plotly.NET/Layout/Layout.fs | 296 +- .../ObjectAbstractions/3D/AspectRatio.fs | 12 +- .../Layout/ObjectAbstractions/3D/Camera.fs | 56 +- .../Layout/ObjectAbstractions/3D/Scene.fs | 48 +- .../Common/ActiveSelection.fs | 8 +- .../ObjectAbstractions/Common/ActiveShape.fs | 8 +- .../ObjectAbstractions/Common/Annotation.fs | 168 +- .../ObjectAbstractions/Common/Button.fs | 28 +- .../ObjectAbstractions/Common/ColorAxis.fs | 36 +- .../Common/DefaultColorScales.fs | 12 +- .../ObjectAbstractions/Common/Domain.fs | 16 +- .../ObjectAbstractions/Common/Hoverlabel.fs | 24 +- .../ObjectAbstractions/Common/LayoutGrid.fs | 48 +- .../ObjectAbstractions/Common/LayoutImage.fs | 60 +- .../ObjectAbstractions/Common/Legend.fs | 100 +- .../ObjectAbstractions/Common/LinearAxis.fs | 700 ++-- .../ObjectAbstractions/Common/Margin.fs | 24 +- .../Layout/ObjectAbstractions/Common/Minor.fs | 52 +- .../ObjectAbstractions/Common/ModeBar.fs | 28 +- .../ObjectAbstractions/Common/NewSelection.fs | 16 +- .../ObjectAbstractions/Common/NewShape.fs | 56 +- .../Common/RangeSelector.fs | 44 +- .../ObjectAbstractions/Common/RangeSlider.fs | 36 +- .../ObjectAbstractions/Common/Rangebreak.fs | 28 +- .../ObjectAbstractions/Common/Selection.fs | 48 +- .../Layout/ObjectAbstractions/Common/Shape.fs | 112 +- .../ObjectAbstractions/Common/ShapeLabel.fs | 32 +- .../ObjectAbstractions/Common/Transition.fs | 12 +- .../ObjectAbstractions/Common/UniformText.fs | 8 +- .../ObjectAbstractions/Common/UpdateMenu.fs | 96 +- .../Layout/ObjectAbstractions/Map/Geo.fs | 124 +- .../ObjectAbstractions/Map/GeoProjection.fs | 24 +- .../Layout/ObjectAbstractions/Map/Mapbox.fs | 36 +- .../ObjectAbstractions/Map/MapboxBounds.fs | 16 +- .../ObjectAbstractions/Map/MapboxCluster.fs | 32 +- .../ObjectAbstractions/Map/MapboxLayer.fs | 68 +- .../Map/MapboxLayerSymbol.fs | 24 +- .../ObjectAbstractions/Polar/AngularAxis.fs | 180 +- .../Layout/ObjectAbstractions/Polar/Polar.fs | 36 +- .../ObjectAbstractions/Polar/RadialAxis.fs | 204 +- .../ObjectAbstractions/Smith/ImaginaryAxis.fs | 96 +- .../ObjectAbstractions/Smith/RealAxis.fs | 104 +- .../Layout/ObjectAbstractions/Smith/Smith.fs | 16 +- .../ObjectAbstractions/Ternary/Ternary.fs | 24 +- src/Plotly.NET/Plotly.NET.fsproj | 1 - src/Plotly.NET/Templates/Template.fs | 4 +- .../Traces/ObjectAbstractions/Bins.fs | 12 +- .../Traces/ObjectAbstractions/Box.fs | 20 +- .../Traces/ObjectAbstractions/Caps.fs | 20 +- .../Traces/ObjectAbstractions/Contours.fs | 156 +- .../Traces/ObjectAbstractions/Cumulative.fs | 12 +- .../Traces/ObjectAbstractions/Dimensions.fs | 62 +- .../Traces/ObjectAbstractions/Error.fs | 52 +- .../ObjectAbstractions/FinanceMarker.fs | 16 +- .../ObjectAbstractions/FunnelConnector.fs | 12 +- .../Traces/ObjectAbstractions/Gradient.fs | 12 +- .../Traces/ObjectAbstractions/Icicle.fs | 20 +- .../Traces/ObjectAbstractions/Indicator.fs | 140 +- .../Traces/ObjectAbstractions/Lighting.fs | 40 +- .../Traces/ObjectAbstractions/Marker.fs | 136 +- .../Traces/ObjectAbstractions/MeanLine.fs | 12 +- .../Traces/ObjectAbstractions/Pathbar.fs | 20 +- .../Traces/ObjectAbstractions/Pattern.fs | 36 +- .../Traces/ObjectAbstractions/Projection.fs | 24 +- .../Traces/ObjectAbstractions/Sankey.fs | 128 +- .../Traces/ObjectAbstractions/Slices.fs | 24 +- .../Traces/ObjectAbstractions/SpaceFrame.fs | 8 +- .../ObjectAbstractions/SplomDiagonal.fs | 4 +- .../ObjectAbstractions/StreamTubeStarts.fs | 12 +- .../Traces/ObjectAbstractions/Sunburst.fs | 8 +- .../Traces/ObjectAbstractions/Surface.fs | 16 +- .../Traces/ObjectAbstractions/Table.fs | 52 +- .../ObjectAbstractions/TraceSelection.fs | 36 +- .../Traces/ObjectAbstractions/Treemap.fs | 24 +- .../ObjectAbstractions/WaterfallConnector.fs | 12 +- src/Plotly.NET/Traces/Trace.fs | 236 +- src/Plotly.NET/Traces/Trace2D.fs | 1640 +++++----- src/Plotly.NET/Traces/Trace3D.fs | 686 ++-- src/Plotly.NET/Traces/TraceCarpet.fs | 234 +- src/Plotly.NET/Traces/TraceDomain.fs | 596 ++-- src/Plotly.NET/Traces/TraceGeo.fs | 162 +- src/Plotly.NET/Traces/TraceMapbox.fs | 232 +- src/Plotly.NET/Traces/TracePolar.fs | 164 +- src/Plotly.NET/Traces/TraceSmith.fs | 80 +- src/Plotly.NET/Traces/TraceTernary.fs | 84 +- .../APITest/Chart2DAPITest.cs | 34 - .../APITest/Chart3DAPITest.cs | 20 - .../APITest/ChartDomainAPITest.cs | 20 - .../APITest/ChartMapAPITest.cs | 22 - .../APITest/ChartPolarAPITest.cs | 22 - .../CSharpInteroperabilityTests.csproj | 25 - .../LayoutObjectTests.cs | 23 - .../StyleParamTests.cs | 23 - .../TraceObjectTests.cs | 11 - 118 files changed, 8679 insertions(+), 9873 deletions(-) delete mode 100644 src/Plotly.NET/CSharpLayer/GenericChartExtensions.fs delete mode 100644 tests/CoreTests/CSharpInteroperabilityTests/APITest/Chart2DAPITest.cs delete mode 100644 tests/CoreTests/CSharpInteroperabilityTests/APITest/Chart3DAPITest.cs delete mode 100644 tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartDomainAPITest.cs delete mode 100644 tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartMapAPITest.cs delete mode 100644 tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartPolarAPITest.cs delete mode 100644 tests/CoreTests/CSharpInteroperabilityTests/CSharpInteroperabilityTests.csproj delete mode 100644 tests/CoreTests/CSharpInteroperabilityTests/LayoutObjectTests.cs delete mode 100644 tests/CoreTests/CSharpInteroperabilityTests/StyleParamTests.cs delete mode 100644 tests/CoreTests/CSharpInteroperabilityTests/TraceObjectTests.cs diff --git a/Plotly.NET.sln b/Plotly.NET.sln index 4b4a91931..df437dbcd 100644 --- a/Plotly.NET.sln +++ b/Plotly.NET.sln @@ -86,8 +86,6 @@ Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "FSharpConsole", "tests\Cons EndProject Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "CoreTests", "tests\CoreTests\CoreTests\CoreTests.fsproj", "{DA7BC908-7DC9-4BA7-8100-17D3FD2901EA}" EndProject -Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "CSharpInteroperabilityTests", "tests\CoreTests\CSharpInteroperabilityTests\CSharpInteroperabilityTests.csproj", "{C10C0225-FBBA-4E3C-99FD-FA4A2BCBB3B1}" -EndProject Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "StrongNameTests", "tests\CoreTests\StrongNameTests\StrongNameTests.fsproj", "{32E187BB-D1D4-4864-A021-55A7A08E17EC}" EndProject Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "ImageExportTests", "tests\ExtensionLibsTests\ImageExportTests\ImageExportTests.fsproj", "{A3693DD1-4D34-4B10-B310-07A4C7433F7D}" @@ -288,12 +286,6 @@ Global {DA7BC908-7DC9-4BA7-8100-17D3FD2901EA}.Dotnet|Any CPU.Build.0 = Debug|Any CPU {DA7BC908-7DC9-4BA7-8100-17D3FD2901EA}.Release|Any CPU.ActiveCfg = Release|Any CPU {DA7BC908-7DC9-4BA7-8100-17D3FD2901EA}.Release|Any CPU.Build.0 = Release|Any CPU - {C10C0225-FBBA-4E3C-99FD-FA4A2BCBB3B1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {C10C0225-FBBA-4E3C-99FD-FA4A2BCBB3B1}.Debug|Any CPU.Build.0 = Debug|Any CPU - {C10C0225-FBBA-4E3C-99FD-FA4A2BCBB3B1}.Dotnet|Any CPU.ActiveCfg = Debug|Any CPU - {C10C0225-FBBA-4E3C-99FD-FA4A2BCBB3B1}.Dotnet|Any CPU.Build.0 = Debug|Any CPU - {C10C0225-FBBA-4E3C-99FD-FA4A2BCBB3B1}.Release|Any CPU.ActiveCfg = Release|Any CPU - {C10C0225-FBBA-4E3C-99FD-FA4A2BCBB3B1}.Release|Any CPU.Build.0 = Release|Any CPU {32E187BB-D1D4-4864-A021-55A7A08E17EC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {32E187BB-D1D4-4864-A021-55A7A08E17EC}.Debug|Any CPU.Build.0 = Debug|Any CPU {32E187BB-D1D4-4864-A021-55A7A08E17EC}.Dotnet|Any CPU.ActiveCfg = Debug|Any CPU @@ -344,7 +336,6 @@ Global {029EBCB4-0E8B-40F8-B7AA-61B814FAE5A6} = {E8897848-2EF4-4126-9315-ADE0BA92D951} {598AB47B-EFE7-414A-B6EA-8C96B4AA7A4C} = {E8897848-2EF4-4126-9315-ADE0BA92D951} {DA7BC908-7DC9-4BA7-8100-17D3FD2901EA} = {023425D8-B375-45ED-A29A-A3ED00C0E2BC} - {C10C0225-FBBA-4E3C-99FD-FA4A2BCBB3B1} = {023425D8-B375-45ED-A29A-A3ED00C0E2BC} {32E187BB-D1D4-4864-A021-55A7A08E17EC} = {023425D8-B375-45ED-A29A-A3ED00C0E2BC} {A3693DD1-4D34-4B10-B310-07A4C7433F7D} = {02886FBB-DB32-4BBB-A93C-E13EBF453ACC} {1170E3A9-D83E-40B0-8D51-20485C76BE88} = {02886FBB-DB32-4BBB-A93C-E13EBF453ACC} diff --git a/build/ProjectInfo.fs b/build/ProjectInfo.fs index 089644062..4aa18309a 100644 --- a/build/ProjectInfo.fs +++ b/build/ProjectInfo.fs @@ -73,12 +73,10 @@ let testBaseProjects = [ // test projects (.NET) let CoreTestProject = ProjectInfo.create("CoreTests", "tests/CoreTests/CoreTests/CoreTests.fsproj") -let CSharpInteroperabilityTestProject = ProjectInfo.create("CSharpInteroperabilityTests", "tests/CoreTests/CSharpInteroperabilityTests/CSharpInteroperabilityTests.csproj") /// contains project info about the core test projects let testProjectsCore = [ CoreTestProject - CSharpInteroperabilityTestProject ] let ImageExportTestProject = ProjectInfo.create("ImageExportTests", "tests/ExtensionLibsTests/ImageExportTests/ImageExportTests.fsproj") diff --git a/src/Plotly.NET.CSharp/ChartAPI/Chart3D.cs b/src/Plotly.NET.CSharp/ChartAPI/Chart3D.cs index add74c53b..bd3015593 100644 --- a/src/Plotly.NET.CSharp/ChartAPI/Chart3D.cs +++ b/src/Plotly.NET.CSharp/ChartAPI/Chart3D.cs @@ -7,6 +7,7 @@ using Plotly.NET.LayoutObjects; using Plotly.NET.TraceObjects; using System.Runtime.InteropServices; +using static Plotly.NET.StyleParam; namespace Plotly.NET.CSharp @@ -43,6 +44,8 @@ public static partial class Chart /// Sets the width of the line /// sets the drawing style of the line /// Sets the line (use this for more finegrained control than the other line-associated arguments) + /// Sets the camera projection type of this trace. + /// Sets the camera of this trace. /// Sets the projection of this trace. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Scatter3D( @@ -69,6 +72,8 @@ public static GenericChart Scatter3D( Optional LineWidth = default, Optional LineDash = default, Optional Line = default, + Optional CameraProjectionType = default , + Optional Camera = default, Optional Projection = default, Optional UseDefaults = default ) @@ -102,6 +107,8 @@ public static GenericChart Scatter3D( LineDash: LineDash.ToOption(), Line: Line.ToOption(), Projection: Projection.ToOption(), + CameraProjectionType: CameraProjectionType.ToOption(), + Camera: Camera.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -127,6 +134,8 @@ public static GenericChart Scatter3D( /// Sets the marker symbol for each datum /// Sets the marker symbol for each individual datum /// Sets the marker (use this for more finegrained control than the other marker-associated arguments) + /// Sets the camera projection type of this trace. + /// Sets the camera of this trace. /// Sets the projection of this trace. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Point3D( @@ -147,6 +156,8 @@ public static GenericChart Point3D( Optional MarkerSymbol = default, Optional> MultiMarkerSymbol = default, Optional Marker = default, + Optional CameraProjectionType = default, + Optional Camera = default, Optional Projection = default, Optional UseDefaults = default ) @@ -173,6 +184,8 @@ public static GenericChart Point3D( MarkerSymbol: MarkerSymbol.ToOption(), MultiMarkerSymbol: MultiMarkerSymbol.ToOption(), Marker: Marker.ToOption(), + CameraProjectionType: CameraProjectionType.ToOption(), + Camera: Camera.ToOption(), Projection: Projection.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -205,6 +218,8 @@ public static GenericChart Point3D( /// Sets the width of the line /// sets the drawing style of the line /// Sets the line (use this for more finegrained control than the other line-associated arguments) + /// Sets the camera projection type of this trace. + /// Sets the camera of this trace. /// Sets the projection of this trace. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Line3D( @@ -231,6 +246,8 @@ public static GenericChart Line3D( Optional LineWidth = default, Optional LineDash = default, Optional Line = default, + Optional CameraProjectionType = default, + Optional Camera = default, Optional Projection = default, Optional UseDefaults = default ) @@ -263,6 +280,8 @@ public static GenericChart Line3D( LineWidth: LineWidth.ToOption(), LineDash: LineDash.ToOption(), Line: Line.ToOption(), + CameraProjectionType: CameraProjectionType.ToOption(), + Camera: Camera.ToOption(), Projection: Projection.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -290,6 +309,8 @@ public static GenericChart Line3D( /// Sets the marker symbol for each datum /// Sets the marker symbol for each individual datum /// Sets the marker (use this for more finegrained control than the other marker-associated arguments) + /// Sets the camera projection type of this trace. + /// Sets the camera of this trace. /// Sets the projection of this trace. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Bubble3D( @@ -311,6 +332,8 @@ public static GenericChart Bubble3D( Optional MarkerSymbol = default, Optional> MultiMarkerSymbol = default, Optional Marker = default, + Optional CameraProjectionType = default, + Optional Camera = default, Optional Projection = default, Optional UseDefaults = default ) @@ -338,6 +361,8 @@ public static GenericChart Bubble3D( MarkerSymbol: MarkerSymbol.ToOption(), MultiMarkerSymbol: MultiMarkerSymbol.ToOption(), Marker: Marker.ToOption(), + CameraProjectionType: CameraProjectionType.ToOption(), + Camera: Camera.ToOption(), Projection: Projection.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -362,6 +387,8 @@ public static GenericChart Bubble3D( /// Sets the contours on the surface /// Sets the colorscale of the surface /// Whether or not to show the colorbar/colorscale + /// Sets the camera projection type of this trace. + /// Sets the camera of this trace. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Surface( IEnumerable> zData, @@ -373,8 +400,11 @@ public static GenericChart Surface( Optional Text = default, Optional> MultiText = default, Optional Contours = default, - Optional ColorScale = default, + Optional ColorScale = default, + Optional CameraProjectionType = default, + Optional Camera = default, Optional ShowScale = default, + Optional UseDefaults = default ) where ZType : IConvertible @@ -394,6 +424,8 @@ public static GenericChart Surface( Contours: Contours.ToOption(), ColorScale: ColorScale.ToOption(), ShowScale: ShowScale.ToOption(), + CameraProjectionType: CameraProjectionType.ToOption(), + Camera: Camera.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -428,6 +460,8 @@ public static GenericChart Surface( /// Sets the colorbar /// Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. /// Determines how the mesh surface triangles are derived from the set of vertices (points) represented by the `x`, `y` and `z` arrays, if the `i`, `j`, `k` arrays are not supplied. + /// Sets the camera projection type of this trace. + /// Sets the camera of this trace. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Mesh3D( IEnumerable x, @@ -447,7 +481,9 @@ public static GenericChart Mesh3D ShowScale = default, Optional ColorBar = default, Optional FlatShading = default, - Optional TriangulationAlgorithm = default, + Optional TriangulationAlgorithm = default, + Optional CameraProjectionType = default, + Optional Camera = default, Optional UseDefaults = default ) where XType : IConvertible @@ -477,6 +513,8 @@ public static GenericChart Mesh3DSets the colorbar /// Determines whether `sizeref` is set as a "scaled" (i.e unitless) scalar (normalized by the max u/v/w norm in the vector field) or as "absolute" value (in the same units as the vector field). /// Sets the cones' anchor with respect to their x/y/z positions. Note that "cm" denote the cone's center of mass which corresponds to 1/4 from the tail to tip. + /// Sets the camera projection type of this trace. + /// Sets the camera of this trace. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Cone( IEnumerable x, @@ -524,7 +564,9 @@ public static GenericChart Cone ShowScale = default, Optional ColorBar = default, Optional SizeMode = default, - Optional ConeAnchor = default, + Optional ConeAnchor = default, + Optional CameraProjectionType = default, + Optional Camera = default, Optional UseDefaults = default ) where XType : IConvertible @@ -552,6 +594,8 @@ public static GenericChart ConeSets the colorbar /// The maximum number of displayed segments in a streamtube. /// Use this object to specify custom tube start positions + /// Sets the camera projection type of this trace. + /// Sets the camera of this trace. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart StreamTube( IEnumerable x, @@ -601,7 +647,9 @@ public static GenericChart StreamTube ShowScale = default, Optional ColorBar = default, Optional MaxDisplayed = default, - Optional TubeStarts = default, + Optional TubeStarts = default, + Optional CameraProjectionType = default, + Optional Camera = default, Optional UseDefaults = default ) where XType : IConvertible @@ -629,6 +677,8 @@ public static GenericChart StreamTubeAdds Slices through the volume /// Sets the surface. /// Sets the opacityscale. The opacityscale must be an array containing arrays mapping a normalized value to an opacity value. At minimum, a mapping for the lowest (0) and highest (1) values are required. For example, `[[0, 1], [0.5, 0.2], [1, 1]]` means that higher/lower values would have higher opacity values and those in the middle would be more transparent Alternatively, `opacityscale` may be a palette name string of the following list: 'min', 'max', 'extremes' and 'uniform'. The default is 'uniform'. + /// Sets the camera projection type of this trace. + /// Sets the camera of this trace. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Volume( IEnumerable x, @@ -677,7 +729,9 @@ public static GenericChart Volume Caps = default, Optional Slices = default, Optional Surface = default, - Optional>> OpacityScale = default, + Optional>> OpacityScale = default, + Optional CameraProjectionType = default, + Optional Camera = default, Optional UseDefaults = default ) where XType : IConvertible @@ -706,6 +760,8 @@ public static GenericChart VolumeSets the caps (color-coded surfaces on the sides of the visualization domain) /// Adds Slices through the volume /// Sets the surface. + /// Sets the camera projection type of this trace. + /// Sets the camera of this trace. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart IsoSurface( IEnumerable x, @@ -755,6 +813,8 @@ public static GenericChart IsoSurface( Optional Caps = default, Optional Slices = default, Optional Surface = default, + Optional CameraProjectionType = default, + Optional Camera = default, Optional UseDefaults = default ) where XType : IConvertible @@ -781,6 +841,8 @@ public static GenericChart IsoSurface( Caps: Caps.ToOption(), Slices: Slices.ToOption(), Surface: Surface.ToOption(), + CameraProjectionType: CameraProjectionType.ToOption(), + Camera: Camera.ToOption(), UseDefaults: UseDefaults.ToOption() ); } diff --git a/src/Plotly.NET/CSharpLayer/GenericChartExtensions.fs b/src/Plotly.NET/CSharpLayer/GenericChartExtensions.fs deleted file mode 100644 index aadeb6dd0..000000000 --- a/src/Plotly.NET/CSharpLayer/GenericChartExtensions.fs +++ /dev/null @@ -1,1044 +0,0 @@ -namespace Plotly.NET - -open Plotly.NET.LayoutObjects -open Plotly.NET.TraceObjects -open System -open System.IO -open Giraffe.ViewEngine - -open DynamicObj -open System.Runtime.InteropServices -open System.Runtime.CompilerServices - -///Extension methods for providing a Plotly.NET fluent interface pattern for C# -[] -module GenericChartExtensions = - - type GenericChart with - - [] - [] - member this.WithTraceInfo - ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title - ) = - this - |> Chart.withTraceInfo ( - ?Name = Name, - ?Visible = Visible, - ?ShowLegend = ShowLegend, - ?LegendRank = LegendRank, - ?LegendGroup = LegendGroup, - ?LegendGroupTitle = LegendGroupTitle - ) - - /// Set the axis anchor id the trace is belonging to - [] - [] - member this.WithAxisAnchor - ( - [] ?X, - [] ?Y - ) = - this |> Chart.withAxisAnchor (?X = X, ?Y = Y) - - /// Apply styling to the Marker(s) of the chart as Object. - [] - [] - member this.WithMarker(marker: Marker) = this |> Chart.withMarker marker - - /// Apply styling to the Marker(s) of the chart. - [] - [] - member this.WithMarkerStyle - ( - [] ?AutoColorScale: bool, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?Color: Color, - [] ?Colors: seq, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?ColorBar: ColorBar, - [] ?Colorscale: StyleParam.Colorscale, - [] ?Gradient: Gradient, - [] ?Outline: Line, - [] ?MaxDisplayed: int, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Pattern: Pattern, - [] ?ReverseScale: bool, - [] ?ShowScale: bool, - [] ?Size: int, - [] ?MultiSize: seq, - [] ?SizeMin: int, - [] ?SizeMode: StyleParam.MarkerSizeMode, - [] ?SizeRef: int, - [] ?Symbol: StyleParam.MarkerSymbol, - [] ?MultiSymbol: seq, - [] ?Symbol3D: StyleParam.MarkerSymbol3D, - [] ?MultiSymbol3D: seq, - [] ?OutlierColor: Color, - [] ?OutlierWidth: int - ) = - this - |> Chart.withMarkerStyle ( - ?AutoColorScale = AutoColorScale, - ?CAuto = CAuto, - ?CMax = CMax, - ?CMid = CMid, - ?CMin = CMin, - ?Color = Color, - ?Colors = Colors, - ?ColorAxis = ColorAxis, - ?ColorBar = ColorBar, - ?Colorscale = Colorscale, - ?Gradient = Gradient, - ?Outline = Outline, - ?Size = Size, - ?MultiSize = MultiSize, - ?Opacity = Opacity, - ?Pattern = Pattern, - ?MultiOpacity = MultiOpacity, - ?Symbol = Symbol, - ?MultiSymbol = MultiSymbol, - ?Symbol3D = Symbol3D, - ?MultiSymbol3D = MultiSymbol3D, - ?OutlierColor = OutlierColor, - ?OutlierWidth = OutlierWidth, - ?MaxDisplayed = MaxDisplayed, - ?ReverseScale = ReverseScale, - ?ShowScale = ShowScale, - ?SizeMin = SizeMin, - ?SizeMode = SizeMode, - ?SizeRef = SizeRef - ) - - /// Apply styling to the Line(s) of the chart as Object. - [] - [] - member this.WithLine(line: Line) = this |> Chart.withLine line - - /// Apply styling to the Line(s) of the chart. - [] - [] - member this.WithLineStyle - ( - [] ?AutoColorScale: bool, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?Color: Color, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?Colorscale: StyleParam.Colorscale, - [] ?ReverseScale: bool, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?Dash: StyleParam.DrawingStyle, - [] ?Shape: StyleParam.Shape, - [] ?Simplify: bool, - [] ?Smoothing: float, - [] ?Width: float, - [] ?MultiWidth: seq, - [] ?OutlierColor: Color, - [] ?OutlierWidth: float - ) = - this - |> Chart.withLineStyle ( - ?AutoColorScale = AutoColorScale, - ?CAuto = CAuto, - ?CMax = CMax, - ?CMid = CMid, - ?CMin = CMin, - ?Color = Color, - ?ColorAxis = ColorAxis, - ?Colorscale = Colorscale, - ?ReverseScale = ReverseScale, - ?ShowScale = ShowScale, - ?ColorBar = ColorBar, - ?Dash = Dash, - ?Shape = Shape, - ?Simplify = Simplify, - ?Smoothing = Smoothing, - ?Width = Width, - ?MultiWidth = MultiWidth, - ?OutlierColor = OutlierColor, - ?OutlierWidth = OutlierWidth - ) - - /// Apply styling to the xError(s) of the chart as Object - [] - [] - member this.WithXError(xError: Error) = this |> Chart.withXError xError - - /// Apply styling to the xError(s) of the chart as Object - [] - [] - member this.WithXErrorStyle - ( - [] ?Array, - [] ?Arrayminus, - [] ?Symmetric, - [] ?Color, - [] ?Thickness, - [] ?Width - ) = - let error = - Error.init ( - ?Array = Array, - ?Arrayminus = Arrayminus, - ?Symmetric = Symmetric, - ?Color = Color, - ?Thickness = Thickness, - ?Width = Width - ) - - this |> Chart.withXError error - - /// Apply styling to the yError(s) of the chart as Object - [] - [] - member this.WithYError(yError: Error) = this |> Chart.withYError (yError) - - /// Apply styling to the yError(s) of the chart as Object - [] - [] - member this.WithYErrorStyle - ( - [] ?Array, - [] ?Arrayminus, - [] ?Symmetric, - [] ?Color, - [] ?Thickness, - [] ?Width - ) = - let error = - Error.init ( - ?Array = Array, - ?Arrayminus = Arrayminus, - ?Symmetric = Symmetric, - ?Color = Color, - ?Thickness = Thickness, - ?Width = Width - ) - - this |> Chart.withYError error - - /// Apply styling to the zError(s) of the chart as Object - [] - [] - member this.WithZError(zError: Error) = this |> Chart.withZError (zError) - - - /// Apply styling to the zError(s) of the chart as Object - [] - [] - member this.WithZErrorStyle - ( - [] ?Array, - [] ?Arrayminus, - [] ?Symmetric, - [] ?Color, - [] ?Thickness, - [] ?Width - ) = - let error = - Error.init ( - ?Array = Array, - ?Arrayminus = Arrayminus, - ?Symmetric = Symmetric, - ?Color = Color, - ?Thickness = Thickness, - ?Width = Width - ) - - this |> Chart.withZError error - - - // ############################################################ - // ####################### Apply to layout - - // Sets x-Axis of 2d and 3d- Charts - [] - [] - member this.WithXAxis(xAxis: LinearAxis, [] ?Id: StyleParam.SubPlotId) = - this |> Chart.withXAxis (xAxis, ?Id = Id) - - // Sets x-Axis of 2d and 3d- Charts - [] - [] - member this.WithXAxisStyle - ( - title, - [] ?MinMax, - [] ?ShowGrid, - [] ?ShowLine, - [] ?Side, - [] ?Overlaying, - [] ?Id, - [] ?Domain, - [] ?Position, - [] ?ZeroLine, - [] ?Anchor - ) = - let range = - if MinMax.IsSome then - Some(StyleParam.Range.MinMax(MinMax.Value)) - else - None - - let domain = - if Domain.IsSome then - Some(StyleParam.Range.MinMax(Domain.Value)) - else - None - - let xaxis = - LinearAxis.init ( - Title = title, - ?Range = range, - ?ShowGrid = ShowGrid, - ?ShowLine = ShowLine, - ?Anchor = Anchor, - ?Side = Side, - ?Domain = domain, - ?Overlaying = Overlaying, - ?Position = Position, - ?ZeroLine = ZeroLine - ) - - this |> Chart.withXAxis (xaxis, ?Id = Id) - - /// Sets the range slider for the xAxis - [] - [] - member this.WithXAxisRangeSlider(rangeSlider: RangeSlider, [] ?Id) = - let xaxis = - LinearAxis.init (RangeSlider = rangeSlider) - - this |> Chart.withXAxis (xaxis, ?Id = Id) - - // Sets y-Axis of 2d and 3d- Charts - [] - [] - member this.WithYAxis(yAxis: LinearAxis, [] ?Id: StyleParam.SubPlotId) = - this |> Chart.withYAxis (yAxis, ?Id = Id) - - // Sets y-Axis of 3d- Charts - [] - [] - member this.WithYAxisStyle - ( - title, - [] ?MinMax, - [] ?ShowGrid, - [] ?ShowLine, - [] ?Side, - [] ?Overlaying, - [] ?Id, - [] ?Domain, - [] ?Position, - [] ?ZeroLine, - [] ?Anchor - ) = - let range = - if MinMax.IsSome then - Some(StyleParam.Range.MinMax(MinMax.Value)) - else - None - - let domain = - if Domain.IsSome then - Some(StyleParam.Range.MinMax(Domain.Value)) - else - None - - let yaxis = - LinearAxis.init ( - Title = title, - ?Range = range, - ?ShowGrid = ShowGrid, - ?ShowLine = ShowLine, - ?Anchor = Anchor, - ?Side = Side, - ?Domain = domain, - ?Overlaying = Overlaying, - ?Position = Position, - ?ZeroLine = ZeroLine - ) - - this |> Chart.withYAxis (yaxis, ?Id = Id) - - - // Sets z-Axis of 3d- Charts - [] - [] - member this.WithZAxis(zAxis: LinearAxis, [] ?Id: int) = - this |> Chart.withZAxis (zAxis, ?Id = Id) - - - - // Sets z-Axis style with ... - [] - [] - member this.WithZAxisStyle - ( - title, - [] ?MinMax, - [] ?ShowGrid, - [] ?ShowLine, - [] ?Domain, - [] ?Anchor - ) = - let range = - if MinMax.IsSome then - Some(StyleParam.Range.MinMax(MinMax.Value)) - else - None - - let domain = - if Domain.IsSome then - Some(StyleParam.Range.MinMax(Domain.Value)) - else - None - - let zaxis = - LinearAxis.init ( - Title = title, - ?Range = range, - ?ShowGrid = ShowGrid, - ?ShowLine = ShowLine, - ?Anchor = Anchor, - ?Domain = domain - ) - - this |> Chart.withZAxis (zaxis) - - [] - [] - member this.withColorBar(colorbar: ColorBar) = - this - |> GenericChart.mapTrace (fun t -> - t |> DynObj.withProperty "colorbar" colorbar - ) - - [] - [] - member this.WithColorBarStyle - ( - title, - [] ?Length, - [] ?OutlineColor, - [] ?BorderColor, - [] ?BGColor - ) = - let colorbar = - ColorBar.init ( - Title = title, - ?Len = Length, - ?OutlineColor = OutlineColor, - ?BGColor = BGColor, - ?BorderColor = BorderColor - ) - - this |> Chart.withColorBar (colorbar) - - // Set the Layout options of a Chart - [] - [] - member this.WithLayout(layout: Layout) = GenericChart.addLayout layout this - - // Set the Layout style of a Chart - [] - member this.WithLayoutStyle - ( - [] ?Title: Title, - [] ?ShowLegend: bool, - [] ?Margin: Margin, - [] ?AutoSize: bool, - [] ?Width: int, - [] ?Height: int, - [] ?Font: Font, - [] ?UniformText: UniformText, - [] ?Separators: string, - [] ?PaperBGColor: Color, - [] ?PlotBGColor: Color, - [] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [] ?Colorscale: DefaultColorScales, - [] ?Colorway: Color, - [] ?ModeBar: ModeBar, - [] ?HoverMode: StyleParam.HoverMode, - [] ?ClickMode: StyleParam.ClickMode, - [] ?DragMode: StyleParam.DragMode, - [] ?SelectDirection: StyleParam.SelectDirection, - [] ?HoverDistance: int, - [] ?SpikeDistance: int, - [] ?Hoverlabel: Hoverlabel, - [] ?Transition: Transition, - [] ?DataRevision: string, - [] ?UIRevision: string, - [] ?EditRevision: string, - [] ?SelectRevision: string, - [] ?Template: DynamicObj, - [] ?Meta: string, - [] ?Computed: string, - [] ?Grid: LayoutGrid, - [] ?Calendar: StyleParam.Calendar, - [] ?NewShape: NewShape, - [] ?ActiveShape: ActiveShape, - [] ?HideSources: bool, - [] ?BarGap: float, - [] ?BarGroupGap: float, - [] ?BarMode: StyleParam.BarMode, - [] ?BarNorm: StyleParam.BarNorm, - [] ?ExtendPieColors: bool, - [] ?HiddenLabels: seq<#IConvertible>, - [] ?PieColorWay: Color, - [] ?BoxGap: float, - [] ?BoxGroupGap: float, - [] ?BoxMode: StyleParam.BoxMode, - [] ?ViolinGap: float, - [] ?ViolinGroupGap: float, - [] ?ViolinMode: StyleParam.ViolinMode, - [] ?WaterfallGap: float, - [] ?WaterfallGroupGap: float, - [] ?WaterfallMode: StyleParam.WaterfallMode, - [] ?FunnelGap: float, - [] ?FunnelGroupGap: float, - [] ?FunnelMode: StyleParam.FunnelMode, - [] ?ExtendFunnelAreaColors: bool, - [] ?FunnelAreaColorWay: Color, - [] ?ExtendSunBurstColors: bool, - [] ?SunBurstColorWay: Color, - [] ?ExtendTreeMapColors: bool, - [] ?TreeMapColorWay: Color, - [] ?ExtendIcicleColors: bool, - [] ?IcicleColorWay: Color, - [] ?Annotations: seq, - [] ?Shapes: seq, - [] ?Images: seq, - [] ?Sliders: seq, - [] ?UpdateMenus: seq - ) = - this - |> Chart.withLayoutStyle ( - ?Title = Title, - ?ShowLegend = ShowLegend, - ?Margin = Margin, - ?AutoSize = AutoSize, - ?Width = Width, - ?Height = Height, - ?Font = Font, - ?UniformText = UniformText, - ?Separators = Separators, - ?PaperBGColor = PaperBGColor, - ?PlotBGColor = PlotBGColor, - ?AutoTypeNumbers = AutoTypeNumbers, - ?Colorscale = Colorscale, - ?Colorway = Colorway, - ?ModeBar = ModeBar, - ?HoverMode = HoverMode, - ?ClickMode = ClickMode, - ?DragMode = DragMode, - ?SelectDirection = SelectDirection, - ?HoverDistance = HoverDistance, - ?SpikeDistance = SpikeDistance, - ?Hoverlabel = Hoverlabel, - ?Transition = Transition, - ?DataRevision = DataRevision, - ?UIRevision = UIRevision, - ?EditRevision = EditRevision, - ?SelectRevision = SelectRevision, - ?Template = Template, - ?Meta = Meta, - ?Computed = Computed, - ?Grid = Grid, - ?Calendar = Calendar, - ?NewShape = NewShape, - ?ActiveShape = ActiveShape, - ?HideSources = HideSources, - ?BarGap = BarGap, - ?BarGroupGap = BarGroupGap, - ?BarMode = BarMode, - ?BarNorm = BarNorm, - ?ExtendPieColors = ExtendPieColors, - ?HiddenLabels = HiddenLabels, - ?PieColorWay = PieColorWay, - ?BoxGap = BoxGap, - ?BoxGroupGap = BoxGroupGap, - ?BoxMode = BoxMode, - ?ViolinGap = ViolinGap, - ?ViolinGroupGap = ViolinGroupGap, - ?ViolinMode = ViolinMode, - ?WaterfallGap = WaterfallGap, - ?WaterfallGroupGap = WaterfallGroupGap, - ?WaterfallMode = WaterfallMode, - ?FunnelGap = FunnelGap, - ?FunnelGroupGap = FunnelGroupGap, - ?FunnelMode = FunnelMode, - ?ExtendFunnelAreaColors = ExtendFunnelAreaColors, - ?FunnelAreaColorWay = FunnelAreaColorWay, - ?ExtendSunBurstColors = ExtendSunBurstColors, - ?SunBurstColorWay = SunBurstColorWay, - ?ExtendTreeMapColors = ExtendTreeMapColors, - ?TreeMapColorWay = TreeMapColorWay, - ?ExtendIcicleColors = ExtendIcicleColors, - ?IcicleColorWay = IcicleColorWay, - ?Annotations = Annotations, - ?Shapes = Shapes, - ?Images = Images, - ?Sliders = Sliders, - ?UpdateMenus = UpdateMenus - ) - - // Set the LayoutGrid options of a Chart - [] - [] - member this.WithLayoutGrid(layoutGrid: LayoutGrid) = - let layout = - GenericChart.getLayout this |> Layout.setLayoutGrid layoutGrid - - GenericChart.setLayout layout this - - // Set the LayoutGrid options of a Chart - [] - member this.WithLegend(legend: Legend, [] ?Id: int) = - this |> Chart.withLegend (legend, ?Id = Id) - - /// Sets a map for the given chart (will only work with traces supporting geo, e.g. choropleth, scattergeo) - [] - [] - member this.WithGeo(geo: Geo, [] ?Id: int) = - this |> Chart.withGeo (geo, ?Id = Id) - - /// Sets a mapbox for the given chart (will only work with traces supporting mapboxes, e.g. choroplethmapbox, scattermapbox) - [] - [] - member this.withMapbox(mapBox: Mapbox, [] ?Id: int) = - this |> Chart.withMapbox (mapBox, ?Id = Id) - - - /// Sets the map style for the given chart (will only work with traces supporting geo, e.g. choropleth, scattergeo) - /// - /// Parameters : - /// - /// FitBounds : Determines if and how this subplot's view settings are auto-computed to fit trace data - /// - /// Resolution : Sets the resolution of the base layers - /// - /// Scope : Set the scope of the map. - /// - /// Projection : Determines the type of projection used to display the map - /// - /// Center : Sets the (lon,lat) coordinates of the map's center. By default, the map's longitude center lies at the middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise. For all projection types, the map's latitude center lies at the middle of the latitude range by default. - /// - /// Visible : Whether or not the base layers are visible - /// - /// Domain : The domain of this geo subplot - /// - /// ShowCoastLine : Sets whether or not the coastlines are drawn. - /// - /// CoastLineColor : Sets the coastline color. - /// - /// CoastLineWidth : Sets the coastline stroke width (in px). - /// - /// ShowLand : Sets whether or not land masses are filled in color. - /// - /// LandColor : Sets the land mass color. - /// - /// ShowOcean : Sets whether or not oceans are filled in color. - /// - /// OceanColor : Sets the ocean color - /// - /// ShowLakes : Sets whether or not lakes are drawn. - /// - /// LakeColor : Sets the color of the lakes. - /// - /// ShowRivers : Sets whether or not rivers are drawn. - /// - /// RiverColor : Sets color of the rivers. - /// - /// RiverWidth : Sets the stroke width (in px) of the rivers. - /// - /// ShowCountries : Sets whether or not country boundaries are drawn. - /// - /// CountryColor : Sets line color of the country boundaries. - /// - /// CountryWidth : Sets line width (in px) of the country boundaries. - /// - /// ShowSubunits : Sets whether or not boundaries of subunits within countries (e.g. states, provinces) are drawn. - /// - /// SubunitColor : Sets the color of the subunits boundaries. - /// - /// SubunitWidth : Sets the stroke width (in px) of the subunits boundaries. - /// - /// ShowFrame : Sets whether or not a frame is drawn around the map. - /// - /// FrameColor : Sets the color the frame. - /// - /// FrameWidth : Sets the stroke width (in px) of the frame. - /// - /// BgColor : Set the background color of the map - /// - /// LatAxis : Sets the latitudinal axis for this geo trace - /// - /// LonAxis : Sets the longitudinal axis for this geo trace - [] - [] - member this.WithGeoStyle - ( - [] ?Id: StyleParam.SubPlotId, - [] ?FitBounds: StyleParam.GeoFitBounds, - [] ?Resolution: StyleParam.GeoResolution, - [] ?Scope: StyleParam.GeoScope, - [] ?Projection: GeoProjection, - [] ?Center: (float * float), - [] ?Visible: bool, - [] ?Domain: Domain, - [] ?ShowCoastLines: bool, - [] ?CoastLineColor, - [] ?CoastLineWidth: float, - [] ?ShowLand: bool, - [] ?LandColor, - [] ?ShowOcean: bool, - [] ?OceanColor, - [] ?ShowLakes: bool, - [] ?LakeColor, - [] ?ShowRivers: bool, - [] ?RiverColor, - [] ?RiverWidth: float, - [] ?ShowCountries: bool, - [] ?CountryColor, - [] ?CountryWidth: float, - [] ?ShowSubunits: bool, - [] ?SubunitColor, - [] ?SubunitWidth: float, - [] ?ShowFrame: bool, - [] ?FrameColor, - [] ?FrameWidth: float, - [] ?BgColor, - [] ?LatAxis: LinearAxis, - [] ?LonAxis: LinearAxis - ) = - this - |> Chart.withGeoStyle ( - ?FitBounds = FitBounds, - ?Resolution = Resolution, - ?Scope = Scope, - ?Projection = Projection, - ?Center = Center, - ?Visible = Visible, - ?Domain = Domain, - ?ShowCoastLines = ShowCoastLines, - ?CoastLineColor = CoastLineColor, - ?CoastLineWidth = CoastLineWidth, - ?ShowLand = ShowLand, - ?LandColor = LandColor, - ?ShowOcean = ShowOcean, - ?OceanColor = OceanColor, - ?ShowLakes = ShowLakes, - ?LakeColor = LakeColor, - ?ShowRivers = ShowRivers, - ?RiverColor = RiverColor, - ?RiverWidth = RiverWidth, - ?ShowCountries = ShowCountries, - ?CountryColor = CountryColor, - ?CountryWidth = CountryWidth, - ?ShowSubunits = ShowSubunits, - ?SubunitColor = SubunitColor, - ?SubunitWidth = SubunitWidth, - ?ShowFrame = ShowFrame, - ?FrameColor = FrameColor, - ?FrameWidth = FrameWidth, - ?BgColor = BgColor, - ?LatAxis = LatAxis, - ?LonAxis = LonAxis - ) - - [] - [] - member this.WithMapProjection - ( - projectionType: StyleParam.GeoProjectionType, - [] ?Rotation, - [] ?Parallels, - [] ?Scale, - [] ?Id - ) = - this - |> Chart.withGeoProjection ( - projectionType = projectionType, - ?Rotation = Rotation, - ?Parallels = Parallels, - ?Scale = Scale - ) - - - // Set the LayoutGrid options of a Chart - [] - [] - member this.WithLayoutGridStyle - ( - [] ?SubPlots: - (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [] ?XAxes: StyleParam.LinearAxisId[], - [] ?YAxes: StyleParam.LinearAxisId[], - [] ?Rows: int, - [] ?Columns: int, - [] ?RowOrder: StyleParam.LayoutGridRowOrder, - [] ?Pattern: StyleParam.LayoutGridPattern, - [] ?XGap: float, - [] ?YGap: float, - [] ?Domain: Domain, - [] ?XSide: StyleParam.LayoutGridXSide, - [] ?YSide: StyleParam.LayoutGridYSide - ) = - - let layout = GenericChart.getLayout this in - - let updatedGrid = - let currentGrid = - match layout.TryGetTypedPropertyValue "grid" with - | Some grid -> grid - | None -> LayoutGrid() - - currentGrid - |> LayoutGrid.style ( - ?SubPlots = SubPlots, - ?XAxes = XAxes, - ?YAxes = YAxes, - ?Rows = Rows, - ?Columns = Columns, - ?RowOrder = RowOrder, - ?Pattern = Pattern, - ?XGap = XGap, - ?YGap = YGap, - ?Domain = Domain, - ?XSide = XSide, - ?YSide = YSide - ) in - - let updatedLayout = - layout |> Layout.setLayoutGrid updatedGrid in - - GenericChart.setLayout updatedLayout this - - [] - [] - member this.WithConfig(config: Config) = GenericChart.setConfig config this - - [] - [] - member this.WithAnnotation(annotation: Annotation, [] ?Append: bool) = - this |> Chart.withAnnotation (annotation, ?Append = Append) - - [] - [] - member this.WithAnnotations - ( - annotations: Annotation seq, - [] ?Append: bool - ) = - this |> Chart.withAnnotations (annotations, ?Append = Append) - - // Set the title of a Chart - [] - [] - member this.WithTitle(title, [] ?TitleFont) = - let layout = - Layout() |> Layout.style (Title = Title.init (Text = title, ?Font = TitleFont)) - - GenericChart.addLayout layout this - - // Set showLegend of a Chart - [] - [] - member this.WithLegend(showlegend) = - let layout = - Layout() |> Layout.style (ShowLegend = showlegend) - - GenericChart.addLayout layout this - - // Set the size of a Chart - [] - [] - member this.WithSize(width, height) = - let layout = - GenericChart.getLayout this |> Layout.style (Width = width, Height = height) - - GenericChart.setLayout layout this - - // Set the margin of a Chart - [] - [] - member this.WithMargin(margin: Margin) = - let layout = - GenericChart.getLayout this |> Layout.style (Margin = margin) - - GenericChart.setLayout layout this - - // Set the margin of a Chart - [] - [] - member this.WithMarginSize - ( - [] ?Left, - [] ?Right, - [] ?Top, - [] ?Bottom, - [] ?Pad, - [] ?Autoexpand - ) = - let margin = - Margin.init ( - ?Left = Left, - ?Right = Right, - ?Top = Top, - ?Bottom = Bottom, - ?Pad = Pad, - ?Autoexpand = Autoexpand - ) - - this |> Chart.withMargin (margin) - - [] - [] - member this.WithTemplate(template: Template) = - this - |> GenericChart.mapLayout (fun l -> - l |> DynObj.withProperty "template" template - ) - - // TODO: Include withLegend & withLegendStyle - - //Specifies the shape type to be drawn. If "line", a line is drawn from (`x0`,`y0`) to (`x1`,`y1`) If "circle", a circle is drawn from - //((`x0`+`x1`)/2, (`y0`+`y1`)/2)) with radius (|(`x0`+`x1`)/2 - `x0`|, |(`y0`+`y1`)/2 -`y0`)|) If "rect", a rectangle is drawn linking - //(`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`) - [] - [] - member this.WithShape(shape: Shape, [] ?Append: bool) = - this |> Chart.withShape (shape, ?Append = Append) - - [] - [] - member this.WithShapes(shapes: Shape seq, [] ?Append: bool) = - this |> Chart.withShapes (shapes, ?Append = Append) - - // ############################################################ - // ####################### Apply to DisplayOptions - - /// Show chart in browser - [] - [] - member this.WithDescription(description: XmlNode list) = - this |> Chart.withDescription description - - /// Adds the given additional script tags on the chart's DisplayOptions. They will be included in the document's - [] - [] - member this.WithAdditionalHeadTags(additionalHeadTags: XmlNode list) = - this |> Chart.withAdditionalHeadTags additionalHeadTags - - /// Sets the given additional script tags on the chart's DisplayOptions. They will be included in the document's - [] - [] - member this.WithHeadTags(headTags: XmlNode list) = this |> Chart.withHeadTags headTags - - /// Adds the necessary script tags to render tex strings to the chart's DisplayOptions - [] - [] - member this.WithMathTex - ( - [] ?AppendTags: bool, - [] ?MathJaxVersion: int - ) = - let append = - Option.defaultValue true AppendTags - - this |> Chart.withMathTex (AppendTags = append, ?MathJaxVersion = MathJaxVersion) - - - /// Save chart as html single page - [] - [] - member this.SaveHtml(path: string, [] ?OpenInBrowser: bool) = - this |> Chart.saveHtml (path, ?OpenInBrowser = OpenInBrowser) - - /// Show chart in browser - [] - [] - member this.Show() = this |> Chart.show - - /// Sets the polar object with the given id on the chart layout - [] - member this.WithPolar(polar: Polar, [] ?Id) = - this |> Chart.withPolar (polar, ?Id = Id) - - /// Sets the angular axis of the polar object with the given id on the chart layout - [] - member this.WithAngularAxis(angularAxis: AngularAxis, [] ?Id) = - this |> Chart.withAngularAxis (angularAxis, ?Id = Id) - - /// Sets the radial axis of the polar object with the given id on the chart layout - [] - member this.WithRadialAxis(radialAxis: RadialAxis, [] ?Id) = - this |> Chart.withRadialAxis (radialAxis, ?Id = Id) - - /// Sets the color axis of the color axis with the given id on the chart layout - [] - member this.WithColorAxis(colorAxis: ColorAxis, [] ?Id) = - this |> Chart.withColorAxis (colorAxis, ?Id = Id) - - /// Sets the scene object with the given id on the chart layout - [] - member this.WithScene(scene: Scene, [] ?Id) = - this |> Chart.withScene (scene, ?Id = Id) - - /// Sets the scene object with the given id on the chart layout - [] - member this.WithTernary(ternary: Ternary, [] ?Id) = - this |> Chart.withTernary (ternary, ?Id = Id) - - - [] - [] - member this.WithLayoutImage(image: LayoutImage, [] ?Append: bool) = - this |> Chart.withLayoutImage (image, ?Append = Append) - - [] - [] - member this.WithLayoutImages - ( - images: seq, - [] ?Append: bool - ) = - this |> Chart.withLayoutImages (images, ?Append = Append) - - [] - [] - member this.WithUpdateMenu(updateMenu: UpdateMenu, [] ?Append: bool) = - this |> Chart.withUpdateMenu (updateMenu, ?Append = Append) - - [] - [] - member this.WithUpdateMenus - ( - updateMenus: seq, - [] ?Append: bool - ) = - this |> Chart.withUpdateMenus (updateMenus, ?Append = Append) - - [] - [] - member this.WithSlider(slider: Slider) = this |> Chart.withSlider (slider) - - [] - [] - member this.WithSliders(sliders: seq) = this |> Chart.withSliders sliders diff --git a/src/Plotly.NET/ChartAPI/Chart.fs b/src/Plotly.NET/ChartAPI/Chart.fs index 0eef89cd0..a84a10993 100644 --- a/src/Plotly.NET/ChartAPI/Chart.fs +++ b/src/Plotly.NET/ChartAPI/Chart.fs @@ -24,7 +24,7 @@ type Chart = /// The path to save the chart html at. /// Whether or not to open the generated file in the browser (default: false) [] - static member saveHtml(path: string, [] ?OpenInBrowser: bool) = + static member saveHtml(path: string, ?OpenInBrowser: bool) = fun (ch: GenericChart) -> let show = defaultArg OpenInBrowser false @@ -92,12 +92,12 @@ type Chart = [] static member withTraceInfo ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title ) = fun (ch: GenericChart) -> ch @@ -126,8 +126,8 @@ type Chart = [] static member withAxisAnchor ( - [] ?X, - [] ?Y + ?X, + ?Y ) = let idx = X |> Option.map StyleParam.LinearAxisId.X @@ -227,40 +227,40 @@ type Chart = [] static member withMarkerStyle ( - [] ?Angle: float, - [] ?AngleRef: StyleParam.AngleRef, - [] ?AutoColorScale: bool, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?Color: Color, - [] ?Colors: seq, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?ColorBar: ColorBar, - [] ?Colorscale: StyleParam.Colorscale, - [] ?CornerRadius: int, - [] ?Gradient: Gradient, - [] ?Outline: Line, - [] ?MaxDisplayed: int, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Pattern: Pattern, - [] ?ReverseScale: bool, - [] ?ShowScale: bool, - [] ?Size: int, - [] ?MultiSize: seq, - [] ?SizeMin: int, - [] ?SizeMode: StyleParam.MarkerSizeMode, - [] ?SizeRef: int, - [] ?StandOff: float, - [] ?MultiStandOff: seq, - [] ?Symbol: StyleParam.MarkerSymbol, - [] ?MultiSymbol: seq, - [] ?Symbol3D: StyleParam.MarkerSymbol3D, - [] ?MultiSymbol3D: seq, - [] ?OutlierColor: Color, - [] ?OutlierWidth: int + ?Angle: float, + ?AngleRef: StyleParam.AngleRef, + ?AutoColorScale: bool, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Color: Color, + ?Colors: seq, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?Colorscale: StyleParam.Colorscale, + ?CornerRadius: int, + ?Gradient: Gradient, + ?Outline: Line, + ?MaxDisplayed: int, + ?Opacity: float, + ?MultiOpacity: seq, + ?Pattern: Pattern, + ?ReverseScale: bool, + ?ShowScale: bool, + ?Size: int, + ?MultiSize: seq, + ?SizeMin: int, + ?SizeMode: StyleParam.MarkerSizeMode, + ?SizeRef: int, + ?StandOff: float, + ?MultiStandOff: seq, + ?Symbol: StyleParam.MarkerSymbol, + ?MultiSymbol: seq, + ?Symbol3D: StyleParam.MarkerSymbol3D, + ?MultiSymbol3D: seq, + ?OutlierColor: Color, + ?OutlierWidth: int ) = fun (ch: GenericChart) -> ch @@ -354,26 +354,26 @@ type Chart = [] static member withLineStyle ( - [] ?BackOff: StyleParam.BackOff, - [] ?AutoColorScale: bool, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?Color: Color, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?Colorscale: StyleParam.Colorscale, - [] ?ReverseScale: bool, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?Dash: StyleParam.DrawingStyle, - [] ?Shape: StyleParam.Shape, - [] ?Simplify: bool, - [] ?Smoothing: float, - [] ?Width: float, - [] ?MultiWidth: seq, - [] ?OutlierColor: Color, - [] ?OutlierWidth: float + ?BackOff: StyleParam.BackOff, + ?AutoColorScale: bool, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Color: Color, + ?ColorAxis: StyleParam.SubPlotId, + ?Colorscale: StyleParam.Colorscale, + ?ReverseScale: bool, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?Dash: StyleParam.DrawingStyle, + ?Shape: StyleParam.Shape, + ?Simplify: bool, + ?Smoothing: float, + ?Width: float, + ?MultiWidth: seq, + ?OutlierColor: Color, + ?OutlierWidth: float ) = fun (ch: GenericChart) -> ch @@ -446,19 +446,19 @@ type Chart = [] static member withXErrorStyle ( - [] ?Visible: bool, - [] ?Type: StyleParam.ErrorType, - [] ?Symmetric: bool, - [] ?Array: seq<#IConvertible>, - [] ?Arrayminus: seq<#IConvertible>, - [] ?Value: float, - [] ?Valueminus: float, - [] ?Traceref: int, - [] ?Tracerefminus: int, - [] ?Copy_ystyle: bool, - [] ?Color: Color, - [] ?Thickness: float, - [] ?Width: float + ?Visible: bool, + ?Type: StyleParam.ErrorType, + ?Symmetric: bool, + ?Array: seq<#IConvertible>, + ?Arrayminus: seq<#IConvertible>, + ?Value: float, + ?Valueminus: float, + ?Traceref: int, + ?Tracerefminus: int, + ?Copy_ystyle: bool, + ?Color: Color, + ?Thickness: float, + ?Width: float ) = fun (ch: GenericChart) -> ch @@ -524,19 +524,19 @@ type Chart = [] static member withYErrorStyle ( - [] ?Visible: bool, - [] ?Type: StyleParam.ErrorType, - [] ?Symmetric: bool, - [] ?Array: seq<#IConvertible>, - [] ?Arrayminus: seq<#IConvertible>, - [] ?Value: float, - [] ?Valueminus: float, - [] ?Traceref: int, - [] ?Tracerefminus: int, - [] ?Copy_ystyle: bool, - [] ?Color: Color, - [] ?Thickness: float, - [] ?Width: float + ?Visible: bool, + ?Type: StyleParam.ErrorType, + ?Symmetric: bool, + ?Array: seq<#IConvertible>, + ?Arrayminus: seq<#IConvertible>, + ?Value: float, + ?Valueminus: float, + ?Traceref: int, + ?Tracerefminus: int, + ?Copy_ystyle: bool, + ?Color: Color, + ?Thickness: float, + ?Width: float ) = fun (ch: GenericChart) -> ch @@ -602,19 +602,19 @@ type Chart = [] static member withZErrorStyle ( - [] ?Visible: bool, - [] ?Type: StyleParam.ErrorType, - [] ?Symmetric: bool, - [] ?Array: seq<#IConvertible>, - [] ?Arrayminus: seq<#IConvertible>, - [] ?Value: float, - [] ?Valueminus: float, - [] ?Traceref: int, - [] ?Tracerefminus: int, - [] ?Copy_ystyle: bool, - [] ?Color: Color, - [] ?Thickness: float, - [] ?Width: float + ?Visible: bool, + ?Type: StyleParam.ErrorType, + ?Symmetric: bool, + ?Array: seq<#IConvertible>, + ?Arrayminus: seq<#IConvertible>, + ?Value: float, + ?Valueminus: float, + ?Traceref: int, + ?Tracerefminus: int, + ?Copy_ystyle: bool, + ?Color: Color, + ?Thickness: float, + ?Width: float ) = fun (ch: GenericChart) -> ch @@ -712,55 +712,55 @@ type Chart = [] static member withColorBarStyle ( - [] ?TitleText: string, - [] ?TitleFont: Font, - [] ?TitleStandoff: int, - [] ?Title: Title, - [] ?BGColor: Color, - [] ?BorderColor: Color, - [] ?BorderWidth: float, - [] ?DTick: IConvertible, - [] ?ExponentFormat: StyleParam.ExponentFormat, - [] ?LabelAlias: DynamicObj, - [] ?Len: float, - [] ?LenMode: StyleParam.UnitMode, - [] ?MinExponent: float, - [] ?NTicks: int, - [] ?Orientation: StyleParam.Orientation, - [] ?OutlineColor: Color, - [] ?OutlineWidth: float, - [] ?SeparateThousands: bool, - [] ?ShowExponent: StyleParam.ShowExponent, - [] ?ShowTickLabels: bool, - [] ?ShowTickPrefix: StyleParam.ShowTickOption, - [] ?ShowTickSuffix: StyleParam.ShowTickOption, - [] ?Thickness: float, - [] ?ThicknessMode: StyleParam.UnitMode, - [] ?Tick0: IConvertible, - [] ?TickAngle: int, - [] ?TickColor: Color, - [] ?TickFont: Font, - [] ?TickFormat: string, - [] ?TickFormatStops: seq, - [] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [] ?TickLabelPosition: StyleParam.TickLabelPosition, - [] ?TickLabelStep: int, - [] ?TickLen: float, - [] ?TickMode: StyleParam.TickMode, - [] ?TickPrefix: string, - [] ?Ticks: StyleParam.TickOptions, - [] ?TickSuffix: string, - [] ?TickText: seq<#IConvertible>, - [] ?TickVals: seq<#IConvertible>, - [] ?TickWidth: float, - [] ?X: float, - [] ?XAnchor: StyleParam.HorizontalAlign, - [] ?XPad: float, - [] ?XRef: string, - [] ?Y: float, - [] ?YAnchor: StyleParam.VerticalAlign, - [] ?YPad: float, - [] ?YRef: string + ?TitleText: string, + ?TitleFont: Font, + ?TitleStandoff: int, + ?Title: Title, + ?BGColor: Color, + ?BorderColor: Color, + ?BorderWidth: float, + ?DTick: IConvertible, + ?ExponentFormat: StyleParam.ExponentFormat, + ?LabelAlias: DynamicObj, + ?Len: float, + ?LenMode: StyleParam.UnitMode, + ?MinExponent: float, + ?NTicks: int, + ?Orientation: StyleParam.Orientation, + ?OutlineColor: Color, + ?OutlineWidth: float, + ?SeparateThousands: bool, + ?ShowExponent: StyleParam.ShowExponent, + ?ShowTickLabels: bool, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?Thickness: float, + ?ThicknessMode: StyleParam.UnitMode, + ?Tick0: IConvertible, + ?TickAngle: int, + ?TickColor: Color, + ?TickFont: Font, + ?TickFormat: string, + ?TickFormatStops: seq, + ?TickLabelOverflow: StyleParam.TickLabelOverflow, + ?TickLabelPosition: StyleParam.TickLabelPosition, + ?TickLabelStep: int, + ?TickLen: float, + ?TickMode: StyleParam.TickMode, + ?TickPrefix: string, + ?Ticks: StyleParam.TickOptions, + ?TickSuffix: string, + ?TickText: seq<#IConvertible>, + ?TickVals: seq<#IConvertible>, + ?TickWidth: float, + ?X: float, + ?XAnchor: StyleParam.HorizontalAlign, + ?XPad: float, + ?XRef: string, + ?Y: float, + ?YAnchor: StyleParam.VerticalAlign, + ?YPad: float, + ?YRef: string ) = let title = @@ -922,80 +922,80 @@ type Chart = [] static member withLayoutStyle ( - [] ?Title: Title, - [] ?ShowLegend: bool, - [] ?Margin: Margin, - [] ?AutoSize: bool, - [] ?Width: int, - [] ?Height: int, - [] ?Font: Font, - [] ?UniformText: UniformText, - [] ?Separators: string, - [] ?PaperBGColor: Color, - [] ?PlotBGColor: Color, - [] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [] ?Colorscale: DefaultColorScales, - [] ?Colorway: Color, - [] ?ModeBar: ModeBar, - [] ?HoverMode: StyleParam.HoverMode, - [] ?ClickMode: StyleParam.ClickMode, - [] ?DragMode: StyleParam.DragMode, - [] ?SelectDirection: StyleParam.SelectDirection, - [] ?ActiveSelection: ActiveSelection, - [] ?NewSelection: NewSelection, - [] ?HoverDistance: int, - [] ?SpikeDistance: int, - [] ?Hoverlabel: Hoverlabel, - [] ?Transition: Transition, - [] ?DataRevision: string, - [] ?UIRevision: string, - [] ?EditRevision: string, - [] ?SelectRevision: string, - [] ?Template: DynamicObj, - [] ?Meta: string, - [] ?Computed: string, - [] ?Grid: LayoutGrid, - [] ?Calendar: StyleParam.Calendar, - [] ?MinReducedHeight: int, - [] ?MinReducedWidth: int, - [] ?NewShape: NewShape, - [] ?ActiveShape: ActiveShape, - [] ?HideSources: bool, - [] ?ScatterGap: float, - [] ?ScatterMode: StyleParam.ScatterMode, - [] ?BarGap: float, - [] ?BarGroupGap: float, - [] ?BarMode: StyleParam.BarMode, - [] ?BarNorm: StyleParam.BarNorm, - [] ?ExtendPieColors: bool, - [] ?HiddenLabels: seq<#IConvertible>, - [] ?PieColorWay: Color, - [] ?BoxGap: float, - [] ?BoxGroupGap: float, - [] ?BoxMode: StyleParam.BoxMode, - [] ?ViolinGap: float, - [] ?ViolinGroupGap: float, - [] ?ViolinMode: StyleParam.ViolinMode, - [] ?WaterfallGap: float, - [] ?WaterfallGroupGap: float, - [] ?WaterfallMode: StyleParam.WaterfallMode, - [] ?FunnelGap: float, - [] ?FunnelGroupGap: float, - [] ?FunnelMode: StyleParam.FunnelMode, - [] ?ExtendFunnelAreaColors: bool, - [] ?FunnelAreaColorWay: Color, - [] ?ExtendSunBurstColors: bool, - [] ?SunBurstColorWay: Color, - [] ?ExtendTreeMapColors: bool, - [] ?TreeMapColorWay: Color, - [] ?ExtendIcicleColors: bool, - [] ?IcicleColorWay: Color, - [] ?Annotations: seq, - [] ?Shapes: seq, - [] ?Selections: seq, - [] ?Images: seq, - [] ?Sliders: seq, - [] ?UpdateMenus: seq + ?Title: Title, + ?ShowLegend: bool, + ?Margin: Margin, + ?AutoSize: bool, + ?Width: int, + ?Height: int, + ?Font: Font, + ?UniformText: UniformText, + ?Separators: string, + ?PaperBGColor: Color, + ?PlotBGColor: Color, + ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, + ?Colorscale: DefaultColorScales, + ?Colorway: Color, + ?ModeBar: ModeBar, + ?HoverMode: StyleParam.HoverMode, + ?ClickMode: StyleParam.ClickMode, + ?DragMode: StyleParam.DragMode, + ?SelectDirection: StyleParam.SelectDirection, + ?ActiveSelection: ActiveSelection, + ?NewSelection: NewSelection, + ?HoverDistance: int, + ?SpikeDistance: int, + ?Hoverlabel: Hoverlabel, + ?Transition: Transition, + ?DataRevision: string, + ?UIRevision: string, + ?EditRevision: string, + ?SelectRevision: string, + ?Template: DynamicObj, + ?Meta: string, + ?Computed: string, + ?Grid: LayoutGrid, + ?Calendar: StyleParam.Calendar, + ?MinReducedHeight: int, + ?MinReducedWidth: int, + ?NewShape: NewShape, + ?ActiveShape: ActiveShape, + ?HideSources: bool, + ?ScatterGap: float, + ?ScatterMode: StyleParam.ScatterMode, + ?BarGap: float, + ?BarGroupGap: float, + ?BarMode: StyleParam.BarMode, + ?BarNorm: StyleParam.BarNorm, + ?ExtendPieColors: bool, + ?HiddenLabels: seq<#IConvertible>, + ?PieColorWay: Color, + ?BoxGap: float, + ?BoxGroupGap: float, + ?BoxMode: StyleParam.BoxMode, + ?ViolinGap: float, + ?ViolinGroupGap: float, + ?ViolinMode: StyleParam.ViolinMode, + ?WaterfallGap: float, + ?WaterfallGroupGap: float, + ?WaterfallMode: StyleParam.WaterfallMode, + ?FunnelGap: float, + ?FunnelGroupGap: float, + ?FunnelMode: StyleParam.FunnelMode, + ?ExtendFunnelAreaColors: bool, + ?FunnelAreaColorWay: Color, + ?ExtendSunBurstColors: bool, + ?SunBurstColorWay: Color, + ?ExtendTreeMapColors: bool, + ?TreeMapColorWay: Color, + ?ExtendIcicleColors: bool, + ?IcicleColorWay: Color, + ?Annotations: seq, + ?Shapes: seq, + ?Selections: seq, + ?Images: seq, + ?Sliders: seq, + ?UpdateMenus: seq ) = (fun (ch: GenericChart) -> @@ -1091,8 +1091,8 @@ type Chart = ( axis: LinearAxis, id: StyleParam.SubPlotId, - [] ?SceneAxis: StyleParam.SubPlotId, - [] ?Combine: bool + ?SceneAxis: StyleParam.SubPlotId, + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -1167,7 +1167,7 @@ type Chart = /// The x axis to set on the chart's layout /// The target axis id with which the axis should be set. Default is 1. [] - static member withXAxis(xAxis: LinearAxis, [] ?Id: StyleParam.SubPlotId) = + static member withXAxis(xAxis: LinearAxis, ?Id: StyleParam.SubPlotId) = let id = defaultArg Id (StyleParam.SubPlotId.XAxis 1) @@ -1212,36 +1212,36 @@ type Chart = [] static member withXAxisStyle ( - [] ?TitleText: string, - [] ?TitleFont: Font, - [] ?TitleStandoff: int, - [] ?Title: Title, - [] ?Color: Color, - [] ?AxisType: StyleParam.AxisType, - [] ?MinMax: #IConvertible * #IConvertible, - [] ?Mirror: StyleParam.Mirror, - [] ?ShowSpikes: bool, - [] ?SpikeColor: Color, - [] ?SpikeThickness: int, - [] ?ShowLine: bool, - [] ?LineColor: Color, - [] ?ShowGrid: bool, - [] ?GridColor: Color, - [] ?GridDash: StyleParam.DrawingStyle, - [] ?ZeroLine: bool, - [] ?ZeroLineColor: Color, - [] ?Anchor: StyleParam.LinearAxisId, - [] ?Side: StyleParam.Side, - [] ?Overlaying: StyleParam.LinearAxisId, - [] ?Domain: float * float, - [] ?Position: float, - [] ?CategoryOrder: StyleParam.CategoryOrder, - [] ?CategoryArray: seq<#IConvertible>, - [] ?RangeSlider: RangeSlider, - [] ?RangeSelector: RangeSelector, - [] ?BackgroundColor: Color, - [] ?ShowBackground: bool, - [] ?Id: StyleParam.SubPlotId + ?TitleText: string, + ?TitleFont: Font, + ?TitleStandoff: int, + ?Title: Title, + ?Color: Color, + ?AxisType: StyleParam.AxisType, + ?MinMax: #IConvertible * #IConvertible, + ?Mirror: StyleParam.Mirror, + ?ShowSpikes: bool, + ?SpikeColor: Color, + ?SpikeThickness: int, + ?ShowLine: bool, + ?LineColor: Color, + ?ShowGrid: bool, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?ZeroLine: bool, + ?ZeroLineColor: Color, + ?Anchor: StyleParam.LinearAxisId, + ?Side: StyleParam.Side, + ?Overlaying: StyleParam.LinearAxisId, + ?Domain: float * float, + ?Position: float, + ?CategoryOrder: StyleParam.CategoryOrder, + ?CategoryArray: seq<#IConvertible>, + ?RangeSlider: RangeSlider, + ?RangeSelector: RangeSelector, + ?BackgroundColor: Color, + ?ShowBackground: bool, + ?Id: StyleParam.SubPlotId ) = let range = MinMax |> Option.map StyleParam.Range.ofMinMax @@ -1289,7 +1289,7 @@ type Chart = /// Sets the range slider for the xAxis [] - static member withXAxisRangeSlider(rangeSlider: RangeSlider, [] ?Id) = + static member withXAxisRangeSlider(rangeSlider: RangeSlider, ?Id) = let xaxis = LinearAxis.init (RangeSlider = rangeSlider) @@ -1303,7 +1303,7 @@ type Chart = /// The y axis to set on the chart's layout /// The target axis id with which the axis should be set. Default is 1. [] - static member withYAxis(yAxis: LinearAxis, [] ?Id: StyleParam.SubPlotId) = + static member withYAxis(yAxis: LinearAxis, ?Id: StyleParam.SubPlotId) = let id = defaultArg Id (StyleParam.SubPlotId.YAxis 1) @@ -1350,38 +1350,38 @@ type Chart = [] static member withYAxisStyle ( - [] ?TitleText: string, - [] ?TitleFont: Font, - [] ?TitleStandoff: int, - [] ?Title: Title, - [] ?Color: Color, - [] ?AxisType: StyleParam.AxisType, - [] ?MinMax: #IConvertible * #IConvertible, - [] ?Mirror: StyleParam.Mirror, - [] ?ShowSpikes: bool, - [] ?SpikeColor: Color, - [] ?SpikeThickness: int, - [] ?ShowLine: bool, - [] ?LineColor: Color, - [] ?ShowGrid: bool, - [] ?GridColor: Color, - [] ?GridDash: StyleParam.DrawingStyle, - [] ?ZeroLine: bool, - [] ?ZeroLineColor: Color, - [] ?Anchor: StyleParam.LinearAxisId, - [] ?Side: StyleParam.Side, - [] ?Overlaying: StyleParam.LinearAxisId, - [] ?AutoShift: bool, - [] ?Shift: int, - [] ?Domain: float * float, - [] ?Position: float, - [] ?CategoryOrder: StyleParam.CategoryOrder, - [] ?CategoryArray: seq<#IConvertible>, - [] ?RangeSlider: RangeSlider, - [] ?RangeSelector: RangeSelector, - [] ?BackgroundColor: Color, - [] ?ShowBackground: bool, - [] ?Id: StyleParam.SubPlotId + ?TitleText: string, + ?TitleFont: Font, + ?TitleStandoff: int, + ?Title: Title, + ?Color: Color, + ?AxisType: StyleParam.AxisType, + ?MinMax: #IConvertible * #IConvertible, + ?Mirror: StyleParam.Mirror, + ?ShowSpikes: bool, + ?SpikeColor: Color, + ?SpikeThickness: int, + ?ShowLine: bool, + ?LineColor: Color, + ?ShowGrid: bool, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?ZeroLine: bool, + ?ZeroLineColor: Color, + ?Anchor: StyleParam.LinearAxisId, + ?Side: StyleParam.Side, + ?Overlaying: StyleParam.LinearAxisId, + ?AutoShift: bool, + ?Shift: int, + ?Domain: float * float, + ?Position: float, + ?CategoryOrder: StyleParam.CategoryOrder, + ?CategoryArray: seq<#IConvertible>, + ?RangeSlider: RangeSlider, + ?RangeSelector: RangeSelector, + ?BackgroundColor: Color, + ?ShowBackground: bool, + ?Id: StyleParam.SubPlotId ) = let range = MinMax |> Option.map StyleParam.Range.ofMinMax @@ -1437,7 +1437,7 @@ type Chart = /// The z axis to set on the chart's layout /// The target scene id on which the axis should be set. Default is 1. [] - static member withZAxis(zAxis: LinearAxis, [] ?Id: int) = + static member withZAxis(zAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Scene @@ -1481,35 +1481,35 @@ type Chart = [] static member withZAxisStyle ( - [] ?TitleText: string, - [] ?TitleFont: Font, - [] ?TitleStandoff: int, - [] ?Title: Title, - [] ?Color: Color, - [] ?AxisType: StyleParam.AxisType, - [] ?MinMax: #IConvertible * #IConvertible, - [] ?Mirror: StyleParam.Mirror, - [] ?ShowSpikes: bool, - [] ?SpikeColor: Color, - [] ?SpikeThickness: int, - [] ?ShowLine: bool, - [] ?LineColor: Color, - [] ?ShowGrid: bool, - [] ?GridColor: Color, - [] ?ZeroLine: bool, - [] ?ZeroLineColor: Color, - [] ?Anchor: StyleParam.LinearAxisId, - [] ?Side: StyleParam.Side, - [] ?Overlaying: StyleParam.LinearAxisId, - [] ?Domain: float * float, - [] ?Position: float, - [] ?CategoryOrder: StyleParam.CategoryOrder, - [] ?CategoryArray: seq<#IConvertible>, - [] ?RangeSlider: RangeSlider, - [] ?RangeSelector: RangeSelector, - [] ?BackgroundColor: Color, - [] ?ShowBackground: bool, - [] ?Id: int + ?TitleText: string, + ?TitleFont: Font, + ?TitleStandoff: int, + ?Title: Title, + ?Color: Color, + ?AxisType: StyleParam.AxisType, + ?MinMax: #IConvertible * #IConvertible, + ?Mirror: StyleParam.Mirror, + ?ShowSpikes: bool, + ?SpikeColor: Color, + ?SpikeThickness: int, + ?ShowLine: bool, + ?LineColor: Color, + ?ShowGrid: bool, + ?GridColor: Color, + ?ZeroLine: bool, + ?ZeroLineColor: Color, + ?Anchor: StyleParam.LinearAxisId, + ?Side: StyleParam.Side, + ?Overlaying: StyleParam.LinearAxisId, + ?Domain: float * float, + ?Position: float, + ?CategoryOrder: StyleParam.CategoryOrder, + ?CategoryArray: seq<#IConvertible>, + ?RangeSlider: RangeSlider, + ?RangeSelector: RangeSelector, + ?BackgroundColor: Color, + ?ShowBackground: bool, + ?Id: int ) = let range = MinMax |> Option.map StyleParam.Range.ofMinMax @@ -1565,7 +1565,7 @@ type Chart = ( scene: Scene, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -1584,7 +1584,7 @@ type Chart = /// The Scene to set on the chart's layout /// The target scene id on which the scene should be set. Default is 1. [] - static member withScene(scene: Scene, [] ?Id: int) = + static member withScene(scene: Scene, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Scene @@ -1611,19 +1611,19 @@ type Chart = [] static member withSceneStyle ( - [] ?Annotations: seq, - [] ?AspectMode: StyleParam.AspectMode, - [] ?AspectRatio: AspectRatio, - [] ?BGColor: Color, - [] ?Camera: Camera, - [] ?Domain: Domain, - [] ?DragMode: StyleParam.DragMode, - [] ?HoverMode: StyleParam.HoverMode, - [] ?UIRevision: string, - [] ?XAxis: LinearAxis, - [] ?YAxis: LinearAxis, - [] ?ZAxis: LinearAxis, - [] ?Id: int + ?Annotations: seq, + ?AspectMode: StyleParam.AspectMode, + ?AspectRatio: AspectRatio, + ?BGColor: Color, + ?Camera: Camera, + ?Domain: Domain, + ?DragMode: StyleParam.DragMode, + ?HoverMode: StyleParam.HoverMode, + ?UIRevision: string, + ?XAxis: LinearAxis, + ?YAxis: LinearAxis, + ?ZAxis: LinearAxis, + ?Id: int ) = (fun (ch: GenericChart) -> let scene = @@ -1655,7 +1655,7 @@ type Chart = ( polar: Polar, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -1674,7 +1674,7 @@ type Chart = /// The new Polar for the chart's layout /// The target polar id on which the polar object should be set. Default is 1. [] - static member withPolar(polar: Polar, [] ?Id: int) = + static member withPolar(polar: Polar, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Polar @@ -1697,15 +1697,15 @@ type Chart = [] static member withPolarStyle ( - [] ?Domain: Domain, - [] ?Sector: float * float, - [] ?Hole: float, - [] ?BGColor: Color, - [] ?RadialAxis: RadialAxis, - [] ?AngularAxis: AngularAxis, - [] ?GridShape: StyleParam.PolarGridShape, - [] ?UIRevision: string, - [] ?Id: int + ?Domain: Domain, + ?Sector: float * float, + ?Hole: float, + ?BGColor: Color, + ?RadialAxis: RadialAxis, + ?AngularAxis: AngularAxis, + ?GridShape: StyleParam.PolarGridShape, + ?UIRevision: string, + ?Id: int ) = (fun (ch: GenericChart) -> let polar = @@ -1733,7 +1733,7 @@ type Chart = ( angularAxis: AngularAxis, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -1774,7 +1774,7 @@ type Chart = /// The new AngularAxis for the chart layout's polar object /// The target polar id on which the AngularAxis should be set. Default is 1. [] - static member withAngularAxis(angularAxis: AngularAxis, [] ?Id: int) = + static member withAngularAxis(angularAxis: AngularAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Polar @@ -1791,7 +1791,7 @@ type Chart = ( radialAxis: RadialAxis, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -1833,7 +1833,7 @@ type Chart = /// The new RadialAxis for the chart layout's polar object /// The target polar id on which the RadialAxis should be set. Default is 1. [] - static member withRadialAxis(radialAxis: RadialAxis, [] ?Id: int) = + static member withRadialAxis(radialAxis: RadialAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Polar @@ -1850,7 +1850,7 @@ type Chart = ( smith: Smith, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -1869,7 +1869,7 @@ type Chart = /// The new Smith for the chart's layout /// The target smith id on which the smith object should be set. Default is 1. [] - static member withSmith(smith: Smith, [] ?Id: int) = + static member withSmith(smith: Smith, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Smith @@ -1884,11 +1884,11 @@ type Chart = [] static member withSmithStyle ( - [] ?BGColor: Color, - [] ?Domain: Domain, - [] ?ImaginaryAxis: ImaginaryAxis, - [] ?RealAxis: RealAxis, - [] ?Id: int + ?BGColor: Color, + ?Domain: Domain, + ?ImaginaryAxis: ImaginaryAxis, + ?RealAxis: RealAxis, + ?Id: int ) = (fun (ch: GenericChart) -> let smith = @@ -1907,7 +1907,7 @@ type Chart = ( imaginaryAxis: ImaginaryAxis, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -1948,7 +1948,7 @@ type Chart = /// The new ImaginaryAxis for the chart layout's smith object /// The target smith id on which the ImaginaryAxis should be set. Default is 1. [] - static member withImaginaryAxis(imaginaryAxis: ImaginaryAxis, [] ?Id: int) = + static member withImaginaryAxis(imaginaryAxis: ImaginaryAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Smith @@ -1965,7 +1965,7 @@ type Chart = ( realAxis: RealAxis, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -2005,7 +2005,7 @@ type Chart = /// The new RealAxis for the chart layout's smith object /// The target smith id on which the RealAxis should be set. Default is 1. [] - static member withRealAxis(realAxis: RealAxis, [] ?Id: int) = + static member withRealAxis(realAxis: RealAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Smith @@ -2018,7 +2018,7 @@ type Chart = /// The target Geo id with which the Geo object should be set. /// Whether or not to combine the objects if there is already an Geo set (default is false) [] - static member setGeo(geo: Geo, id: StyleParam.SubPlotId, [] ?Combine: bool) = + static member setGeo(geo: Geo, id: StyleParam.SubPlotId, ?Combine: bool) = let combine = defaultArg Combine false @@ -2036,7 +2036,7 @@ type Chart = /// The new Geo for the chart's layout /// The target geo id on which the Geo should be set. Default is 1. [] - static member withGeo(geo: Geo, [] ?Id: int) = + static member withGeo(geo: Geo, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Geo @@ -2082,38 +2082,38 @@ type Chart = [] static member withGeoStyle ( - [] ?FitBounds: StyleParam.GeoFitBounds, - [] ?Resolution: StyleParam.GeoResolution, - [] ?Scope: StyleParam.GeoScope, - [] ?Projection: GeoProjection, - [] ?Center: (float * float), - [] ?Visible: bool, - [] ?Domain: Domain, - [] ?ShowCoastLines: bool, - [] ?CoastLineColor: Color, - [] ?CoastLineWidth: float, - [] ?ShowLand: bool, - [] ?LandColor: Color, - [] ?ShowOcean: bool, - [] ?OceanColor: Color, - [] ?ShowLakes: bool, - [] ?LakeColor: Color, - [] ?ShowRivers: bool, - [] ?RiverColor: Color, - [] ?RiverWidth: float, - [] ?ShowCountries: bool, - [] ?CountryColor: Color, - [] ?CountryWidth: float, - [] ?ShowSubunits: bool, - [] ?SubunitColor: Color, - [] ?SubunitWidth: float, - [] ?ShowFrame: bool, - [] ?FrameColor: Color, - [] ?FrameWidth: float, - [] ?BgColor: Color, - [] ?LatAxis: LinearAxis, - [] ?LonAxis: LinearAxis, - [] ?Id: int + ?FitBounds: StyleParam.GeoFitBounds, + ?Resolution: StyleParam.GeoResolution, + ?Scope: StyleParam.GeoScope, + ?Projection: GeoProjection, + ?Center: (float * float), + ?Visible: bool, + ?Domain: Domain, + ?ShowCoastLines: bool, + ?CoastLineColor: Color, + ?CoastLineWidth: float, + ?ShowLand: bool, + ?LandColor: Color, + ?ShowOcean: bool, + ?OceanColor: Color, + ?ShowLakes: bool, + ?LakeColor: Color, + ?ShowRivers: bool, + ?RiverColor: Color, + ?RiverWidth: float, + ?ShowCountries: bool, + ?CountryColor: Color, + ?CountryWidth: float, + ?ShowSubunits: bool, + ?SubunitColor: Color, + ?SubunitWidth: float, + ?ShowFrame: bool, + ?FrameColor: Color, + ?FrameWidth: float, + ?BgColor: Color, + ?LatAxis: LinearAxis, + ?LonAxis: LinearAxis, + ?Id: int ) = (fun (ch: GenericChart) -> let geo = @@ -2167,10 +2167,10 @@ type Chart = static member withGeoProjection ( projectionType: StyleParam.GeoProjectionType, - [] ?Rotation, - [] ?Parallels, - [] ?Scale, - [] ?Id: int + ?Rotation, + ?Parallels, + ?Scale, + ?Id: int ) = (fun (ch: GenericChart) -> @@ -2197,7 +2197,7 @@ type Chart = ( mapbox: Mapbox, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -2216,7 +2216,7 @@ type Chart = /// The Mapbox to set on the chart's layout /// The target mapbox id on which the Mapbox should be set. Default is 1. [] - static member withMapbox(mapbox: Mapbox, [] ?Id: int) = + static member withMapbox(mapbox: Mapbox, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Mapbox @@ -2238,15 +2238,15 @@ type Chart = /// The target mapbox id static member withMapboxStyle ( - [] ?Domain: Domain, - [] ?AccessToken: string, - [] ?Style: StyleParam.MapboxStyle, - [] ?Center: (float * float), - [] ?Zoom: float, - [] ?Bearing: float, - [] ?Pitch: float, - [] ?Layers: seq, - [] ?Id: int + ?Domain: Domain, + ?AccessToken: string, + ?Style: StyleParam.MapboxStyle, + ?Center: (float * float), + ?Zoom: float, + ?Bearing: float, + ?Pitch: float, + ?Layers: seq, + ?Id: int ) = (fun (ch: GenericChart) -> let mapbox = @@ -2274,7 +2274,7 @@ type Chart = ( ternary: Ternary, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -2293,7 +2293,7 @@ type Chart = /// The Ternary to set on the chart's layout /// The target ternary id on which the Ternary should be set. Default is 1. [] - static member withTernary(ternary: Ternary, [] ?Id: int) = + static member withTernary(ternary: Ternary, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2313,13 +2313,13 @@ type Chart = /// The target Ternary id static member withTernaryStyle ( - [] ?AAxis: LinearAxis, - [] ?BAxis: LinearAxis, - [] ?CAxis: LinearAxis, - [] ?Domain: Domain, - [] ?Sum: #IConvertible, - [] ?BGColor: Color, - [] ?Id: int + ?AAxis: LinearAxis, + ?BAxis: LinearAxis, + ?CAxis: LinearAxis, + ?Domain: Domain, + ?Sum: #IConvertible, + ?BGColor: Color, + ?Id: int ) = (fun (ch: GenericChart) -> let ternary = @@ -2345,7 +2345,7 @@ type Chart = ( aAxis: LinearAxis, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -2387,7 +2387,7 @@ type Chart = /// The new a axis for the chart layout's ternary object /// The target ternary id on which the a axis should be set. Default is 1. [] - static member withAAxis(aAxis: LinearAxis, [] ?Id: int) = + static member withAAxis(aAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2404,7 +2404,7 @@ type Chart = ( bAxis: LinearAxis, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -2446,7 +2446,7 @@ type Chart = /// The new b axis for the chart layout's ternary object /// The target ternary id on which the b axis should be set. Default is 1. [] - static member withBAxis(bAxis: LinearAxis, [] ?Id: int) = + static member withBAxis(bAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2463,7 +2463,7 @@ type Chart = ( cAxis: LinearAxis, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -2505,7 +2505,7 @@ type Chart = /// The new c axis for the chart layout's ternary object /// The target ternary id on which the c axis should be set. Default is 1. [] - static member withCAxis(cAxis: LinearAxis, [] ?Id: int) = + static member withCAxis(cAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2556,18 +2556,18 @@ type Chart = [] static member withLayoutGridStyle ( - [] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [] ?XAxes: StyleParam.LinearAxisId[], - [] ?YAxes: StyleParam.LinearAxisId[], - [] ?Rows: int, - [] ?Columns: int, - [] ?RowOrder: StyleParam.LayoutGridRowOrder, - [] ?Pattern: StyleParam.LayoutGridPattern, - [] ?XGap: float, - [] ?YGap: float, - [] ?Domain: Domain, - [] ?XSide: StyleParam.LayoutGridXSide, - [] ?YSide: StyleParam.LayoutGridYSide + ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], + ?XAxes: StyleParam.LinearAxisId[], + ?YAxes: StyleParam.LinearAxisId[], + ?Rows: int, + ?Columns: int, + ?RowOrder: StyleParam.LayoutGridRowOrder, + ?Pattern: StyleParam.LayoutGridPattern, + ?XGap: float, + ?YGap: float, + ?Domain: Domain, + ?XSide: StyleParam.LayoutGridXSide, + ?YSide: StyleParam.LayoutGridYSide ) = (fun (ch: GenericChart) -> let grid = @@ -2600,7 +2600,7 @@ type Chart = ( legend: Legend, id: StyleParam.SubPlotId, - [] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -2619,7 +2619,7 @@ type Chart = /// The Legend to set on the chart's layout /// The target Legend id with which the Legend should be set. Default is 1. [] - static member withLegend(legend: Legend, [] ?Id: int) = + static member withLegend(legend: Legend, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Legend @@ -2659,32 +2659,32 @@ type Chart = [] static member withLegendStyle ( - [] ?BGColor: Color, - [] ?BorderColor: Color, - [] ?BorderWidth: float, - [] ?EntryWidth: float, - [] ?EntryWidthMode: StyleParam.EntryWidthMode, - [] ?Font: Font, - [] ?GroupClick: StyleParam.TraceGroupClickOptions, - [] ?GroupTitleFont: Font, - [] ?ItemClick: StyleParam.TraceItemClickOptions, - [] ?ItemDoubleClick: StyleParam.TraceItemClickOptions, - [] ?ItemSizing: StyleParam.TraceItemSizing, - [] ?ItemWidth: int, - [] ?Orientation: StyleParam.Orientation, - [] ?Title: Title, - [] ?TraceGroupGap: float, - [] ?TraceOrder: StyleParam.TraceOrder, - [] ?UIRevision: string, - [] ?VerticalAlign: StyleParam.VerticalAlign, - [] ?Visible: bool, - [] ?X: float, - [] ?XAnchor: StyleParam.XAnchorPosition, - [] ?XRef: string, - [] ?Y: float, - [] ?YAnchor: StyleParam.YAnchorPosition, - [] ?YRef: string, - [] ?Id: int + ?BGColor: Color, + ?BorderColor: Color, + ?BorderWidth: float, + ?EntryWidth: float, + ?EntryWidthMode: StyleParam.EntryWidthMode, + ?Font: Font, + ?GroupClick: StyleParam.TraceGroupClickOptions, + ?GroupTitleFont: Font, + ?ItemClick: StyleParam.TraceItemClickOptions, + ?ItemDoubleClick: StyleParam.TraceItemClickOptions, + ?ItemSizing: StyleParam.TraceItemSizing, + ?ItemWidth: int, + ?Orientation: StyleParam.Orientation, + ?Title: Title, + ?TraceGroupGap: float, + ?TraceOrder: StyleParam.TraceOrder, + ?UIRevision: string, + ?VerticalAlign: StyleParam.VerticalAlign, + ?Visible: bool, + ?X: float, + ?XAnchor: StyleParam.XAnchorPosition, + ?XRef: string, + ?Y: float, + ?YAnchor: StyleParam.YAnchorPosition, + ?YRef: string, + ?Id: int ) = (fun (ch: GenericChart) -> let legend = @@ -2727,7 +2727,7 @@ type Chart = static member withAnnotations ( annotations: seq, - [] ?Append: bool + ?Append: bool ) = let append = defaultArg Append true @@ -2749,12 +2749,12 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Annotations = annotations')) [] - static member withAnnotation(annotation: Annotation, [] ?Append: bool) = + static member withAnnotation(annotation: Annotation, ?Append: bool) = Chart.withAnnotations ([ annotation ], ?Append = Append) // Set the title of a Chart [] - static member withTitle(title, [] ?TitleFont) = + static member withTitle(title, ?TitleFont) = (fun (ch: GenericChart) -> let layout = Layout() |> Layout.style (Title = Title.init (Text = title, ?Font = TitleFont)) @@ -2774,8 +2774,8 @@ type Chart = [] static member withSize ( - [] ?Width: int, - [] ?Height: int + ?Width: int, + ?Height: int ) = fun (ch: GenericChart) -> @@ -2804,12 +2804,12 @@ type Chart = [] static member withMarginSize ( - [] ?Left, - [] ?Right, - [] ?Top, - [] ?Bottom, - [] ?Pad, - [] ?Autoexpand + ?Left, + ?Right, + ?Top, + ?Bottom, + ?Pad, + ?Autoexpand ) = let margin = Margin.init ( @@ -2839,7 +2839,7 @@ type Chart = /// The shapes to add to the input charts layout /// If true, the input annotations will be appended to existing annotations, otherwise existing annotations will be removed (default: true) [] - static member withShapes(shapes: seq, [] ?Append: bool) = + static member withShapes(shapes: seq, ?Append: bool) = let append = defaultArg Append true fun (ch: GenericChart) -> @@ -2858,7 +2858,7 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Shapes = shapes')) [] - static member withShape(shape: Shape, [] ?Append: bool) = + static member withShape(shape: Shape, ?Append: bool) = Chart.withShapes ([ shape ], ?Append = Append) /// @@ -2867,7 +2867,7 @@ type Chart = /// The selections to add to the input charts layout /// If true, the input selections will be appended to existing annotations, otherwise existing annotations will be removed (default: true) [] - static member withSelections(selections: seq, [] ?Append: bool) = + static member withSelections(selections: seq, ?Append: bool) = let append = defaultArg Append true fun (ch: GenericChart) -> @@ -2888,7 +2888,7 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Selections = selections')) [] - static member withSelection(selection: Selection, [] ?Append: bool) = + static member withSelection(selection: Selection, ?Append: bool) = Chart.withSelections ([ selection ], ?Append = Append) //============================================================================================================== @@ -2978,45 +2978,45 @@ type Chart = [] static member withConfigStyle ( - [] ?StaticPlot: bool, - [] ?TypesetMath: bool, - [] ?PlotlyServerUrl: string, - [] ?Editable: bool, - [] ?Edits: Edits, - [] ?EditSelection: bool, - [] ?Autosizable: bool, - [] ?Responsive: bool, - [] ?FillFrame: bool, - [] ?FrameMargins: float, - [] ?ScrollZoom: StyleParam.ScrollZoom, - [] ?DoubleClick: StyleParam.DoubleClick, - [] ?DoubleClickDelay: int, - [] ?ShowAxisDragHandles: bool, - [] ?ShowAxisRangeEntryBoxes: bool, - [] ?ShowTips: bool, - [] ?ShowLink: bool, - [] ?LinkText: string, - [] ?SendData: bool, - [] ?ShowSources: obj, - [] ?DisplayModeBar: bool, - [] ?ShowSendToCloud: bool, - [] ?ShowEditInChartStudio: bool, - [] ?ModeBarButtonsToRemove: seq, - [] ?ModeBarButtonsToAdd: seq, - [] ?ModeBarButtons: seq>, - [] ?ToImageButtonOptions: ToImageButtonOptions, - [] ?Displaylogo: bool, - [] ?Watermark: bool, - [] ?plotGlPixelRatio: float, - [] ?SetBackground: obj, - [] ?TopojsonURL: string, - [] ?MapboxAccessToken: string, - [] ?Logging: int, - [] ?NotifyOnLogging: int, - [] ?QueueLength: int, - [] ?GlobalTransforms: obj, - [] ?Locale: string, - [] ?Locales: obj + ?StaticPlot: bool, + ?TypesetMath: bool, + ?PlotlyServerUrl: string, + ?Editable: bool, + ?Edits: Edits, + ?EditSelection: bool, + ?Autosizable: bool, + ?Responsive: bool, + ?FillFrame: bool, + ?FrameMargins: float, + ?ScrollZoom: StyleParam.ScrollZoom, + ?DoubleClick: StyleParam.DoubleClick, + ?DoubleClickDelay: int, + ?ShowAxisDragHandles: bool, + ?ShowAxisRangeEntryBoxes: bool, + ?ShowTips: bool, + ?ShowLink: bool, + ?LinkText: string, + ?SendData: bool, + ?ShowSources: obj, + ?DisplayModeBar: bool, + ?ShowSendToCloud: bool, + ?ShowEditInChartStudio: bool, + ?ModeBarButtonsToRemove: seq, + ?ModeBarButtonsToAdd: seq, + ?ModeBarButtons: seq>, + ?ToImageButtonOptions: ToImageButtonOptions, + ?Displaylogo: bool, + ?Watermark: bool, + ?plotGlPixelRatio: float, + ?SetBackground: obj, + ?TopojsonURL: string, + ?MapboxAccessToken: string, + ?Logging: int, + ?NotifyOnLogging: int, + ?QueueLength: int, + ?GlobalTransforms: obj, + ?Locale: string, + ?Locales: obj ) = (fun (ch: GenericChart) -> @@ -3106,19 +3106,19 @@ type Chart = ( nRows: int, nCols: int, - [] ?SubPlotTitles: #seq, - [] ?SubPlotTitleFont: Font, - [] ?SubPlotTitleOffset: float, - [] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [] ?XAxes: StyleParam.LinearAxisId[], - [] ?YAxes: StyleParam.LinearAxisId[], - [] ?RowOrder: StyleParam.LayoutGridRowOrder, - [] ?Pattern: StyleParam.LayoutGridPattern, - [] ?XGap: float, - [] ?YGap: float, - [] ?Domain: Domain, - [] ?XSide: StyleParam.LayoutGridXSide, - [] ?YSide: StyleParam.LayoutGridYSide + ?SubPlotTitles: #seq, + ?SubPlotTitleFont: Font, + ?SubPlotTitleOffset: float, + ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], + ?XAxes: StyleParam.LinearAxisId[], + ?YAxes: StyleParam.LinearAxisId[], + ?RowOrder: StyleParam.LayoutGridRowOrder, + ?Pattern: StyleParam.LayoutGridPattern, + ?XGap: float, + ?YGap: float, + ?Domain: Domain, + ?XSide: StyleParam.LayoutGridXSide, + ?YSide: StyleParam.LayoutGridYSide ) = fun (gCharts: #seq) -> @@ -3425,19 +3425,19 @@ type Chart = [] static member Grid ( - [] ?SubPlotTitles: #seq, - [] ?SubPlotTitleFont: Font, - [] ?SubPlotTitleOffset: float, - [] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [] ?XAxes: StyleParam.LinearAxisId[], - [] ?YAxes: StyleParam.LinearAxisId[], - [] ?RowOrder: StyleParam.LayoutGridRowOrder, - [] ?Pattern: StyleParam.LayoutGridPattern, - [] ?XGap: float, - [] ?YGap: float, - [] ?Domain: Domain, - [] ?XSide: StyleParam.LayoutGridXSide, - [] ?YSide: StyleParam.LayoutGridYSide + ?SubPlotTitles: #seq, + ?SubPlotTitleFont: Font, + ?SubPlotTitleOffset: float, + ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], + ?XAxes: StyleParam.LinearAxisId[], + ?YAxes: StyleParam.LinearAxisId[], + ?RowOrder: StyleParam.LayoutGridRowOrder, + ?Pattern: StyleParam.LayoutGridPattern, + ?XGap: float, + ?YGap: float, + ?Domain: Domain, + ?XSide: StyleParam.LayoutGridXSide, + ?YSide: StyleParam.LayoutGridYSide ) = fun (gCharts: #seq<#seq>) -> @@ -3542,19 +3542,19 @@ type Chart = [] static member SingleStack ( - [] ?SubPlotTitles: #seq, - [] ?SubPlotTitleFont: Font, - [] ?SubPlotTitleOffset: float, - [] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [] ?XAxes: StyleParam.LinearAxisId[], - [] ?YAxes: StyleParam.LinearAxisId[], - [] ?RowOrder: StyleParam.LayoutGridRowOrder, - [] ?Pattern: StyleParam.LayoutGridPattern, - [] ?XGap: float, - [] ?YGap: float, - [] ?Domain: Domain, - [] ?XSide: StyleParam.LayoutGridXSide, - [] ?YSide: StyleParam.LayoutGridYSide + ?SubPlotTitles: #seq, + ?SubPlotTitleFont: Font, + ?SubPlotTitleOffset: float, + ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], + ?XAxes: StyleParam.LinearAxisId[], + ?YAxes: StyleParam.LinearAxisId[], + ?RowOrder: StyleParam.LayoutGridRowOrder, + ?Pattern: StyleParam.LayoutGridPattern, + ?XGap: float, + ?YGap: float, + ?Domain: Domain, + ?XSide: StyleParam.LayoutGridXSide, + ?YSide: StyleParam.LayoutGridYSide ) = fun (gCharts: #seq) -> @@ -3581,7 +3581,7 @@ type Chart = /// Sets the color axis with the given id on the chart layout [] - static member withColorAxis(colorAxis: ColorAxis, [] ?Id) = + static member withColorAxis(colorAxis: ColorAxis, ?Id) = (fun (ch: GenericChart) -> let layout = let id = @@ -3597,7 +3597,7 @@ type Chart = /// The images to add to the input charts layout /// If true, the input images will be appended to existing annotations, otherwise existing annotations will be removed (default: true) [] - static member withLayoutImages(images: seq, [] ?Append: bool) = + static member withLayoutImages(images: seq, ?Append: bool) = let append = defaultArg Append true fun (ch: GenericChart) -> @@ -3618,7 +3618,7 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Images = images')) [] - static member withLayoutImage(image: LayoutImage, [] ?Append: bool) = + static member withLayoutImage(image: LayoutImage, ?Append: bool) = Chart.withLayoutImages ([ image ], ?Append = Append) @@ -3631,7 +3631,7 @@ type Chart = static member withUpdateMenus ( updateMenus: seq, - [] ?Append: bool + ?Append: bool ) = let append = defaultArg Append true @@ -3653,7 +3653,7 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (UpdateMenus = updateMenus')) [] - static member withUpdateMenu(updateMenu: UpdateMenu, [] ?Append: bool) = + static member withUpdateMenu(updateMenu: UpdateMenu, ?Append: bool) = Chart.withUpdateMenus ([ updateMenu ], ?Append = Append) @@ -3695,9 +3695,9 @@ type Chart = [] static member withDisplayOptionsStyle ( - [] ?AdditionalHeadTags: XmlNode list, - [] ?ChartDescription: XmlNode list, - [] ?PlotlyJSReference: PlotlyJSReference + ?AdditionalHeadTags: XmlNode list, + ?ChartDescription: XmlNode list, + ?PlotlyJSReference: PlotlyJSReference ) = (fun (ch: GenericChart) -> @@ -3735,8 +3735,8 @@ type Chart = [] static member withMathTex ( - [] ?AppendTags: bool, - [] ?MathJaxVersion: int + ?AppendTags: bool, + ?MathJaxVersion: int ) = let version = MathJaxVersion |> Option.defaultValue 3 diff --git a/src/Plotly.NET/ChartAPI/Chart2D.fs b/src/Plotly.NET/ChartAPI/Chart2D.fs index d3f56a8af..6e71c0b9a 100644 --- a/src/Plotly.NET/ChartAPI/Chart2D.fs +++ b/src/Plotly.NET/ChartAPI/Chart2D.fs @@ -70,40 +70,40 @@ module Chart2D = [] static member Scatter ( - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Mode: StyleParam.Mode, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -204,35 +204,35 @@ module Chart2D = x: seq<#IConvertible>, y: seq<#IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = Chart.Scatter( X = x, @@ -308,35 +308,35 @@ module Chart2D = ( xy: seq<#IConvertible * #IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let x, y = Seq.unzip xy @@ -407,27 +407,27 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?UseWebGL: bool, + ?UseDefaults: bool ) = // if text position or font is set, then show labels (not only when hovering) @@ -489,27 +489,27 @@ module Chart2D = static member Point ( xy: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let x, y = Seq.unzip xy @@ -578,36 +578,36 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = // if text position or font is set than show labels (not only when hovering) @@ -694,36 +694,36 @@ module Chart2D = static member Line ( xy: seq<#IConvertible * #IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let x, y = Seq.unzip xy @@ -803,37 +803,37 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?ShowMarkers: bool, - [] ?Smoothing: float, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = // if text position set then show labels (not only when hovering) @@ -943,37 +943,37 @@ module Chart2D = static member Spline ( xy: seq<#IConvertible * #IConvertible>, - [] ?ShowMarkers: bool, - [] ?Smoothing: float, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let x, y = Seq.unzip xy @@ -1051,32 +1051,32 @@ module Chart2D = x: seq<#IConvertible>, y: seq<#IConvertible>, sizes: seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -1166,32 +1166,32 @@ module Chart2D = static member Bubble ( xysizes: seq<#IConvertible * #IConvertible * int>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let x, y, sizes = Seq.unzip3 xysizes @@ -1279,39 +1279,39 @@ module Chart2D = upper: seq<#IConvertible>, lower: seq<#IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?GroupName: string, - [] ?ShowMarkers: bool, - [] ?ShowLegend: bool, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UpperMarker: Marker, - [] ?LowerMarker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UpperLine: Line, - [] ?LowerLine: Line, - [] ?RangeColor: Color, - [] ?RangePattern: Pattern, - [] ?UpperText: #IConvertible, - [] ?MultiUpperText: seq<#IConvertible>, - [] ?LowerText: #IConvertible, - [] ?MultiLowerText: seq<#IConvertible>, - [] ?TextFont: Font, - [] ?LowerName: string, - [] ?UpperName: string, - [] ?UseDefaults: bool + ?Name: string, + ?GroupName: string, + ?ShowMarkers: bool, + ?ShowLegend: bool, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UpperMarker: Marker, + ?LowerMarker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UpperLine: Line, + ?LowerLine: Line, + ?RangeColor: Color, + ?RangePattern: Pattern, + ?UpperText: #IConvertible, + ?MultiUpperText: seq<#IConvertible>, + ?LowerText: #IConvertible, + ?MultiLowerText: seq<#IConvertible>, + ?TextFont: Font, + ?LowerName: string, + ?UpperName: string, + ?UseDefaults: bool ) = let useDefaults = @@ -1471,39 +1471,39 @@ module Chart2D = upper: seq<#IConvertible>, lower: seq<#IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?GroupName: string, - [] ?ShowMarkers: bool, - [] ?ShowLegend: bool, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UpperMarker: Marker, - [] ?LowerMarker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UpperLine: Line, - [] ?LowerLine: Line, - [] ?RangeColor: Color, - [] ?RangePattern: Pattern, - [] ?UpperText: #IConvertible, - [] ?MultiUpperText: seq<#IConvertible>, - [] ?LowerText: #IConvertible, - [] ?MultiLowerText: seq<#IConvertible>, - [] ?TextFont: Font, - [] ?LowerName: string, - [] ?UpperName: string, - [] ?UseDefaults: bool + ?Name: string, + ?GroupName: string, + ?ShowMarkers: bool, + ?ShowLegend: bool, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UpperMarker: Marker, + ?LowerMarker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UpperLine: Line, + ?LowerLine: Line, + ?RangeColor: Color, + ?RangePattern: Pattern, + ?UpperText: #IConvertible, + ?MultiUpperText: seq<#IConvertible>, + ?LowerText: #IConvertible, + ?MultiLowerText: seq<#IConvertible>, + ?TextFont: Font, + ?LowerName: string, + ?UpperName: string, + ?UseDefaults: bool ) = let x, y = Seq.unzip xy @@ -1586,36 +1586,36 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?FillColor: Color, - [] ?FillPatternShape: StyleParam.PatternShape, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?FillColor: Color, + ?FillPatternShape: StyleParam.PatternShape, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let fillpattern = @@ -1696,36 +1696,36 @@ module Chart2D = static member Area ( xy: seq<#IConvertible * #IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?FillColor: Color, - [] ?FillPatternShape: StyleParam.PatternShape, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?FillColor: Color, + ?FillPatternShape: StyleParam.PatternShape, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let x, y = Seq.unzip xy @@ -1805,37 +1805,37 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?ShowMarkers: bool, - [] ?Smoothing: float, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?FillColor: Color, - [] ?FillPatternShape: StyleParam.PatternShape, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?FillColor: Color, + ?FillPatternShape: StyleParam.PatternShape, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let fillpattern = @@ -1916,37 +1916,37 @@ module Chart2D = static member SplineArea ( xy: seq<#IConvertible * #IConvertible>, - [] ?ShowMarkers: bool, - [] ?Smoothing: float, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?FillColor: Color, - [] ?FillPatternShape: StyleParam.PatternShape, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?FillColor: Color, + ?FillPatternShape: StyleParam.PatternShape, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let x, y = Seq.unzip xy @@ -2022,33 +2022,33 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?FillColor: Color, - [] ?FillPatternShape: StyleParam.PatternShape, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?FillColor: Color, + ?FillPatternShape: StyleParam.PatternShape, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let fillpattern = @@ -2122,33 +2122,33 @@ module Chart2D = static member StackedArea ( xy: seq<#IConvertible * #IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?FillColor: Color, - [] ?FillPatternShape: StyleParam.PatternShape, - [] ?FillPattern: Pattern, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?FillColor: Color, + ?FillPatternShape: StyleParam.PatternShape, + ?FillPattern: Pattern, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let x, y = Seq.unzip xy @@ -2222,30 +2222,30 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Width: float, - [] ?Offset: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?Orientation: StyleParam.Orientation, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?MarkerColor: Color, - [] ?MarkerOutline: Line, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?ConnectorLineColor: Color, - [] ?ConnectorLineStyle: StyleParam.DrawingStyle, - [] ?ConnectorFillColor: Color, - [] ?ConnectorLine: Line, - [] ?Connector: FunnelConnector, - [] ?InsideTextFont: Font, - [] ?OutsideTextFont: Font, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Width: float, + ?Offset: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?Orientation: StyleParam.Orientation, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?MarkerColor: Color, + ?MarkerOutline: Line, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?ConnectorLineColor: Color, + ?ConnectorLineStyle: StyleParam.DrawingStyle, + ?ConnectorFillColor: Color, + ?ConnectorLine: Line, + ?Connector: FunnelConnector, + ?InsideTextFont: Font, + ?OutsideTextFont: Font, + ?UseDefaults: bool ) = let useDefaults = @@ -2327,30 +2327,30 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Width: float, - [] ?Offset: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?Orientation: StyleParam.Orientation, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?MarkerColor: Color, - [] ?MarkerOutline: Line, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?ConnectorLineColor: Color, - [] ?ConnectorLineStyle: StyleParam.DrawingStyle, - [] ?ConnectorFillColor: Color, - [] ?ConnectorLine: Line, - [] ?Connector: FunnelConnector, - [] ?InsideTextFont: Font, - [] ?OutsideTextFont: Font, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Width: float, + ?Offset: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?Orientation: StyleParam.Orientation, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?MarkerColor: Color, + ?MarkerOutline: Line, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?ConnectorLineColor: Color, + ?ConnectorLineStyle: StyleParam.DrawingStyle, + ?ConnectorFillColor: Color, + ?ConnectorLine: Line, + ?Connector: FunnelConnector, + ?InsideTextFont: Font, + ?OutsideTextFont: Font, + ?UseDefaults: bool ) = Chart.Funnel( x = x, @@ -2418,29 +2418,29 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?IncreasingColor: Color, - [] ?Increasing: FinanceMarker, - [] ?DecreasingColor: Color, - [] ?Decreasing: FinanceMarker, - [] ?TotalsColor: Color, - [] ?Totals: FinanceMarker, - [] ?Base: float, - [] ?Width: float, - [] ?MultiWidth: seq, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextFont: Font, - [] ?Connector: WaterfallConnector, - [] ?Measure: StyleParam.WaterfallMeasure seq, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?TotalsColor: Color, + ?Totals: FinanceMarker, + ?Base: float, + ?Width: float, + ?MultiWidth: seq, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextFont: Font, + ?Connector: WaterfallConnector, + ?Measure: StyleParam.WaterfallMeasure seq, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?Orientation: StyleParam.Orientation, + ?UseDefaults: bool ) = let useDefaults = @@ -2522,29 +2522,29 @@ module Chart2D = static member Waterfall ( xy: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?IncreasingColor: Color, - [] ?Increasing: FinanceMarker, - [] ?DecreasingColor: Color, - [] ?Decreasing: FinanceMarker, - [] ?TotalsColor: Color, - [] ?Totals: FinanceMarker, - [] ?Base: float, - [] ?Width: float, - [] ?MultiWidth: seq, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextFont: Font, - [] ?Connector: WaterfallConnector, - [] ?Measure: StyleParam.WaterfallMeasure seq, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?TotalsColor: Color, + ?Totals: FinanceMarker, + ?Base: float, + ?Width: float, + ?MultiWidth: seq, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextFont: Font, + ?Connector: WaterfallConnector, + ?Measure: StyleParam.WaterfallMeasure seq, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?Orientation: StyleParam.Orientation, + ?UseDefaults: bool ) = let x, y = Seq.unzip xy @@ -2609,28 +2609,28 @@ module Chart2D = static member Waterfall ( xymeasures: seq<#IConvertible * #IConvertible * StyleParam.WaterfallMeasure>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?IncreasingColor: Color, - [] ?Increasing: FinanceMarker, - [] ?DecreasingColor: Color, - [] ?Decreasing: FinanceMarker, - [] ?TotalsColor: Color, - [] ?Totals: FinanceMarker, - [] ?Base: float, - [] ?Width: float, - [] ?MultiWidth: seq, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextFont: Font, - [] ?Connector: WaterfallConnector, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?Orientation: StyleParam.Orientation, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?TotalsColor: Color, + ?Totals: FinanceMarker, + ?Base: float, + ?Width: float, + ?MultiWidth: seq, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextFont: Font, + ?Connector: WaterfallConnector, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?Orientation: StyleParam.Orientation, + ?UseDefaults: bool ) = let x, y, measure = Seq.unzip3 xymeasures @@ -2694,27 +2694,27 @@ module Chart2D = static member Bar ( values: seq<#IConvertible>, - [] ?Keys: seq<#IConvertible>, - [] ?MultiKeys: seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?Base: #IConvertible, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?UseDefaults: bool + ?Keys: seq<#IConvertible>, + ?MultiKeys: seq>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?UseDefaults: bool ) = let useDefaults = @@ -2787,25 +2787,25 @@ module Chart2D = static member Bar ( keysValues: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?Base: #IConvertible, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?UseDefaults: bool ) = let keys, values = Seq.unzip keysValues @@ -2867,27 +2867,27 @@ module Chart2D = static member StackedBar ( values: seq<#IConvertible>, - [] ?Keys: seq<#IConvertible>, - [] ?MultiKeys: seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?Base: #IConvertible, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?UseDefaults: bool + ?Keys: seq<#IConvertible>, + ?MultiKeys: seq>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?UseDefaults: bool ) = Chart.Bar( @@ -2947,25 +2947,25 @@ module Chart2D = static member StackedBar ( keysValues: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?Base: #IConvertible, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?UseDefaults: bool ) = let keys, values = Seq.unzip keysValues @@ -3025,27 +3025,27 @@ module Chart2D = static member Column ( values: seq<#IConvertible>, - [] ?Keys: seq<#IConvertible>, - [] ?MultiKeys: seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?Base: #IConvertible, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?UseDefaults: bool + ?Keys: seq<#IConvertible>, + ?MultiKeys: seq>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?UseDefaults: bool ) = let useDefaults = @@ -3119,25 +3119,25 @@ module Chart2D = static member Column ( keysValues: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?Base: #IConvertible, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?UseDefaults: bool ) = let keys, values = Seq.unzip keysValues @@ -3199,27 +3199,27 @@ module Chart2D = static member StackedColumn ( values: seq<#IConvertible>, - [] ?Keys: seq<#IConvertible>, - [] ?MultiKeys: seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?Base: #IConvertible, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?UseDefaults: bool + ?Keys: seq<#IConvertible>, + ?MultiKeys: seq>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?UseDefaults: bool ) = Chart.Column( @@ -3279,25 +3279,25 @@ module Chart2D = static member StackedColumn ( keysValues: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?Base: #IConvertible, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?UseDefaults: bool ) = let keys, values = Seq.unzip keysValues @@ -3371,39 +3371,39 @@ module Chart2D = [] static member Histogram ( - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Orientation: StyleParam.Orientation, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?HistFunc: StyleParam.HistFunc, - [] ?HistNorm: StyleParam.HistNorm, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?NBinsX: int, - [] ?NBinsY: int, - [] ?BinGroup: string, - [] ?XBins: Bins, - [] ?YBins: Bins, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?XError: Error, - [] ?YError: Error, - [] ?Cumulative: Cumulative, - [] ?HoverLabel: Hoverlabel, - [] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Orientation: StyleParam.Orientation, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?HistFunc: StyleParam.HistFunc, + ?HistNorm: StyleParam.HistNorm, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?NBinsX: int, + ?NBinsY: int, + ?BinGroup: string, + ?XBins: Bins, + ?YBins: Bins, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Line: Line, + ?XError: Error, + ?YError: Error, + ?Cumulative: Cumulative, + ?HoverLabel: Hoverlabel, + ?UseDefaults: bool ) = let useDefaults = @@ -3494,28 +3494,28 @@ module Chart2D = ( data: seq<#IConvertible>, orientation: StyleParam.Orientation, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HistFunc: StyleParam.HistFunc, - [] ?HistNorm: StyleParam.HistNorm, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?NBinsX: int, - [] ?NBinsY: int, - [] ?BinGroup: string, - [] ?XBins: Bins, - [] ?YBins: Bins, - [] ?MarkerColor: Color, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?XError: Error, - [] ?YError: Error, - [] ?Cumulative: Cumulative, - [] ?HoverLabel: Hoverlabel, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HistFunc: StyleParam.HistFunc, + ?HistNorm: StyleParam.HistNorm, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?NBinsX: int, + ?NBinsY: int, + ?BinGroup: string, + ?XBins: Bins, + ?YBins: Bins, + ?MarkerColor: Color, + ?Marker: Marker, + ?Line: Line, + ?XError: Error, + ?YError: Error, + ?Cumulative: Cumulative, + ?HoverLabel: Hoverlabel, + ?UseDefaults: bool ) = let useDefaults = @@ -3583,28 +3583,28 @@ module Chart2D = [] static member Histogram2D ( - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Z: seq<#seq<#IConvertible>>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?XGap: int, - [] ?YGap: int, - [] ?HistFunc: StyleParam.HistFunc, - [] ?HistNorm: StyleParam.HistNorm, - [] ?NBinsX: int, - [] ?NBinsY: int, - [] ?XBins: Bins, - [] ?YBins: Bins, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZSmooth: StyleParam.SmoothAlg, - [] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Z: seq<#seq<#IConvertible>>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?XGap: int, + ?YGap: int, + ?HistFunc: StyleParam.HistFunc, + ?HistNorm: StyleParam.HistNorm, + ?NBinsX: int, + ?NBinsY: int, + ?XBins: Bins, + ?YBins: Bins, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZSmooth: StyleParam.SmoothAlg, + ?UseDefaults: bool ) = let useDefaults = @@ -3667,24 +3667,24 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?Z: seq<#seq<#IConvertible>>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?XGap: int, - [] ?YGap: int, - [] ?HistFunc: StyleParam.HistFunc, - [] ?HistNorm: StyleParam.HistNorm, - [] ?NBinsX: int, - [] ?NBinsY: int, - [] ?XBins: Bins, - [] ?YBins: Bins, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZSmooth: StyleParam.SmoothAlg, - [] ?UseDefaults: bool + ?Z: seq<#seq<#IConvertible>>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?XGap: int, + ?YGap: int, + ?HistFunc: StyleParam.HistFunc, + ?HistNorm: StyleParam.HistNorm, + ?NBinsX: int, + ?NBinsY: int, + ?XBins: Bins, + ?YBins: Bins, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZSmooth: StyleParam.SmoothAlg, + ?UseDefaults: bool ) = Chart.Histogram2D( @@ -3749,34 +3749,34 @@ module Chart2D = [] static member BoxPlot ( - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?FillColor: Color, - [] ?MarkerColor: Color, - [] ?Marker: Marker, - [] ?Opacity: float, - [] ?WhiskerWidth: float, - [] ?BoxPoints: StyleParam.BoxPoints, - [] ?BoxMean: StyleParam.BoxMean, - [] ?Jitter: float, - [] ?PointPos: float, - [] ?Orientation: StyleParam.Orientation, - [] ?OutlineColor: Color, - [] ?OutlineWidth: float, - [] ?Outline: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?Notched: bool, - [] ?NotchWidth: float, - [] ?QuartileMethod: StyleParam.QuartileMethod, - [] ?SizeMode: StyleParam.BoxSizeMode, - [] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Name: string, + ?ShowLegend: bool, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?FillColor: Color, + ?MarkerColor: Color, + ?Marker: Marker, + ?Opacity: float, + ?WhiskerWidth: float, + ?BoxPoints: StyleParam.BoxPoints, + ?BoxMean: StyleParam.BoxMean, + ?Jitter: float, + ?PointPos: float, + ?Orientation: StyleParam.Orientation, + ?OutlineColor: Color, + ?OutlineWidth: float, + ?Outline: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?Notched: bool, + ?NotchWidth: float, + ?QuartileMethod: StyleParam.QuartileMethod, + ?SizeMode: StyleParam.BoxSizeMode, + ?UseDefaults: bool ) = let useDefaults = @@ -3860,29 +3860,29 @@ module Chart2D = ( data: seq<#IConvertible>, orientation: StyleParam.Orientation, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?FillColor: Color, - [] ?MarkerColor: Color, - [] ?Marker: Marker, - [] ?Opacity: float, - [] ?WhiskerWidth: float, - [] ?BoxPoints: StyleParam.BoxPoints, - [] ?BoxMean: StyleParam.BoxMean, - [] ?Jitter: float, - [] ?PointPos: float, - [] ?OutlineColor: Color, - [] ?OutlineWidth: float, - [] ?Outline: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?Notched: bool, - [] ?NotchWidth: float, - [] ?QuartileMethod: StyleParam.QuartileMethod, - [] ?SizeMode: StyleParam.BoxSizeMode, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?FillColor: Color, + ?MarkerColor: Color, + ?Marker: Marker, + ?Opacity: float, + ?WhiskerWidth: float, + ?BoxPoints: StyleParam.BoxPoints, + ?BoxMean: StyleParam.BoxMean, + ?Jitter: float, + ?PointPos: float, + ?OutlineColor: Color, + ?OutlineWidth: float, + ?Outline: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?Notched: bool, + ?NotchWidth: float, + ?QuartileMethod: StyleParam.QuartileMethod, + ?SizeMode: StyleParam.BoxSizeMode, + ?UseDefaults: bool ) = let boxplot = @@ -3953,30 +3953,30 @@ module Chart2D = static member BoxPlot ( xy: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?FillColor: Color, - [] ?MarkerColor: Color, - [] ?Marker: Marker, - [] ?Opacity: float, - [] ?WhiskerWidth: float, - [] ?BoxPoints: StyleParam.BoxPoints, - [] ?BoxMean: StyleParam.BoxMean, - [] ?Jitter: float, - [] ?PointPos: float, - [] ?Orientation: StyleParam.Orientation, - [] ?OutlineColor: Color, - [] ?OutlineWidth: float, - [] ?Outline: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?Notched: bool, - [] ?NotchWidth: float, - [] ?QuartileMethod: StyleParam.QuartileMethod, - [] ?SizeMode: StyleParam.BoxSizeMode, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?FillColor: Color, + ?MarkerColor: Color, + ?Marker: Marker, + ?Opacity: float, + ?WhiskerWidth: float, + ?BoxPoints: StyleParam.BoxPoints, + ?BoxMean: StyleParam.BoxMean, + ?Jitter: float, + ?PointPos: float, + ?Orientation: StyleParam.Orientation, + ?OutlineColor: Color, + ?OutlineWidth: float, + ?Outline: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?Notched: bool, + ?NotchWidth: float, + ?QuartileMethod: StyleParam.QuartileMethod, + ?SizeMode: StyleParam.BoxSizeMode, + ?UseDefaults: bool ) = let x, y = Seq.unzip xy @@ -4055,40 +4055,40 @@ module Chart2D = [] static member Violin ( - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?FillColor: Color, - [] ?Opacity: float, - [] ?Points: StyleParam.JitterPoints, - [] ?Jitter: float, - [] ?PointPos: float, - [] ?Orientation: StyleParam.Orientation, - [] ?Width: float, - [] ?MarkerColor: Color, - [] ?Marker: Marker, - [] ?OutlineColor: Color, - [] ?OutlineWidth: float, - [] ?Outline: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?ShowBox: bool, - [] ?BoxWidth: float, - [] ?BoxFillColor: Color, - [] ?Box: Box, - [] ?BandWidth: float, - [] ?MeanLine: MeanLine, - [] ?ScaleGroup: string, - [] ?ScaleMode: StyleParam.ScaleMode, - [] ?Side: StyleParam.ViolinSide, - [] ?Span: StyleParam.Range, - [] ?SpanMode: StyleParam.SpanMode, - [] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Name: string, + ?ShowLegend: bool, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?FillColor: Color, + ?Opacity: float, + ?Points: StyleParam.JitterPoints, + ?Jitter: float, + ?PointPos: float, + ?Orientation: StyleParam.Orientation, + ?Width: float, + ?MarkerColor: Color, + ?Marker: Marker, + ?OutlineColor: Color, + ?OutlineWidth: float, + ?Outline: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?ShowBox: bool, + ?BoxWidth: float, + ?BoxFillColor: Color, + ?Box: Box, + ?BandWidth: float, + ?MeanLine: MeanLine, + ?ScaleGroup: string, + ?ScaleMode: StyleParam.ScaleMode, + ?Side: StyleParam.ViolinSide, + ?Span: StyleParam.Range, + ?SpanMode: StyleParam.SpanMode, + ?UseDefaults: bool ) = let useDefaults = @@ -4185,35 +4185,35 @@ module Chart2D = ( data: seq<#IConvertible>, orientation: StyleParam.Orientation, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?FillColor: Color, - [] ?Opacity: float, - [] ?Points: StyleParam.JitterPoints, - [] ?Jitter: float, - [] ?PointPos: float, - [] ?Width: float, - [] ?MarkerColor: Color, - [] ?Marker: Marker, - [] ?OutlineColor: Color, - [] ?OutlineWidth: float, - [] ?Outline: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?ShowBox: bool, - [] ?BoxWidth: float, - [] ?BoxFillColor: Color, - [] ?Box: Box, - [] ?BandWidth: float, - [] ?MeanLine: MeanLine, - [] ?ScaleGroup: string, - [] ?ScaleMode: StyleParam.ScaleMode, - [] ?Side: StyleParam.ViolinSide, - [] ?Span: StyleParam.Range, - [] ?SpanMode: StyleParam.SpanMode, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?FillColor: Color, + ?Opacity: float, + ?Points: StyleParam.JitterPoints, + ?Jitter: float, + ?PointPos: float, + ?Width: float, + ?MarkerColor: Color, + ?Marker: Marker, + ?OutlineColor: Color, + ?OutlineWidth: float, + ?Outline: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?ShowBox: bool, + ?BoxWidth: float, + ?BoxFillColor: Color, + ?Box: Box, + ?BandWidth: float, + ?MeanLine: MeanLine, + ?ScaleGroup: string, + ?ScaleMode: StyleParam.ScaleMode, + ?Side: StyleParam.ViolinSide, + ?Span: StyleParam.Range, + ?SpanMode: StyleParam.SpanMode, + ?UseDefaults: bool ) = let violin = @@ -4295,36 +4295,36 @@ module Chart2D = static member Violin ( xy: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?FillColor: Color, - [] ?Opacity: float, - [] ?Points: StyleParam.JitterPoints, - [] ?Jitter: float, - [] ?PointPos: float, - [] ?Orientation: StyleParam.Orientation, - [] ?Width: float, - [] ?MarkerColor: Color, - [] ?Marker: Marker, - [] ?OutlineColor: Color, - [] ?OutlineWidth: float, - [] ?Outline: Line, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?ShowBox: bool, - [] ?BoxWidth: float, - [] ?BoxFillColor: Color, - [] ?Box: Box, - [] ?BandWidth: float, - [] ?MeanLine: MeanLine, - [] ?ScaleGroup: string, - [] ?ScaleMode: StyleParam.ScaleMode, - [] ?Side: StyleParam.ViolinSide, - [] ?Span: StyleParam.Range, - [] ?SpanMode: StyleParam.SpanMode, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?FillColor: Color, + ?Opacity: float, + ?Points: StyleParam.JitterPoints, + ?Jitter: float, + ?PointPos: float, + ?Orientation: StyleParam.Orientation, + ?Width: float, + ?MarkerColor: Color, + ?Marker: Marker, + ?OutlineColor: Color, + ?OutlineWidth: float, + ?Outline: Line, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?ShowBox: bool, + ?BoxWidth: float, + ?BoxFillColor: Color, + ?Box: Box, + ?BandWidth: float, + ?MeanLine: MeanLine, + ?ScaleGroup: string, + ?ScaleMode: StyleParam.ScaleMode, + ?Side: StyleParam.ViolinSide, + ?Span: StyleParam.Range, + ?SpanMode: StyleParam.SpanMode, + ?UseDefaults: bool ) = let x, y = Seq.unzip xy @@ -4411,44 +4411,44 @@ module Chart2D = [] static member Histogram2DContour ( - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Z: seq<#seq<#IConvertible>>, - [] ?HistFunc: StyleParam.HistFunc, - [] ?HistNorm: StyleParam.HistNorm, - [] ?NBinsX: int, - [] ?NBinsY: int, - [] ?BinGroup: string, - [] ?XBinGroup: string, - [] ?XBins: Bins, - [] ?YBinGroup: string, - [] ?YBins: Bins, - [] ?Marker: Marker, - [] ?ContourLinesColor: Color, - [] ?ContourLinesDash: StyleParam.DrawingStyle, - [] ?ContourLinesSmoothing: float, - [] ?ContourLinesWidth: float, - [] ?ContourLines: Line, - [] ?ShowContourLines: bool, - [] ?ContoursColoring: StyleParam.ContourColoring, - [] ?ContoursOperation: StyleParam.ConstraintOperation, - [] ?ContoursType: StyleParam.ContourType, - [] ?ShowContoursLabels: bool, - [] ?ContoursLabelFont: Font, - [] ?ContoursStart: float, - [] ?ContoursEnd: float, - [] ?Contours: Contours, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?NContours: int, - [] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Z: seq<#seq<#IConvertible>>, + ?HistFunc: StyleParam.HistFunc, + ?HistNorm: StyleParam.HistNorm, + ?NBinsX: int, + ?NBinsY: int, + ?BinGroup: string, + ?XBinGroup: string, + ?XBins: Bins, + ?YBinGroup: string, + ?YBins: Bins, + ?Marker: Marker, + ?ContourLinesColor: Color, + ?ContourLinesDash: StyleParam.DrawingStyle, + ?ContourLinesSmoothing: float, + ?ContourLinesWidth: float, + ?ContourLines: Line, + ?ShowContourLines: bool, + ?ContoursColoring: StyleParam.ContourColoring, + ?ContoursOperation: StyleParam.ConstraintOperation, + ?ContoursType: StyleParam.ContourType, + ?ShowContoursLabels: bool, + ?ContoursLabelFont: Font, + ?ContoursStart: float, + ?ContoursEnd: float, + ?Contours: Contours, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?NContours: int, + ?UseDefaults: bool ) = let useDefaults = @@ -4561,40 +4561,40 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Z: seq<#seq<#IConvertible>>, - [] ?HistFunc: StyleParam.HistFunc, - [] ?HistNorm: StyleParam.HistNorm, - [] ?NBinsX: int, - [] ?NBinsY: int, - [] ?BinGroup: string, - [] ?XBinGroup: string, - [] ?XBins: Bins, - [] ?YBinGroup: string, - [] ?YBins: Bins, - [] ?Marker: Marker, - [] ?ContourLinesColor: Color, - [] ?ContourLinesDash: StyleParam.DrawingStyle, - [] ?ContourLinesSmoothing: float, - [] ?ContourLinesWidth: float, - [] ?ContourLines: Line, - [] ?ShowContourLines: bool, - [] ?ContoursColoring: StyleParam.ContourColoring, - [] ?ContoursOperation: StyleParam.ConstraintOperation, - [] ?ContoursType: StyleParam.ContourType, - [] ?ShowContoursLabels: bool, - [] ?ContoursLabelFont: Font, - [] ?ContoursStart: float, - [] ?ContoursEnd: float, - [] ?Contours: Contours, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?NContours: int, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Z: seq<#seq<#IConvertible>>, + ?HistFunc: StyleParam.HistFunc, + ?HistNorm: StyleParam.HistNorm, + ?NBinsX: int, + ?NBinsY: int, + ?BinGroup: string, + ?XBinGroup: string, + ?XBins: Bins, + ?YBinGroup: string, + ?YBins: Bins, + ?Marker: Marker, + ?ContourLinesColor: Color, + ?ContourLinesDash: StyleParam.DrawingStyle, + ?ContourLinesSmoothing: float, + ?ContourLinesWidth: float, + ?ContourLines: Line, + ?ShowContourLines: bool, + ?ContoursColoring: StyleParam.ContourColoring, + ?ContoursOperation: StyleParam.ConstraintOperation, + ?ContoursType: StyleParam.ContourType, + ?ShowContoursLabels: bool, + ?ContoursLabelFont: Font, + ?ContoursStart: float, + ?ContoursEnd: float, + ?Contours: Contours, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?NContours: int, + ?UseDefaults: bool ) = Chart.Histogram2DContour( X = x, @@ -4665,26 +4665,26 @@ module Chart2D = static member Heatmap ( zData: seq<#seq<#IConvertible>>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?XGap: int, - [] ?YGap: int, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZSmooth: StyleParam.SmoothAlg, - [] ?Transpose: bool, - [] ?UseWebGL: bool, - [] ?ReverseYAxis: bool, - [] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?XGap: int, + ?YGap: int, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZSmooth: StyleParam.SmoothAlg, + ?Transpose: bool, + ?UseWebGL: bool, + ?ReverseYAxis: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -4754,22 +4754,22 @@ module Chart2D = zData: seq<#seq<#IConvertible>>, colNames: seq, rowNames: seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?XGap: int, - [] ?YGap: int, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZSmooth: StyleParam.SmoothAlg, - [] ?Transpose: bool, - [] ?UseWebGL: bool, - [] ?ReverseYAxis: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?XGap: int, + ?YGap: int, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZSmooth: StyleParam.SmoothAlg, + ?Transpose: bool, + ?UseWebGL: bool, + ?ReverseYAxis: bool, + ?UseDefaults: bool ) = Chart.Heatmap( @@ -4828,26 +4828,26 @@ module Chart2D = ( zData: seq<#seq<#IConvertible>>, annotationText: seq<#seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?XGap: int, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?YGap: int, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZSmooth: StyleParam.SmoothAlg, - [] ?Transpose: bool, - [] ?UseWebGL: bool, - [] ?ReverseYAxis: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?XGap: int, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?YGap: int, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZSmooth: StyleParam.SmoothAlg, + ?Transpose: bool, + ?UseWebGL: bool, + ?ReverseYAxis: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -4932,26 +4932,26 @@ module Chart2D = static member AnnotatedHeatmap ( dataAnnotations: seq<#seq<#IConvertible * string>>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?XGap: int, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?YGap: int, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZSmooth: StyleParam.SmoothAlg, - [] ?Transpose: bool, - [] ?UseWebGL: bool, - [] ?ReverseYAxis: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?XGap: int, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?YGap: int, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZSmooth: StyleParam.SmoothAlg, + ?Transpose: bool, + ?UseWebGL: bool, + ?ReverseYAxis: bool, + ?UseDefaults: bool ) = let zData = @@ -5002,17 +5002,17 @@ module Chart2D = [] static member Image ( - [] ?Z: seq<#seq<#seq>>, - [] ?Source: string, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?ColorModel: StyleParam.ColorModel, - [] ?ZMax: StyleParam.ColorComponentBound, - [] ?ZMin: StyleParam.ColorComponentBound, - [] ?ZSmooth: StyleParam.SmoothAlg, - [] ?UseDefaults: bool + ?Z: seq<#seq<#seq>>, + ?Source: string, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?ColorModel: StyleParam.ColorModel, + ?ZMax: StyleParam.ColorComponentBound, + ?ZMin: StyleParam.ColorComponentBound, + ?ZSmooth: StyleParam.SmoothAlg, + ?UseDefaults: bool ) = let useDefaults = @@ -5050,14 +5050,14 @@ module Chart2D = static member Image ( z: seq<#seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?ZMax: StyleParam.ColorComponentBound, - [] ?ZMin: StyleParam.ColorComponentBound, - [] ?ZSmooth: StyleParam.SmoothAlg, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?ZMax: StyleParam.ColorComponentBound, + ?ZMin: StyleParam.ColorComponentBound, + ?ZSmooth: StyleParam.SmoothAlg, + ?UseDefaults: bool ) = let useDefaults = @@ -5134,37 +5134,37 @@ module Chart2D = static member Contour ( zData: seq<#seq<#IConvertible>>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?Transpose: bool, - [] ?ContourLinesColor: Color, - [] ?ContourLinesDash: StyleParam.DrawingStyle, - [] ?ContourLinesSmoothing: float, - [] ?ContourLinesWidth: float, - [] ?ContourLines: Line, - [] ?ShowContourLines: bool, - [] ?ContoursColoring: StyleParam.ContourColoring, - [] ?ContoursOperation: StyleParam.ConstraintOperation, - [] ?ContoursType: StyleParam.ContourType, - [] ?ShowContoursLabels: bool, - [] ?ContoursLabelFont: Font, - [] ?ContoursStart: float, - [] ?ContoursEnd: float, - [] ?Contours: Contours, - [] ?FillColor: Color, - [] ?NContours: int, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?Transpose: bool, + ?ContourLinesColor: Color, + ?ContourLinesDash: StyleParam.DrawingStyle, + ?ContourLinesSmoothing: float, + ?ContourLinesWidth: float, + ?ContourLines: Line, + ?ShowContourLines: bool, + ?ContoursColoring: StyleParam.ContourColoring, + ?ContoursOperation: StyleParam.ConstraintOperation, + ?ContoursType: StyleParam.ContourType, + ?ShowContoursLabels: bool, + ?ContoursLabelFont: Font, + ?ContoursStart: float, + ?ContoursEnd: float, + ?Contours: Contours, + ?FillColor: Color, + ?NContours: int, + ?UseDefaults: bool ) = let useDefaults = @@ -5255,21 +5255,21 @@ module Chart2D = high: #IConvertible seq, low: #IConvertible seq, close: #IConvertible seq, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?Line: Line, - [] ?IncreasingColor: Color, - [] ?Increasing: FinanceMarker, - [] ?DecreasingColor: Color, - [] ?Decreasing: FinanceMarker, - [] ?TickWidth: float, - [] ?ShowXAxisRangeSlider: bool, - [] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?Line: Line, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?TickWidth: float, + ?ShowXAxisRangeSlider: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -5344,19 +5344,19 @@ module Chart2D = low: #IConvertible seq, close: #IConvertible seq, x: #IConvertible seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?Line: Line, - [] ?IncreasingColor: Color, - [] ?Increasing: FinanceMarker, - [] ?DecreasingColor: Color, - [] ?Decreasing: FinanceMarker, - [] ?TickWidth: float, - [] ?ShowXAxisRangeSlider: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?Line: Line, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?TickWidth: float, + ?ShowXAxisRangeSlider: bool, + ?UseDefaults: bool ) = Chart.OHLC( @@ -5403,19 +5403,19 @@ module Chart2D = static member OHLC ( stockTimeSeries: seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?Line: Line, - [] ?IncreasingColor: Color, - [] ?Increasing: FinanceMarker, - [] ?DecreasingColor: Color, - [] ?Decreasing: FinanceMarker, - [] ?TickWidth: float, - [] ?ShowXAxisRangeSlider: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?Line: Line, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?TickWidth: float, + ?ShowXAxisRangeSlider: bool, + ?UseDefaults: bool ) = Chart.OHLC( @@ -5471,21 +5471,21 @@ module Chart2D = high: #IConvertible seq, low: #IConvertible seq, close: #IConvertible seq, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?Line: Line, - [] ?IncreasingColor: Color, - [] ?Increasing: FinanceMarker, - [] ?DecreasingColor: Color, - [] ?Decreasing: FinanceMarker, - [] ?WhiskerWidth: float, - [] ?ShowXAxisRangeSlider: bool, - [] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?Line: Line, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?WhiskerWidth: float, + ?ShowXAxisRangeSlider: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -5560,19 +5560,19 @@ module Chart2D = low: #IConvertible seq, close: #IConvertible seq, x: #IConvertible seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?Line: Line, - [] ?IncreasingColor: Color, - [] ?Increasing: FinanceMarker, - [] ?DecreasingColor: Color, - [] ?Decreasing: FinanceMarker, - [] ?WhiskerWidth: float, - [] ?ShowXAxisRangeSlider: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?Line: Line, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?WhiskerWidth: float, + ?ShowXAxisRangeSlider: bool, + ?UseDefaults: bool ) = Chart.Candlestick( @@ -5619,19 +5619,19 @@ module Chart2D = static member Candlestick ( stockTimeSeries: seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?Line: Line, - [] ?IncreasingColor: Color, - [] ?Increasing: FinanceMarker, - [] ?DecreasingColor: Color, - [] ?Decreasing: FinanceMarker, - [] ?WhiskerWidth: float, - [] ?ShowXAxisRangeSlider: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?Line: Line, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?WhiskerWidth: float, + ?ShowXAxisRangeSlider: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -5684,22 +5684,22 @@ module Chart2D = static member Splom ( dimensions: seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?ShowDiagonal: bool, - [] ?Diagonal: SplomDiagonal, - [] ?ShowLowerHalf: bool, - [] ?ShowUpperHalf: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?ShowDiagonal: bool, + ?Diagonal: SplomDiagonal, + ?ShowLowerHalf: bool, + ?ShowUpperHalf: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -5763,22 +5763,22 @@ module Chart2D = static member Splom ( keyValues: seq>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?ShowDiagonal: bool, - [] ?Diagonal: SplomDiagonal, - [] ?ShowLowerHalf: bool, - [] ?ShowUpperHalf: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?ShowDiagonal: bool, + ?Diagonal: SplomDiagonal, + ?ShowLowerHalf: bool, + ?ShowUpperHalf: bool, + ?UseDefaults: bool ) = let dims = @@ -5842,31 +5842,31 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [] ?PointOpacity: float, - [] ?PointMarkerColor: Color, - [] ?PointMarkerSymbol: StyleParam.MarkerSymbol, - [] ?PointMarkerSize: int, - [] ?ContourLinesColor: Color, - [] ?ContourLinesDash: StyleParam.DrawingStyle, - [] ?ContourLinesSmoothing: float, - [] ?ContourLinesWidth: float, - [] ?ContourLines: Line, - [] ?ShowContourLines: bool, - [] ?ContoursColoring: StyleParam.ContourColoring, - [] ?ContoursOperation: StyleParam.ConstraintOperation, - [] ?ContoursType: StyleParam.ContourType, - [] ?ShowContoursLabels: bool, - [] ?ContoursLabelFont: Font, - [] ?ContoursStart: float, - [] ?ContoursEnd: float, - [] ?Contours: Contours, - [] ?NContours: int, - [] ?HistNorm: StyleParam.HistNorm, - [] ?ContourOpacity: float, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?UseDefaults: bool + ?PointOpacity: float, + ?PointMarkerColor: Color, + ?PointMarkerSymbol: StyleParam.MarkerSymbol, + ?PointMarkerSize: int, + ?ContourLinesColor: Color, + ?ContourLinesDash: StyleParam.DrawingStyle, + ?ContourLinesSmoothing: float, + ?ContourLinesWidth: float, + ?ContourLines: Line, + ?ShowContourLines: bool, + ?ContoursColoring: StyleParam.ContourColoring, + ?ContoursOperation: StyleParam.ConstraintOperation, + ?ContoursType: StyleParam.ContourType, + ?ShowContoursLabels: bool, + ?ContoursLabelFont: Font, + ?ContoursStart: float, + ?ContoursEnd: float, + ?Contours: Contours, + ?NContours: int, + ?HistNorm: StyleParam.HistNorm, + ?ContourOpacity: float, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?UseDefaults: bool ) = let showContourLines = @@ -5952,9 +5952,9 @@ module Chart2D = static member Pareto ( keysValues: seq<#IConvertible * float> - , [] ?Name: string - , [] ?Label: string - , [] ?ShowGrid: bool + , ?Name: string + , ?Label: string + , ?ShowGrid: bool ) = let orderedLabels, orderedValues = keysValues @@ -6010,8 +6010,8 @@ module Chart2D = ( labels: seq<#IConvertible> , values: seq - , [] ?Name: string - , [] ?Label: string - , [] ?ShowGrid: bool + , ?Name: string + , ?Label: string + , ?ShowGrid: bool ) = Chart.Pareto(Seq.zip labels values, ?Name=Name, ?Label=Label, ?ShowGrid=ShowGrid) \ No newline at end of file diff --git a/src/Plotly.NET/ChartAPI/Chart3D.fs b/src/Plotly.NET/ChartAPI/Chart3D.fs index 6836add97..e08deb784 100644 --- a/src/Plotly.NET/ChartAPI/Chart3D.fs +++ b/src/Plotly.NET/ChartAPI/Chart3D.fs @@ -59,29 +59,29 @@ module Chart3D = y: seq<#IConvertible>, z: seq<#IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?Projection: Projection, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?Projection: Projection, + ?UseDefaults: bool ) = let useDefaults = @@ -179,29 +179,29 @@ module Chart3D = ( xyz: seq<#IConvertible * #IConvertible * #IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?Projection: Projection, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?Projection: Projection, + ?UseDefaults: bool ) = let useDefaults = @@ -271,24 +271,24 @@ module Chart3D = x: seq<#IConvertible>, y: seq<#IConvertible>, z: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?Projection: Projection, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?Projection: Projection, + ?UseDefaults: bool ) = // if text position or font is set, then show labels (not only when hovering) @@ -348,24 +348,24 @@ module Chart3D = static member Point3D ( xyz: seq<#IConvertible * #IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?Projection: Projection, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?Projection: Projection, + ?UseDefaults: bool ) = let x, y, z = Seq.unzip3 xyz @@ -433,30 +433,30 @@ module Chart3D = x: seq<#IConvertible>, y: seq<#IConvertible>, z: seq<#IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?Projection: Projection, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?Projection: Projection, + ?UseDefaults: bool ) = let changeMode = let isShowMarker = @@ -532,30 +532,30 @@ module Chart3D = static member Line3D ( xyz: seq<#IConvertible * #IConvertible * #IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?Projection: Projection, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?Projection: Projection, + ?UseDefaults: bool ) = let x, y, z = Seq.unzip3 xyz @@ -625,24 +625,24 @@ module Chart3D = y: seq<#IConvertible>, z: seq<#IConvertible>, sizes: seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?Projection: Projection, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?Projection: Projection, + ?UseDefaults: bool ) = let useDefaults = @@ -726,24 +726,24 @@ module Chart3D = ( xyz, sizes, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?Projection: Projection, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?Projection: Projection, + ?UseDefaults: bool ) = let x, y, z = Seq.unzip3 xyz @@ -802,24 +802,24 @@ module Chart3D = static member Bubble3D ( xyzsizes, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?Projection: Projection, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?Projection: Projection, + ?UseDefaults: bool ) = let x, y, z, sizes = @@ -881,19 +881,19 @@ module Chart3D = static member Surface ( zData, - [] ?X: seq<#IConvertible>, - [] ?Y: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?Contours: Contours, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?Contours: Contours, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?UseDefaults: bool ) = let useDefaults = @@ -968,24 +968,24 @@ module Chart3D = x: seq<#IConvertible>, y: seq<#IConvertible>, z: seq<#IConvertible>, - [] ?I: seq<#IConvertible>, - [] ?J: seq<#IConvertible>, - [] ?K: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?Color: Color, - [] ?Contour: Contour, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?FlatShading: bool, - [] ?TriangulationAlgorithm: StyleParam.TriangulationAlgorithm, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?UseDefaults: bool + ?I: seq<#IConvertible>, + ?J: seq<#IConvertible>, + ?K: seq<#IConvertible>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?Color: Color, + ?Contour: Contour, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?FlatShading: bool, + ?TriangulationAlgorithm: StyleParam.TriangulationAlgorithm, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?UseDefaults: bool ) = let useDefaults = @@ -1062,24 +1062,24 @@ module Chart3D = static member Mesh3D ( xyz: seq<#IConvertible * #IConvertible * #IConvertible>, - [] ?I: seq<#IConvertible>, - [] ?J: seq<#IConvertible>, - [] ?K: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?Color: Color, - [] ?Contour: Contour, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?FlatShading: bool, - [] ?TriangulationAlgorithm: StyleParam.TriangulationAlgorithm, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?UseDefaults: bool + ?I: seq<#IConvertible>, + ?J: seq<#IConvertible>, + ?K: seq<#IConvertible>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?Color: Color, + ?Contour: Contour, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?FlatShading: bool, + ?TriangulationAlgorithm: StyleParam.TriangulationAlgorithm, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?UseDefaults: bool ) = let x, y, z = Seq.unzip3 xyz @@ -1147,19 +1147,19 @@ module Chart3D = u: seq<#IConvertible>, v: seq<#IConvertible>, w: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?SizeMode: StyleParam.ConeSizeMode, - [] ?ConeAnchor: StyleParam.ConeAnchor, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?SizeMode: StyleParam.ConeSizeMode, + ?ConeAnchor: StyleParam.ConeAnchor, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?UseDefaults: bool ) = let useDefaults = @@ -1229,19 +1229,19 @@ module Chart3D = ( coneXYZ: seq<#IConvertible * #IConvertible * #IConvertible>, coneUVW: seq<#IConvertible * #IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?SizeMode: StyleParam.ConeSizeMode, - [] ?ConeAnchor: StyleParam.ConeAnchor, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?SizeMode: StyleParam.ConeSizeMode, + ?ConeAnchor: StyleParam.ConeAnchor, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?UseDefaults: bool ) = let x, y, z = Seq.unzip3 coneXYZ @@ -1299,19 +1299,19 @@ module Chart3D = ( xyzuvw: seq<#IConvertible * #IConvertible * #IConvertible * #IConvertible * #IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?SizeMode: StyleParam.ConeSizeMode, - [] ?ConeAnchor: StyleParam.ConeAnchor, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?SizeMode: StyleParam.ConeSizeMode, + ?ConeAnchor: StyleParam.ConeAnchor, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?UseDefaults: bool ) = let x, y, z, u, v, w = @@ -1385,19 +1385,19 @@ module Chart3D = u, v, w, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?MaxDisplayed: int, - [] ?TubeStarts: StreamTubeStarts, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?MaxDisplayed: int, + ?TubeStarts: StreamTubeStarts, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?UseDefaults: bool ) = let useDefaults = @@ -1469,19 +1469,19 @@ module Chart3D = ( streamTubeXYZ: seq<#IConvertible * #IConvertible * #IConvertible>, streamTubeUVW: seq<#IConvertible * #IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?MaxDisplayed: int, - [] ?TubeStarts: StreamTubeStarts, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?MaxDisplayed: int, + ?TubeStarts: StreamTubeStarts, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?UseDefaults: bool ) = let useDefaults = @@ -1545,19 +1545,19 @@ module Chart3D = ( xyzuvw: seq<#IConvertible * #IConvertible * #IConvertible * #IConvertible * #IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?MaxDisplayed: int, - [] ?TubeStarts: StreamTubeStarts, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?MaxDisplayed: int, + ?TubeStarts: StreamTubeStarts, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?UseDefaults: bool ) = let x, y, z, u, v, w = @@ -1627,23 +1627,23 @@ module Chart3D = y, z, value, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?IsoMin: float, - [] ?IsoMax: float, - [] ?Caps: Caps, - [] ?Slices: Slices, - [] ?Surface: Surface, - [] ?OpacityScale: seq<#seq<#IConvertible>>, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?IsoMin: float, + ?IsoMax: float, + ?Caps: Caps, + ?Slices: Slices, + ?Surface: Surface, + ?OpacityScale: seq<#seq<#IConvertible>>, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?UseDefaults: bool ) = let useDefaults = @@ -1722,22 +1722,22 @@ module Chart3D = y, z, value, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?IsoMin: float, - [] ?IsoMax: float, - [] ?Caps: Caps, - [] ?Slices: Slices, - [] ?Surface: Surface, - [] ?CameraProjectionType: StyleParam.CameraProjectionType, - [] ?Camera: Camera, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?IsoMin: float, + ?IsoMax: float, + ?Caps: Caps, + ?Slices: Slices, + ?Surface: Surface, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?UseDefaults: bool ) = let useDefaults = diff --git a/src/Plotly.NET/ChartAPI/ChartCarpet.fs b/src/Plotly.NET/ChartAPI/ChartCarpet.fs index a2df9c975..44bb9c21c 100644 --- a/src/Plotly.NET/ChartAPI/ChartCarpet.fs +++ b/src/Plotly.NET/ChartAPI/ChartCarpet.fs @@ -55,22 +55,22 @@ module ChartCarpet = static member Carpet ( carpetId: string, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq<#seq<#IConvertible>>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq<#seq<#IConvertible>>, - [] ?A: seq<#IConvertible>, - [] ?B: seq<#IConvertible>, - [] ?AAxis: LinearAxis, - [] ?BAxis: LinearAxis, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?Color: Color, - [] ?CheaterSlope: float, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?X: seq<#IConvertible>, + ?MultiX: seq<#seq<#IConvertible>>, + ?Y: seq<#IConvertible>, + ?MultiY: seq<#seq<#IConvertible>>, + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?AAxis: LinearAxis, + ?BAxis: LinearAxis, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?Color: Color, + ?CheaterSlope: float, + ?UseDefaults: bool ) = let useDefaults = @@ -138,26 +138,26 @@ module ChartCarpet = b: seq<#IConvertible>, mode: StyleParam.Mode, carpetAnchorId: string, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let useDefaults = @@ -242,26 +242,26 @@ module ChartCarpet = ab: seq<#IConvertible * #IConvertible>, mode: StyleParam.Mode, carpetAnchorId: string, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let a, b = Seq.unzip ab @@ -325,21 +325,21 @@ module ChartCarpet = a: seq<#IConvertible>, b: seq<#IConvertible>, carpetAnchorId: string, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UseDefaults: bool ) = let useDefaults = @@ -400,21 +400,21 @@ module ChartCarpet = ( ab: seq<#IConvertible * #IConvertible>, carpetAnchorId: string, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UseDefaults: bool ) = let a, b = Seq.unzip ab @@ -477,27 +477,27 @@ module ChartCarpet = a: seq<#IConvertible>, b: seq<#IConvertible>, carpetAnchorId: string, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let changeMode = @@ -571,27 +571,27 @@ module ChartCarpet = ( ab: seq<#IConvertible * #IConvertible>, carpetAnchorId: string, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let a, b = Seq.unzip ab @@ -662,28 +662,28 @@ module ChartCarpet = a: seq<#IConvertible>, b: seq<#IConvertible>, carpetAnchorId: string, - [] ?ShowMarkers: bool, - [] ?Smoothing: float, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let useDefaults = @@ -779,28 +779,28 @@ module ChartCarpet = ( ab: seq<#IConvertible * #IConvertible>, carpetAnchorId: string, - [] ?ShowMarkers: bool, - [] ?Smoothing: float, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let a, b = Seq.unzip ab @@ -873,26 +873,26 @@ module ChartCarpet = b: seq<#IConvertible>, sizes: seq, carpetAnchorId: string, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let useDefaults = @@ -978,26 +978,26 @@ module ChartCarpet = ( absizes: seq<#IConvertible * #IConvertible * int>, carpetAnchorId: string, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let a, b, sizes = Seq.unzip3 absizes @@ -1064,29 +1064,29 @@ module ChartCarpet = ( z: seq<#IConvertible>, carpetAnchorId: string, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?A: seq<#IConvertible>, - [] ?B: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?Transpose: bool, - [] ?ContourLineColor: Color, - [] ?ContourLineDash: StyleParam.DrawingStyle, - [] ?ContourLineSmoothing: float, - [] ?ContourLine: Line, - [] ?ContoursColoring: StyleParam.ContourColoring, - [] ?ContoursOperation: StyleParam.ConstraintOperation, - [] ?ContoursType: StyleParam.ContourType, - [] ?ShowContourLabels: bool, - [] ?ContourLabelFont: Font, - [] ?Contours: Contours, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?Transpose: bool, + ?ContourLineColor: Color, + ?ContourLineDash: StyleParam.DrawingStyle, + ?ContourLineSmoothing: float, + ?ContourLine: Line, + ?ContoursColoring: StyleParam.ContourColoring, + ?ContoursOperation: StyleParam.ConstraintOperation, + ?ContoursType: StyleParam.ContourType, + ?ShowContourLabels: bool, + ?ContourLabelFont: Font, + ?Contours: Contours, + ?UseDefaults: bool ) = let useDefaults = @@ -1166,27 +1166,27 @@ module ChartCarpet = ( abz: seq<#IConvertible * #IConvertible * #IConvertible>, carpetAnchorId: string, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?Transpose: bool, - [] ?ContourLineColor: Color, - [] ?ContourLineDash: StyleParam.DrawingStyle, - [] ?ContourLineSmoothing: float, - [] ?ContourLine: Line, - [] ?ContoursColoring: StyleParam.ContourColoring, - [] ?ContoursOperation: StyleParam.ConstraintOperation, - [] ?ContoursType: StyleParam.ContourType, - [] ?ShowContourLabels: bool, - [] ?ContourLabelFont: Font, - [] ?Contours: Contours, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?Transpose: bool, + ?ContourLineColor: Color, + ?ContourLineDash: StyleParam.DrawingStyle, + ?ContourLineSmoothing: float, + ?ContourLine: Line, + ?ContoursColoring: StyleParam.ContourColoring, + ?ContoursOperation: StyleParam.ConstraintOperation, + ?ContoursType: StyleParam.ContourType, + ?ShowContourLabels: bool, + ?ContourLabelFont: Font, + ?Contours: Contours, + ?UseDefaults: bool ) = let a, b, z = Seq.unzip3 abz diff --git a/src/Plotly.NET/ChartAPI/ChartDomain.fs b/src/Plotly.NET/ChartAPI/ChartDomain.fs index 05e13fe1d..ac041fa69 100644 --- a/src/Plotly.NET/ChartAPI/ChartDomain.fs +++ b/src/Plotly.NET/ChartAPI/ChartDomain.fs @@ -54,32 +54,32 @@ module ChartDomain = static member Pie ( values: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Labels: seq<#IConvertible>, - [] ?Pull: float, - [] ?MultiPull: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?SectionColors: seq, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?Direction: StyleParam.Direction, - [] ?Hole: float, - [] ?Rotation: float, - [] ?Sort: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Labels: seq<#IConvertible>, + ?Pull: float, + ?MultiPull: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?SectionColors: seq, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?Direction: StyleParam.Direction, + ?Hole: float, + ?Rotation: float, + ?Sort: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -165,31 +165,31 @@ module ChartDomain = static member Pie ( valuesLabels: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Pull: float, - [] ?MultiPull: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?SectionColors: seq, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?Direction: StyleParam.Direction, - [] ?Hole: float, - [] ?Rotation: float, - [] ?Sort: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Pull: float, + ?MultiPull: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?SectionColors: seq, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?Direction: StyleParam.Direction, + ?Hole: float, + ?Rotation: float, + ?Sort: bool, + ?UseDefaults: bool ) = let values, labels = Seq.unzip valuesLabels @@ -261,32 +261,32 @@ module ChartDomain = static member Doughnut ( values: seq<#IConvertible>, - [] ?Name: string, - [] ?Hole: float, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Labels: seq<#IConvertible>, - [] ?Pull: float, - [] ?MultiPull: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?SectionColors: seq, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?Direction: StyleParam.Direction, - [] ?Rotation: float, - [] ?Sort: bool, - [] ?UseDefaults: bool + ?Name: string, + ?Hole: float, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Labels: seq<#IConvertible>, + ?Pull: float, + ?MultiPull: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?SectionColors: seq, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?Direction: StyleParam.Direction, + ?Rotation: float, + ?Sort: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -360,31 +360,31 @@ module ChartDomain = static member Doughnut ( valuesLabels: seq<#IConvertible * #IConvertible>, - [] ?Hole: float, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Pull: float, - [] ?MultiPull: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?SectionColors: seq, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?Direction: StyleParam.Direction, - [] ?Rotation: float, - [] ?Sort: bool, - [] ?UseDefaults: bool + ?Hole: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Pull: float, + ?MultiPull: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?SectionColors: seq, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?Direction: StyleParam.Direction, + ?Rotation: float, + ?Sort: bool, + ?UseDefaults: bool ) = let values, labels = Seq.unzip valuesLabels @@ -453,28 +453,28 @@ module ChartDomain = static member FunnelArea ( values: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Labels: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?SectionColors: seq, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?AspectRatio: float, - [] ?BaseRatio: float, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Labels: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?SectionColors: seq, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?AspectRatio: float, + ?BaseRatio: float, + ?UseDefaults: bool ) = @@ -552,27 +552,27 @@ module ChartDomain = static member FunnelArea ( valuesLabels: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?SectionColors: seq, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?AspectRatio: float, - [] ?BaseRatio: float, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?SectionColors: seq, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?AspectRatio: float, + ?BaseRatio: float, + ?UseDefaults: bool ) = let values, labels = Seq.unzip valuesLabels @@ -645,36 +645,36 @@ module ChartDomain = ( labels: seq<#IConvertible>, parents: seq<#IConvertible>, - [] ?Values: seq<#IConvertible>, - [] ?Ids: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?SectionColors: seq, - [] ?SectionColorScale: StyleParam.Colorscale, - [] ?ShowSectionColorScale: bool, - [] ?ReverseSectionColorScale: bool, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?BranchValues: StyleParam.BranchValues, - [] ?Count: string, - [] ?Root: SunburstRoot, - [] ?Leaf: SunburstLeaf, - [] ?Level: string, - [] ?MaxDepth: int, - [] ?Rotation: int, - [] ?Sort: bool, - [] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?SectionColors: seq, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?BranchValues: StyleParam.BranchValues, + ?Count: string, + ?Root: SunburstRoot, + ?Leaf: SunburstLeaf, + ?Level: string, + ?MaxDepth: int, + ?Rotation: int, + ?Sort: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -775,36 +775,36 @@ module ChartDomain = static member Sunburst ( labelsparents: seq<#IConvertible * #IConvertible>, - [] ?Values: seq<#IConvertible>, - [] ?Ids: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?SectionColors: seq, - [] ?SectionColorScale: StyleParam.Colorscale, - [] ?ShowSectionColorScale: bool, - [] ?ReverseSectionColorScale: bool, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?BranchValues: StyleParam.BranchValues, - [] ?Count: string, - [] ?Root: SunburstRoot, - [] ?Leaf: SunburstLeaf, - [] ?Level: string, - [] ?MaxDepth: int, - [] ?Rotation: int, - [] ?Sort: bool, - [] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?SectionColors: seq, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?BranchValues: StyleParam.BranchValues, + ?Count: string, + ?Root: SunburstRoot, + ?Leaf: SunburstLeaf, + ?Level: string, + ?MaxDepth: int, + ?Rotation: int, + ?Sort: bool, + ?UseDefaults: bool ) = let labels, parents = @@ -891,37 +891,37 @@ module ChartDomain = ( labels: seq<#IConvertible>, parents: seq<#IConvertible>, - [] ?Values: seq<#IConvertible>, - [] ?Ids: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?SectionColors: seq, - [] ?SectionColorScale: StyleParam.Colorscale, - [] ?ShowSectionColorScale: bool, - [] ?ReverseSectionColorScale: bool, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?BranchValues: StyleParam.BranchValues, - [] ?Count: string, - [] ?Tiling: TreemapTiling, - [] ?PathBar: Pathbar, - [] ?Root: TreemapRoot, - [] ?Level: string, - [] ?MaxDepth: int, - [] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?SectionColors: seq, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?BranchValues: StyleParam.BranchValues, + ?Count: string, + ?Tiling: TreemapTiling, + ?PathBar: Pathbar, + ?Root: TreemapRoot, + ?Level: string, + ?MaxDepth: int, + ?UseDefaults: bool ) = let useDefaults = @@ -1023,37 +1023,37 @@ module ChartDomain = static member Treemap ( labelsparents: seq<#IConvertible * #IConvertible>, - [] ?Values: seq<#IConvertible>, - [] ?Ids: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?SectionColors: seq, - [] ?SectionColorScale: StyleParam.Colorscale, - [] ?ShowSectionColorScale: bool, - [] ?ReverseSectionColorScale: bool, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?TextInfo: StyleParam.TextInfo, - [] ?BranchValues: StyleParam.BranchValues, - [] ?Count: string, - [] ?Tiling: TreemapTiling, - [] ?PathBar: Pathbar, - [] ?Root: TreemapRoot, - [] ?Level: string, - [] ?MaxDepth: int, - [] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?SectionColors: seq, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?TextInfo: StyleParam.TextInfo, + ?BranchValues: StyleParam.BranchValues, + ?Count: string, + ?Tiling: TreemapTiling, + ?PathBar: Pathbar, + ?Root: TreemapRoot, + ?Level: string, + ?MaxDepth: int, + ?UseDefaults: bool ) = let labels, parents = @@ -1122,18 +1122,18 @@ module ChartDomain = static member ParallelCoord ( dimensions: seq, - [] ?Name: string, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?ShowLineColorScale: bool, - [] ?ReverseLineColorScale: bool, - [] ?Line: Line, - [] ?LabelAngle: int, - [] ?LabelFont: Font, - [] ?LabelSide: StyleParam.Side, - [] ?RangeFont: Font, - [] ?TickFont: Font, - [] ?UseDefaults: bool + ?Name: string, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?ShowLineColorScale: bool, + ?ReverseLineColorScale: bool, + ?Line: Line, + ?LabelAngle: int, + ?LabelFont: Font, + ?LabelSide: StyleParam.Side, + ?RangeFont: Font, + ?TickFont: Font, + ?UseDefaults: bool ) = let useDefaults = defaultArg UseDefaults true @@ -1188,18 +1188,18 @@ module ChartDomain = static member ParallelCoord ( keyValues: seq>, - [] ?Name: string, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?ShowLineColorScale: bool, - [] ?ReverseLineColorScale: bool, - [] ?Line: Line, - [] ?LabelAngle: int, - [] ?LabelFont: Font, - [] ?LabelSide: StyleParam.Side, - [] ?RangeFont: Font, - [] ?TickFont: Font, - [] ?UseDefaults: bool + ?Name: string, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?ShowLineColorScale: bool, + ?ReverseLineColorScale: bool, + ?Line: Line, + ?LabelAngle: int, + ?LabelFont: Font, + ?LabelSide: StyleParam.Side, + ?RangeFont: Font, + ?TickFont: Font, + ?UseDefaults: bool ) = let dims = @@ -1248,20 +1248,20 @@ module ChartDomain = static member ParallelCategories ( dimensions: seq, - [] ?Name: string, - [] ?Counts: int, - [] ?LineColor: Color, - [] ?LineShape: StyleParam.Shape, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?ShowLineColorScale: bool, - [] ?ReverseLineColorScale: bool, - [] ?Line: Line, - [] ?Arrangement: StyleParam.CategoryArrangement, - [] ?BundleColors: bool, - [] ?SortPaths: StyleParam.SortAlgorithm, - [] ?LabelFont: Font, - [] ?TickFont: Font, - [] ?UseDefaults: bool + ?Name: string, + ?Counts: int, + ?LineColor: Color, + ?LineShape: StyleParam.Shape, + ?LineColorScale: StyleParam.Colorscale, + ?ShowLineColorScale: bool, + ?ReverseLineColorScale: bool, + ?Line: Line, + ?Arrangement: StyleParam.CategoryArrangement, + ?BundleColors: bool, + ?SortPaths: StyleParam.SortAlgorithm, + ?LabelFont: Font, + ?TickFont: Font, + ?UseDefaults: bool ) = let useDefaults = @@ -1321,20 +1321,20 @@ module ChartDomain = static member ParallelCategories ( keyValues: seq>, - [] ?Name: string, - [] ?Counts: int, - [] ?LineColor: Color, - [] ?LineShape: StyleParam.Shape, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?ShowLineColorScale: bool, - [] ?ReverseLineColorScale: bool, - [] ?Line: Line, - [] ?Arrangement: StyleParam.CategoryArrangement, - [] ?BundleColors: bool, - [] ?SortPaths: StyleParam.SortAlgorithm, - [] ?LabelFont: Font, - [] ?TickFont: Font, - [] ?UseDefaults: bool + ?Name: string, + ?Counts: int, + ?LineColor: Color, + ?LineShape: StyleParam.Shape, + ?LineColorScale: StyleParam.Colorscale, + ?ShowLineColorScale: bool, + ?ReverseLineColorScale: bool, + ?Line: Line, + ?Arrangement: StyleParam.CategoryArrangement, + ?BundleColors: bool, + ?SortPaths: StyleParam.SortAlgorithm, + ?LabelFont: Font, + ?TickFont: Font, + ?UseDefaults: bool ) = let useDefaults = @@ -1391,14 +1391,14 @@ module ChartDomain = ( nodes: SankeyNodes, links: SankeyLinks, - [] ?Name: string, - [] ?Ids: seq<#IConvertible>, - [] ?Orientation: StyleParam.Orientation, - [] ?TextFont: Font, - [] ?Arrangement: StyleParam.CategoryArrangement, - [] ?ValueFormat: string, - [] ?ValueSuffix: string, - [] ?UseDefaults: bool + ?Name: string, + ?Ids: seq<#IConvertible>, + ?Orientation: StyleParam.Orientation, + ?TextFont: Font, + ?Arrangement: StyleParam.CategoryArrangement, + ?ValueFormat: string, + ?ValueSuffix: string, + ?UseDefaults: bool ) = let useDefaults = @@ -1453,24 +1453,24 @@ module ChartDomain = nodeLabels: seq, linkedNodeIds: seq, linkValues: seq<#IConvertible>, - [] ?NodeColor: Color, - [] ?NodeOutlineColor: Color, - [] ?NodeOutlineWidth: float, - [] ?NodeThickness: int, - [] ?NodeGroups: seq<#seq>, - [] ?LinkColor: Color, - [] ?LinkColorScales: seq, - [] ?LinkOutlineColor: Color, - [] ?LinkOutlineWidth: float, - [] ?LinkLabels: seq, - [] ?Name: string, - [] ?Ids: seq<#IConvertible>, - [] ?Orientation: StyleParam.Orientation, - [] ?TextFont: Font, - [] ?Arrangement: StyleParam.CategoryArrangement, - [] ?ValueFormat: string, - [] ?ValueSuffix: string, - [] ?UseDefaults: bool + ?NodeColor: Color, + ?NodeOutlineColor: Color, + ?NodeOutlineWidth: float, + ?NodeThickness: int, + ?NodeGroups: seq<#seq>, + ?LinkColor: Color, + ?LinkColorScales: seq, + ?LinkOutlineColor: Color, + ?LinkOutlineWidth: float, + ?LinkLabels: seq, + ?Name: string, + ?Ids: seq<#IConvertible>, + ?Orientation: StyleParam.Orientation, + ?TextFont: Font, + ?Arrangement: StyleParam.CategoryArrangement, + ?ValueFormat: string, + ?ValueSuffix: string, + ?UseDefaults: bool ) = let nodeOutline = @@ -1536,11 +1536,11 @@ module ChartDomain = ( header: TableHeader, cells: TableCells, - [] ?Name: string, - [] ?ColumnOrder: seq, - [] ?ColumnWidth: float, - [] ?MultiColumnWidth: seq, - [] ?UseDefaults: bool + ?Name: string, + ?ColumnOrder: seq, + ?ColumnWidth: float, + ?MultiColumnWidth: seq, + ?UseDefaults: bool ) = let useDefaults = @@ -1594,28 +1594,28 @@ module ChartDomain = ( headerValues: seq<#seq<#IConvertible>>, cellsValues: seq<#seq<#IConvertible>>, - [] ?TransposeCells: bool, - [] ?HeaderAlign: StyleParam.HorizontalAlign, - [] ?HeaderMultiAlign: seq, - [] ?HeaderFillColor: Color, - [] ?HeaderHeight: int, - [] ?HeaderOutlineColor: Color, - [] ?HeaderOutlineWidth: float, - [] ?HeaderOutlineMultiWidth: seq, - [] ?HeaderOutline: Line, - [] ?CellsAlign: StyleParam.HorizontalAlign, - [] ?CellsMultiAlign: seq, - [] ?CellsFillColor: Color, - [] ?CellsHeight: int, - [] ?CellsOutlineColor: Color, - [] ?CellsOutlineWidth: float, - [] ?CellsOutlineMultiWidth: seq, - [] ?CellsOutline: Line, - [] ?Name: string, - [] ?ColumnOrder: seq, - [] ?ColumnWidth: float, - [] ?MultiColumnWidth: seq, - [] ?UseDefaults: bool + ?TransposeCells: bool, + ?HeaderAlign: StyleParam.HorizontalAlign, + ?HeaderMultiAlign: seq, + ?HeaderFillColor: Color, + ?HeaderHeight: int, + ?HeaderOutlineColor: Color, + ?HeaderOutlineWidth: float, + ?HeaderOutlineMultiWidth: seq, + ?HeaderOutline: Line, + ?CellsAlign: StyleParam.HorizontalAlign, + ?CellsMultiAlign: seq, + ?CellsFillColor: Color, + ?CellsHeight: int, + ?CellsOutlineColor: Color, + ?CellsOutlineWidth: float, + ?CellsOutlineMultiWidth: seq, + ?CellsOutline: Line, + ?Name: string, + ?ColumnOrder: seq, + ?ColumnWidth: float, + ?MultiColumnWidth: seq, + ?UseDefaults: bool ) = let useDefaults = @@ -1712,19 +1712,19 @@ module ChartDomain = ( value: IConvertible, mode: StyleParam.IndicatorMode, - [] ?Range: StyleParam.Range, - [] ?Name: string, - [] ?Title: string, - [] ?Domain: Domain, - [] ?Align: StyleParam.IndicatorAlignment, - [] ?DeltaReference: #IConvertible, - [] ?Delta: IndicatorDelta, - [] ?Number: IndicatorNumber, - [] ?GaugeShape: StyleParam.IndicatorGaugeShape, - [] ?Gauge: IndicatorGauge, - [] ?ShowGaugeAxis: bool, - [] ?GaugeAxis: LinearAxis, - [] ?UseDefaults: bool + ?Range: StyleParam.Range, + ?Name: string, + ?Title: string, + ?Domain: Domain, + ?Align: StyleParam.IndicatorAlignment, + ?DeltaReference: #IConvertible, + ?Delta: IndicatorDelta, + ?Number: IndicatorNumber, + ?GaugeShape: StyleParam.IndicatorGaugeShape, + ?Gauge: IndicatorGauge, + ?ShowGaugeAxis: bool, + ?GaugeAxis: LinearAxis, + ?UseDefaults: bool ) = let useDefaults = @@ -1806,39 +1806,39 @@ module ChartDomain = ( labels: seq<#IConvertible>, parents: seq<#IConvertible>, - [] ?Values: seq<#IConvertible>, - [] ?Ids: seq<#IConvertible>, - [] ?Name: string, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?SectionColors: seq, - [] ?SectionColorScale: StyleParam.Colorscale, - [] ?ShowSectionColorScale: bool, - [] ?ReverseSectionColorScale: bool, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?BranchValues: StyleParam.BranchValues, - [] ?Count: StyleParam.IcicleCount, - [] ?TilingOrientation: StyleParam.Orientation, - [] ?TilingFlip: StyleParam.TilingFlip, - [] ?Tiling: IcicleTiling, - [] ?PathBarEdgeShape: StyleParam.PathbarEdgeShape, - [] ?PathBar: Pathbar, - [] ?TextInfo: StyleParam.TextInfo, - [] ?Root: IcicleRoot, - [] ?Level: string, - [] ?MaxDepth: int, - [] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?SectionColors: seq, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?BranchValues: StyleParam.BranchValues, + ?Count: StyleParam.IcicleCount, + ?TilingOrientation: StyleParam.Orientation, + ?TilingFlip: StyleParam.TilingFlip, + ?Tiling: IcicleTiling, + ?PathBarEdgeShape: StyleParam.PathbarEdgeShape, + ?PathBar: Pathbar, + ?TextInfo: StyleParam.TextInfo, + ?Root: IcicleRoot, + ?Level: string, + ?MaxDepth: int, + ?UseDefaults: bool ) = let useDefaults = @@ -1949,39 +1949,39 @@ module ChartDomain = static member Icicle ( labelsparents: seq<#IConvertible * #IConvertible>, - [] ?Values: seq<#IConvertible>, - [] ?Ids: seq<#IConvertible>, - [] ?Name: string, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?SectionColors: seq, - [] ?SectionColorScale: StyleParam.Colorscale, - [] ?ShowSectionColorScale: bool, - [] ?ReverseSectionColorScale: bool, - [] ?SectionOutlineColor: Color, - [] ?SectionOutlineWidth: float, - [] ?SectionOutlineMultiWidth: seq, - [] ?SectionOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?BranchValues: StyleParam.BranchValues, - [] ?Count: StyleParam.IcicleCount, - [] ?TilingOrientation: StyleParam.Orientation, - [] ?TilingFlip: StyleParam.TilingFlip, - [] ?Tiling: IcicleTiling, - [] ?PathBarEdgeShape: StyleParam.PathbarEdgeShape, - [] ?PathBar: Pathbar, - [] ?TextInfo: StyleParam.TextInfo, - [] ?Root: IcicleRoot, - [] ?Level: string, - [] ?MaxDepth: int, - [] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?SectionColors: seq, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?BranchValues: StyleParam.BranchValues, + ?Count: StyleParam.IcicleCount, + ?TilingOrientation: StyleParam.Orientation, + ?TilingFlip: StyleParam.TilingFlip, + ?Tiling: IcicleTiling, + ?PathBarEdgeShape: StyleParam.PathbarEdgeShape, + ?PathBar: Pathbar, + ?TextInfo: StyleParam.TextInfo, + ?Root: IcicleRoot, + ?Level: string, + ?MaxDepth: int, + ?UseDefaults: bool ) = let labels, parents = diff --git a/src/Plotly.NET/ChartAPI/ChartMap.fs b/src/Plotly.NET/ChartAPI/ChartMap.fs index b7963ebf5..0dde1f3d8 100644 --- a/src/Plotly.NET/ChartAPI/ChartMap.fs +++ b/src/Plotly.NET/ChartAPI/ChartMap.fs @@ -41,18 +41,18 @@ module ChartMap = ( locations, z, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?LocationMode: StyleParam.LocationFormat, + ?UseDefaults: bool ) = let useDefaults = @@ -116,29 +116,29 @@ module ChartMap = longitudes: seq<#IConvertible>, latitudes: seq<#IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let useDefaults = @@ -228,29 +228,29 @@ module ChartMap = ( lonlat: seq<#IConvertible * #IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let longitudes, latitudes = Seq.unzip lonlat @@ -321,29 +321,29 @@ module ChartMap = ( locations: seq, mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let useDefaults = @@ -424,24 +424,24 @@ module ChartMap = ( longitudes: seq<#IConvertible>, latitudes: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let changeMode = @@ -500,24 +500,24 @@ module ChartMap = static member PointGeo ( lonlat: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let longitudes, latitudes = Seq.unzip lonlat @@ -573,24 +573,24 @@ module ChartMap = static member PointGeo ( locations: seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let changeMode = StyleParam.ModeUtils.showText (TextPosition.IsSome || MultiTextPosition.IsSome) @@ -654,30 +654,30 @@ module ChartMap = ( longitudes: seq<#IConvertible>, latitudes: seq<#IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let changeMode = @@ -752,30 +752,30 @@ module ChartMap = static member LineGeo ( lonlat: seq<#IConvertible * #IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let longitudes, latitudes = Seq.unzip lonlat @@ -844,30 +844,30 @@ module ChartMap = static member LineGeo ( locations: seq, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let changeMode = @@ -939,24 +939,24 @@ module ChartMap = longitudes: seq<#IConvertible>, latitudes: seq<#IConvertible>, sizes: seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let changeMode = @@ -1027,24 +1027,24 @@ module ChartMap = static member BubbleGeo ( lonlatsizes: seq<#IConvertible * #IConvertible * int>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let longitudes, latitudes, sizes = @@ -1104,24 +1104,24 @@ module ChartMap = ( locations: seq, sizes: seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let changeMode = StyleParam.ModeUtils.showText (TextPosition.IsSome || MultiTextPosition.IsSome) @@ -1192,30 +1192,30 @@ module ChartMap = longitudes: seq<#IConvertible>, latitudes: seq<#IConvertible>, mode: StyleParam.Mode, - [] ?MapboxStyle: StyleParam.MapboxStyle, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?Below: string, - [] ?EnableClustering: bool, - [] ?Cluster: MapboxCluster, - [] ?UseDefaults: bool + ?MapboxStyle: StyleParam.MapboxStyle, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?Below: string, + ?EnableClustering: bool, + ?Cluster: MapboxCluster, + ?UseDefaults: bool ) = @@ -1316,30 +1316,30 @@ module ChartMap = ( lonlat: seq<#IConvertible * #IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?MapboxStyle: StyleParam.MapboxStyle, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?Below: string, - [] ?EnableClustering: bool, - [] ?Cluster: MapboxCluster, - [] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?Below: string, + ?EnableClustering: bool, + ?Cluster: MapboxCluster, + ?UseDefaults: bool ) = let longitudes, latitudes = Seq.unzip lonlat @@ -1407,25 +1407,25 @@ module ChartMap = ( longitudes: seq<#IConvertible>, latitudes: seq<#IConvertible>, - [] ?Name: string, - [] ?MapboxStyle: StyleParam.MapboxStyle, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?Below: string, - [] ?EnableClustering: bool, - [] ?Cluster: MapboxCluster, - [] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?Below: string, + ?EnableClustering: bool, + ?Cluster: MapboxCluster, + ?UseDefaults: bool ) = let changeMode = @@ -1488,25 +1488,25 @@ module ChartMap = static member PointMapbox ( lonlat: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?MapboxStyle: StyleParam.MapboxStyle, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?Below: string, - [] ?EnableClustering: bool, - [] ?Cluster: MapboxCluster, - [] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?Below: string, + ?EnableClustering: bool, + ?Cluster: MapboxCluster, + ?UseDefaults: bool ) = let longitudes, latitudes = Seq.unzip lonlat @@ -1572,29 +1572,29 @@ module ChartMap = ( longitudes: seq<#IConvertible>, latitudes: seq<#IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?MapboxStyle: StyleParam.MapboxStyle, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?Below: string, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?Below: string, + ?UseDefaults: bool ) = let changeMode = @@ -1669,29 +1669,29 @@ module ChartMap = static member LineMapbox ( lonlat: seq<#IConvertible * #IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?MapboxStyle: StyleParam.MapboxStyle, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?Below: string, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?Below: string, + ?UseDefaults: bool ) = let longitudes, latitudes = Seq.unzip lonlat @@ -1758,23 +1758,23 @@ module ChartMap = longitudes: seq<#IConvertible>, latitudes: seq<#IConvertible>, sizes: seq, - [] ?Name: string, - [] ?MapboxStyle: StyleParam.MapboxStyle, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?Below: string, - [] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?Below: string, + ?UseDefaults: bool ) = let changeMode = @@ -1851,23 +1851,23 @@ module ChartMap = static member BubbleMapbox ( lonlatsizes: seq<#IConvertible * #IConvertible * int>, - [] ?Name: string, - [] ?MapboxStyle: StyleParam.MapboxStyle, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?Below: string, - [] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?Below: string, + ?UseDefaults: bool ) = let longitudes, latitudes, sizes = @@ -1928,18 +1928,18 @@ module ChartMap = locations: seq, z: seq<#IConvertible>, geoJson: obj, - [] ?Name: string, - [] ?MapboxStyle: StyleParam.MapboxStyle, - [] ?ShowLegend: bool, - [] ?FeatureIdKey: string, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?Below: string, - [] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?FeatureIdKey: string, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?Below: string, + ?UseDefaults: bool ) = let useDefaults = @@ -1999,20 +1999,20 @@ module ChartMap = ( longitudes: seq<#IConvertible>, latitudes: seq<#IConvertible>, - [] ?Name: string, - [] ?MapboxStyle: StyleParam.MapboxStyle, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Z: seq<#IConvertible>, - [] ?Radius: int, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?Below: string, - [] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?Z: seq<#IConvertible>, + ?Radius: int, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?Below: string, + ?UseDefaults: bool ) = let useDefaults = @@ -2072,20 +2072,20 @@ module ChartMap = static member DensityMapbox ( lonlat: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?MapboxStyle: StyleParam.MapboxStyle, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?Z: seq<#IConvertible>, - [] ?Radius: int, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?Below: string, - [] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?Z: seq<#IConvertible>, + ?Radius: int, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?Below: string, + ?UseDefaults: bool ) = let longitudes, latitudes = Seq.unzip lonlat diff --git a/src/Plotly.NET/ChartAPI/ChartPolar.fs b/src/Plotly.NET/ChartAPI/ChartPolar.fs index 21082f3c6..82e788904 100644 --- a/src/Plotly.NET/ChartAPI/ChartPolar.fs +++ b/src/Plotly.NET/ChartAPI/ChartPolar.fs @@ -64,27 +64,27 @@ module ChartPolar = r: seq<#IConvertible>, theta: seq<#IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -167,27 +167,27 @@ module ChartPolar = ( rTheta: seq<#IConvertible * #IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let r, t = Seq.unzip rTheta @@ -247,22 +247,22 @@ module ChartPolar = ( r: seq<#IConvertible>, theta: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -328,22 +328,22 @@ module ChartPolar = static member PointPolar ( rTheta: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let r, t = Seq.unzip rTheta @@ -404,28 +404,28 @@ module ChartPolar = ( r: seq<#IConvertible>, theta: seq<#IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -514,28 +514,28 @@ module ChartPolar = static member LinePolar ( rTheta: seq<#IConvertible * #IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let r, t = Seq.unzip rTheta @@ -603,29 +603,29 @@ module ChartPolar = ( r: seq<#IConvertible>, theta: seq<#IConvertible>, - [] ?ShowMarkers: bool, - [] ?Smoothing: float, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -717,29 +717,29 @@ module ChartPolar = static member SplinePolar ( rTheta: seq<#IConvertible * #IConvertible>, - [] ?ShowMarkers: bool, - [] ?Smoothing: float, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let r, t = Seq.unzip rTheta @@ -803,22 +803,22 @@ module ChartPolar = r: seq<#IConvertible>, theta: seq<#IConvertible>, sizes: seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -885,22 +885,22 @@ module ChartPolar = static member BubblePolar ( rThetaSizes: seq<#IConvertible * #IConvertible * int>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UseWebGL: bool, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let r, t, sizes = Seq.unzip3 rThetaSizes @@ -957,23 +957,23 @@ module ChartPolar = ( r: seq<#IConvertible>, theta: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?Base: #IConvertible, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?UseDefaults: bool ) = let useDefaults = @@ -1039,23 +1039,23 @@ module ChartPolar = static member BarPolar ( rTheta: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerPatternShape: StyleParam.PatternShape, - [] ?MultiMarkerPatternShape: seq, - [] ?MarkerPattern: Pattern, - [] ?Marker: Marker, - [] ?Base: #IConvertible, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?UseDefaults: bool ) = let r, theta = Seq.unzip rTheta diff --git a/src/Plotly.NET/ChartAPI/ChartSmith.fs b/src/Plotly.NET/ChartAPI/ChartSmith.fs index aa042a38d..6d40b6ec6 100644 --- a/src/Plotly.NET/ChartAPI/ChartSmith.fs +++ b/src/Plotly.NET/ChartAPI/ChartSmith.fs @@ -55,28 +55,28 @@ module ChartSmith = real: seq<#IConvertible>, imag: seq<#IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?UseDefaults: bool ) = let useDefaults = defaultArg UseDefaults true @@ -159,28 +159,28 @@ module ChartSmith = ( realImag: seq<#IConvertible * #IConvertible>, mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?UseDefaults: bool ) = let real, imag = Seq.unzip realImag @@ -240,21 +240,21 @@ module ChartSmith = ( real: seq<#IConvertible>, imag: seq<#IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UseDefaults: bool ) = // if text position or font is set, then show labels (not only when hovering) let changeMode = @@ -306,21 +306,21 @@ module ChartSmith = static member PointSmith ( realImag: seq<#IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UseDefaults: bool ) = let real, imag = Seq.unzip realImag @@ -379,29 +379,29 @@ module ChartSmith = ( real: seq<#IConvertible>, imag: seq<#IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?UseDefaults: bool ) = // if text position or font is set than show labels (not only when hovering) let changeMode = @@ -474,29 +474,29 @@ module ChartSmith = static member LineSmith ( realImag: seq<#IConvertible * #IConvertible>, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?UseDefaults: bool ) = let real, imag = Seq.unzip realImag @@ -562,26 +562,26 @@ module ChartSmith = real: seq<#IConvertible>, imag: seq<#IConvertible>, sizes: seq, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = // if text position or font is set than show labels (not only when hovering) @@ -657,26 +657,26 @@ module ChartSmith = static member BubbleSmith ( realImagSizes: seq<#IConvertible * #IConvertible * int>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let real, imag, sizes = diff --git a/src/Plotly.NET/ChartAPI/ChartTernary.fs b/src/Plotly.NET/ChartAPI/ChartTernary.fs index 427fe0123..5d8151ee6 100644 --- a/src/Plotly.NET/ChartAPI/ChartTernary.fs +++ b/src/Plotly.NET/ChartAPI/ChartTernary.fs @@ -51,31 +51,31 @@ module ChartTernary = /// If set to false, ignore the global default settings set in `Defaults` static member ScatterTernary ( - [] ?A: seq<#IConvertible>, - [] ?B: seq<#IConvertible>, - [] ?C: seq<#IConvertible>, - [] ?Sum: #IConvertible, - [] ?Mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?C: seq<#IConvertible>, + ?Sum: #IConvertible, + ?Mode: StyleParam.Mode, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let useDefaults = @@ -155,27 +155,27 @@ module ChartTernary = static member ScatterTernary ( abc, - [] ?Mode: StyleParam.Mode, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?Mode: StyleParam.Mode, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let a, b, c = Seq.unzip3 abc @@ -233,25 +233,25 @@ module ChartTernary = /// If set to false, ignore the global default settings set in `Defaults` static member PointTernary ( - [] ?A: seq<#IConvertible>, - [] ?B: seq<#IConvertible>, - [] ?C: seq<#IConvertible>, - [] ?Sum: #IConvertible, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UseDefaults: bool + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?C: seq<#IConvertible>, + ?Sum: #IConvertible, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UseDefaults: bool ) = let changeMode = @@ -304,21 +304,21 @@ module ChartTernary = static member PointTernary ( abc: seq<#IConvertible * #IConvertible * #IConvertible>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?UseDefaults: bool ) = let a, b, c = Seq.unzip3 abc @@ -377,31 +377,31 @@ module ChartTernary = /// If set to false, ignore the global default settings set in `Defaults` static member LineTernary ( - [] ?A: seq<#IConvertible>, - [] ?B: seq<#IConvertible>, - [] ?C: seq<#IConvertible>, - [] ?Sum: #IConvertible, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?C: seq<#IConvertible>, + ?Sum: #IConvertible, + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = @@ -472,27 +472,27 @@ module ChartTernary = static member LineTernary ( abc, - [] ?ShowMarkers: bool, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let a, b, c = Seq.unzip3 abc @@ -560,30 +560,30 @@ module ChartTernary = static member BubbleTernary ( sizes: seq, - [] ?A: seq<#IConvertible>, - [] ?B: seq<#IConvertible>, - [] ?C: seq<#IConvertible>, - [] ?Sum: #IConvertible, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?C: seq<#IConvertible>, + ?Sum: #IConvertible, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let useDefaults = @@ -668,26 +668,26 @@ module ChartTernary = static member BubbleTernary ( abcSizes: seq<#IConvertible * #IConvertible * #IConvertible * int>, - [] ?Name: string, - [] ?ShowLegend: bool, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?MarkerColor: Color, - [] ?MarkerColorScale: StyleParam.Colorscale, - [] ?MarkerOutline: Line, - [] ?MarkerSymbol: StyleParam.MarkerSymbol, - [] ?MultiMarkerSymbol: seq, - [] ?Marker: Marker, - [] ?LineColor: Color, - [] ?LineColorScale: StyleParam.Colorscale, - [] ?LineWidth: float, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?Line: Line, - [] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq, + ?Marker: Marker, + ?LineColor: Color, + ?LineColorScale: StyleParam.Colorscale, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle, + ?Line: Line, + ?UseDefaults: bool ) = let a, b, c, sizes = diff --git a/src/Plotly.NET/CommonAbstractions/AutoRangeOptions.fs b/src/Plotly.NET/CommonAbstractions/AutoRangeOptions.fs index be571d0f2..14378a1cd 100644 --- a/src/Plotly.NET/CommonAbstractions/AutoRangeOptions.fs +++ b/src/Plotly.NET/CommonAbstractions/AutoRangeOptions.fs @@ -18,11 +18,11 @@ type AutoRangeOptions() = /// Use this value exactly as autorange minimum. static member init ( - [] ?ClipMax: #IConvertible, - [] ?ClipMin: #IConvertible, - [] ?Include: #IConvertible, - [] ?MaxAllowed: #IConvertible, - [] ?MinAllowed: #IConvertible + ?ClipMax: #IConvertible, + ?ClipMin: #IConvertible, + ?Include: #IConvertible, + ?MaxAllowed: #IConvertible, + ?MinAllowed: #IConvertible ) = AutoRangeOptions() |> AutoRangeOptions.style ( @@ -43,11 +43,11 @@ type AutoRangeOptions() = /// Use this value exactly as autorange minimum. static member style ( - [] ?ClipMax: #IConvertible, - [] ?ClipMin: #IConvertible, - [] ?Include: #IConvertible, - [] ?MaxAllowed: #IConvertible, - [] ?MinAllowed: #IConvertible + ?ClipMax: #IConvertible, + ?ClipMin: #IConvertible, + ?Include: #IConvertible, + ?MaxAllowed: #IConvertible, + ?MinAllowed: #IConvertible ) = (fun (autoRangeOptions: AutoRangeOptions) -> diff --git a/src/Plotly.NET/CommonAbstractions/ColorBar.fs b/src/Plotly.NET/CommonAbstractions/ColorBar.fs index 1451213bc..0c3eca708 100644 --- a/src/Plotly.NET/CommonAbstractions/ColorBar.fs +++ b/src/Plotly.NET/CommonAbstractions/ColorBar.fs @@ -59,52 +59,52 @@ type ColorBar() = /// Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only. static member init ( - [] ?BGColor: Color, - [] ?BorderColor: Color, - [] ?BorderWidth: float, - [] ?DTick: IConvertible, - [] ?ExponentFormat: StyleParam.ExponentFormat, - [] ?LabelAlias: DynamicObj, - [] ?Len: float, - [] ?LenMode: StyleParam.UnitMode, - [] ?MinExponent: float, - [] ?NTicks: int, - [] ?Orientation: StyleParam.Orientation, - [] ?OutlineColor: Color, - [] ?OutlineWidth: float, - [] ?SeparateThousands: bool, - [] ?ShowExponent: StyleParam.ShowExponent, - [] ?ShowTickLabels: bool, - [] ?ShowTickPrefix: StyleParam.ShowTickOption, - [] ?ShowTickSuffix: StyleParam.ShowTickOption, - [] ?Thickness: float, - [] ?ThicknessMode: StyleParam.UnitMode, - [] ?Tick0: IConvertible, - [] ?TickAngle: int, - [] ?TickColor: Color, - [] ?TickFont: Font, - [] ?TickFormat: string, - [] ?TickFormatStops: seq, - [] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [] ?TickLabelPosition: StyleParam.TickLabelPosition, - [] ?TickLabelStep: int, - [] ?TickLen: float, - [] ?TickMode: StyleParam.TickMode, - [] ?TickPrefix: string, - [] ?Ticks: StyleParam.TickOptions, - [] ?TickSuffix: string, - [] ?TickText: seq<#IConvertible>, - [] ?TickVals: seq<#IConvertible>, - [] ?TickWidth: float, - [] ?Title: Title, - [] ?X: float, - [] ?XAnchor: StyleParam.HorizontalAlign, - [] ?XPad: float, - [] ?XRef: string, - [] ?Y: float, - [] ?YAnchor: StyleParam.VerticalAlign, - [] ?YPad: float, - [] ?YRef: string + ?BGColor: Color, + ?BorderColor: Color, + ?BorderWidth: float, + ?DTick: IConvertible, + ?ExponentFormat: StyleParam.ExponentFormat, + ?LabelAlias: DynamicObj, + ?Len: float, + ?LenMode: StyleParam.UnitMode, + ?MinExponent: float, + ?NTicks: int, + ?Orientation: StyleParam.Orientation, + ?OutlineColor: Color, + ?OutlineWidth: float, + ?SeparateThousands: bool, + ?ShowExponent: StyleParam.ShowExponent, + ?ShowTickLabels: bool, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?Thickness: float, + ?ThicknessMode: StyleParam.UnitMode, + ?Tick0: IConvertible, + ?TickAngle: int, + ?TickColor: Color, + ?TickFont: Font, + ?TickFormat: string, + ?TickFormatStops: seq, + ?TickLabelOverflow: StyleParam.TickLabelOverflow, + ?TickLabelPosition: StyleParam.TickLabelPosition, + ?TickLabelStep: int, + ?TickLen: float, + ?TickMode: StyleParam.TickMode, + ?TickPrefix: string, + ?Ticks: StyleParam.TickOptions, + ?TickSuffix: string, + ?TickText: seq<#IConvertible>, + ?TickVals: seq<#IConvertible>, + ?TickWidth: float, + ?Title: Title, + ?X: float, + ?XAnchor: StyleParam.HorizontalAlign, + ?XPad: float, + ?XRef: string, + ?Y: float, + ?YAnchor: StyleParam.VerticalAlign, + ?YPad: float, + ?YRef: string ) = ColorBar() |> ColorBar.style ( @@ -205,52 +205,52 @@ type ColorBar() = /// Sets the amount of padding (in px) along the y direction. static member style ( - [] ?BGColor: Color, - [] ?BorderColor: Color, - [] ?BorderWidth: float, - [] ?DTick: IConvertible, - [] ?ExponentFormat: StyleParam.ExponentFormat, - [] ?LabelAlias: DynamicObj, - [] ?Len: float, - [] ?LenMode: StyleParam.UnitMode, - [] ?MinExponent: float, - [] ?NTicks: int, - [] ?Orientation: StyleParam.Orientation, - [] ?OutlineColor: Color, - [] ?OutlineWidth: float, - [] ?SeparateThousands: bool, - [] ?ShowExponent: StyleParam.ShowExponent, - [] ?ShowTickLabels: bool, - [] ?ShowTickPrefix: StyleParam.ShowTickOption, - [] ?ShowTickSuffix: StyleParam.ShowTickOption, - [] ?Thickness: float, - [] ?ThicknessMode: StyleParam.UnitMode, - [] ?Tick0: IConvertible, - [] ?TickAngle: int, - [] ?TickColor: Color, - [] ?TickFont: Font, - [] ?TickFormat: string, - [] ?TickFormatStops: seq, - [] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [] ?TickLabelPosition: StyleParam.TickLabelPosition, - [] ?TickLabelStep: int, - [] ?TickLen: float, - [] ?TickMode: StyleParam.TickMode, - [] ?TickPrefix: string, - [] ?Ticks: StyleParam.TickOptions, - [] ?TickSuffix: string, - [] ?TickText: seq<#IConvertible>, - [] ?TickVals: seq<#IConvertible>, - [] ?TickWidth: float, - [] ?Title: Title, - [] ?X: float, - [] ?XAnchor: StyleParam.HorizontalAlign, - [] ?XPad: float, - [] ?XRef: string, - [] ?Y: float, - [] ?YAnchor: StyleParam.VerticalAlign, - [] ?YPad: float, - [] ?YRef: string + ?BGColor: Color, + ?BorderColor: Color, + ?BorderWidth: float, + ?DTick: IConvertible, + ?ExponentFormat: StyleParam.ExponentFormat, + ?LabelAlias: DynamicObj, + ?Len: float, + ?LenMode: StyleParam.UnitMode, + ?MinExponent: float, + ?NTicks: int, + ?Orientation: StyleParam.Orientation, + ?OutlineColor: Color, + ?OutlineWidth: float, + ?SeparateThousands: bool, + ?ShowExponent: StyleParam.ShowExponent, + ?ShowTickLabels: bool, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?Thickness: float, + ?ThicknessMode: StyleParam.UnitMode, + ?Tick0: IConvertible, + ?TickAngle: int, + ?TickColor: Color, + ?TickFont: Font, + ?TickFormat: string, + ?TickFormatStops: seq, + ?TickLabelOverflow: StyleParam.TickLabelOverflow, + ?TickLabelPosition: StyleParam.TickLabelPosition, + ?TickLabelStep: int, + ?TickLen: float, + ?TickMode: StyleParam.TickMode, + ?TickPrefix: string, + ?Ticks: StyleParam.TickOptions, + ?TickSuffix: string, + ?TickText: seq<#IConvertible>, + ?TickVals: seq<#IConvertible>, + ?TickWidth: float, + ?Title: Title, + ?X: float, + ?XAnchor: StyleParam.HorizontalAlign, + ?XPad: float, + ?XRef: string, + ?Y: float, + ?YAnchor: StyleParam.VerticalAlign, + ?YPad: float, + ?YRef: string ) = (fun (colorBar: ColorBar) -> diff --git a/src/Plotly.NET/CommonAbstractions/Font.fs b/src/Plotly.NET/CommonAbstractions/Font.fs index 8b208f958..9d8efb024 100644 --- a/src/Plotly.NET/CommonAbstractions/Font.fs +++ b/src/Plotly.NET/CommonAbstractions/Font.fs @@ -11,9 +11,9 @@ type Font() = /// Init Font() static member init ( - [] ?Family: StyleParam.FontFamily, - [] ?Size: float, - [] ?Color: Color + ?Family: StyleParam.FontFamily, + ?Size: float, + ?Color: Color ) = Font() |> Font.style (?Family = Family, ?Size = Size, ?Color = Color) @@ -21,9 +21,9 @@ type Font() = // Applies the styles to Font() static member style ( - [] ?Family: StyleParam.FontFamily, - [] ?Size: float, - [] ?Color: Color + ?Family: StyleParam.FontFamily, + ?Size: float, + ?Color: Color ) = (fun (font: Font) -> font diff --git a/src/Plotly.NET/CommonAbstractions/Line.fs b/src/Plotly.NET/CommonAbstractions/Line.fs index 6d5e9d257..9a010ec3f 100644 --- a/src/Plotly.NET/CommonAbstractions/Line.fs +++ b/src/Plotly.NET/CommonAbstractions/Line.fs @@ -33,26 +33,26 @@ type Line() = /// Sets the width of the outline of outliers static member init ( - [] ?BackOff: StyleParam.BackOff, - [] ?AutoColorScale: bool, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?Color: Color, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?Colorscale: StyleParam.Colorscale, - [] ?ReverseScale: bool, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?Dash: StyleParam.DrawingStyle, - [] ?Shape: StyleParam.Shape, - [] ?Simplify: bool, - [] ?Smoothing: float, - [] ?Width: float, - [] ?MultiWidth: seq, - [] ?OutlierColor: Color, - [] ?OutlierWidth: float + ?BackOff: StyleParam.BackOff, + ?AutoColorScale: bool, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Color: Color, + ?ColorAxis: StyleParam.SubPlotId, + ?Colorscale: StyleParam.Colorscale, + ?ReverseScale: bool, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?Dash: StyleParam.DrawingStyle, + ?Shape: StyleParam.Shape, + ?Simplify: bool, + ?Smoothing: float, + ?Width: float, + ?MultiWidth: seq, + ?OutlierColor: Color, + ?OutlierWidth: float ) = Line() |> Line.style ( @@ -103,26 +103,26 @@ type Line() = /// Sets the width of the outline of outliers static member style ( - [] ?BackOff: StyleParam.BackOff, - [] ?AutoColorScale: bool, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?Color: Color, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?Colorscale: StyleParam.Colorscale, - [] ?ReverseScale: bool, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?Dash: StyleParam.DrawingStyle, - [] ?Shape: StyleParam.Shape, - [] ?Simplify: bool, - [] ?Smoothing: float, - [] ?Width: float, - [] ?MultiWidth: seq, - [] ?OutlierColor: Color, - [] ?OutlierWidth: float + ?BackOff: StyleParam.BackOff, + ?AutoColorScale: bool, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Color: Color, + ?ColorAxis: StyleParam.SubPlotId, + ?Colorscale: StyleParam.Colorscale, + ?ReverseScale: bool, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?Dash: StyleParam.DrawingStyle, + ?Shape: StyleParam.Shape, + ?Simplify: bool, + ?Smoothing: float, + ?Width: float, + ?MultiWidth: seq, + ?OutlierColor: Color, + ?OutlierWidth: float ) = (fun (line: Line) -> line diff --git a/src/Plotly.NET/CommonAbstractions/Padding.fs b/src/Plotly.NET/CommonAbstractions/Padding.fs index 708d710f9..0bd36d1f3 100644 --- a/src/Plotly.NET/CommonAbstractions/Padding.fs +++ b/src/Plotly.NET/CommonAbstractions/Padding.fs @@ -15,10 +15,10 @@ type Padding() = /// The amount of padding (in px) along the top of the component static member init ( - [] ?B: int, - [] ?L: int, - [] ?R: int, - [] ?T: int + ?B: int, + ?L: int, + ?R: int, + ?T: int ) = Padding() |> Padding.style (?B = B, ?L = L, ?R = R, ?T = T) @@ -31,10 +31,10 @@ type Padding() = /// The amount of padding (in px) along the top of the component static member style ( - [] ?B: int, - [] ?L: int, - [] ?R: int, - [] ?T: int + ?B: int, + ?L: int, + ?R: int, + ?T: int ) = (fun (padding: Padding) -> padding diff --git a/src/Plotly.NET/CommonAbstractions/TickFormatStop.fs b/src/Plotly.NET/CommonAbstractions/TickFormatStop.fs index 684d7ad58..f45631786 100644 --- a/src/Plotly.NET/CommonAbstractions/TickFormatStop.fs +++ b/src/Plotly.NET/CommonAbstractions/TickFormatStop.fs @@ -10,11 +10,11 @@ type TickFormatStop() = static member init ( - [] ?Enabled: bool, - [] ?DTickRange: seq, - [] ?Value: string, - [] ?Name: string, - [] ?TemplateItemName: string + ?Enabled: bool, + ?DTickRange: seq, + ?Value: string, + ?Name: string, + ?TemplateItemName: string ) = TickFormatStop() |> TickFormatStop.style ( @@ -27,11 +27,11 @@ type TickFormatStop() = static member style ( - [] ?Enabled: bool, - [] ?DTickRange: seq, - [] ?Value: string, - [] ?Name: string, - [] ?TemplateItemName: string + ?Enabled: bool, + ?DTickRange: seq, + ?Value: string, + ?Name: string, + ?TemplateItemName: string ) = (fun (tickFormatStop: TickFormatStop) -> diff --git a/src/Plotly.NET/CommonAbstractions/Title.fs b/src/Plotly.NET/CommonAbstractions/Title.fs index d26184e68..62653fe76 100644 --- a/src/Plotly.NET/CommonAbstractions/Title.fs +++ b/src/Plotly.NET/CommonAbstractions/Title.fs @@ -24,20 +24,20 @@ type Title() = /// For colorbar titles: Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute. static member init ( - [] ?Text: string, - [] ?Font: Font, - [] ?AutoMargin: bool, - [] ?Pad: Padding, - [] ?X: float, - [] ?XAnchor: StyleParam.XAnchorPosition, - [] ?XRef: string, - [] ?Y: float, - [] ?YAnchor: StyleParam.YAnchorPosition, - [] ?YRef: string, + ?Text: string, + ?Font: Font, + ?AutoMargin: bool, + ?Pad: Padding, + ?X: float, + ?XAnchor: StyleParam.XAnchorPosition, + ?XRef: string, + ?Y: float, + ?YAnchor: StyleParam.YAnchorPosition, + ?YRef: string, // For axis titles - [] ?Standoff: int, + ?Standoff: int, // For colorbar titles - [] ?Side: StyleParam.Side + ?Side: StyleParam.Side ) = Title() |> Title.style ( @@ -72,20 +72,20 @@ type Title() = /// For colorbar titles: Determines the location of color bar's title with respect to the color bar. Defaults to "top" when `orientation` if "v" and defaults to "right" when `orientation` if "h". Note that the title's location used to be set by the now deprecated `titleside` attribute. static member style ( - [] ?Text: string, - [] ?Font: Font, - [] ?AutoMargin: bool, - [] ?Pad: Padding, - [] ?X: float, - [] ?XAnchor: StyleParam.XAnchorPosition, - [] ?XRef: string, - [] ?Y: float, - [] ?YAnchor: StyleParam.YAnchorPosition, - [] ?YRef: string, + ?Text: string, + ?Font: Font, + ?AutoMargin: bool, + ?Pad: Padding, + ?X: float, + ?XAnchor: StyleParam.XAnchorPosition, + ?XRef: string, + ?Y: float, + ?YAnchor: StyleParam.YAnchorPosition, + ?YRef: string, // For axis titles - [] ?Standoff: int, + ?Standoff: int, // For colorbar titles - [] ?Side: StyleParam.Side + ?Side: StyleParam.Side ) = (fun (title: Title) -> title diff --git a/src/Plotly.NET/Config/Config.fs b/src/Plotly.NET/Config/Config.fs index c6c85d149..73ead379c 100644 --- a/src/Plotly.NET/Config/Config.fs +++ b/src/Plotly.NET/Config/Config.fs @@ -72,45 +72,45 @@ type Config() = /// static member init ( - [] ?StaticPlot: bool, - [] ?TypesetMath: bool, - [] ?PlotlyServerUrl: string, - [] ?Editable: bool, - [] ?Edits: Edits, - [] ?EditSelection: bool, - [] ?Autosizable: bool, - [] ?Responsive: bool, - [] ?FillFrame: bool, - [] ?FrameMargins: float, - [] ?ScrollZoom: StyleParam.ScrollZoom, - [] ?DoubleClick: StyleParam.DoubleClick, - [] ?DoubleClickDelay: int, - [] ?ShowAxisDragHandles: bool, - [] ?ShowAxisRangeEntryBoxes: bool, - [] ?ShowTips: bool, - [] ?ShowLink: bool, - [] ?LinkText: string, - [] ?SendData: bool, - [] ?ShowSources: obj, - [] ?DisplayModeBar: bool, - [] ?ShowSendToCloud: bool, - [] ?ShowEditInChartStudio: bool, - [] ?ModeBarButtonsToRemove: seq, - [] ?ModeBarButtonsToAdd: seq, - [] ?ModeBarButtons: seq>, - [] ?ToImageButtonOptions: ToImageButtonOptions, - [] ?Displaylogo: bool, - [] ?Watermark: bool, - [] ?plotGlPixelRatio: float, - [] ?SetBackground: obj, - [] ?TopojsonURL: string, - [] ?MapboxAccessToken: string, - [] ?Logging: int, - [] ?NotifyOnLogging: int, - [] ?QueueLength: int, - [] ?GlobalTransforms: obj, - [] ?Locale: string, - [] ?Locales: obj + ?StaticPlot: bool, + ?TypesetMath: bool, + ?PlotlyServerUrl: string, + ?Editable: bool, + ?Edits: Edits, + ?EditSelection: bool, + ?Autosizable: bool, + ?Responsive: bool, + ?FillFrame: bool, + ?FrameMargins: float, + ?ScrollZoom: StyleParam.ScrollZoom, + ?DoubleClick: StyleParam.DoubleClick, + ?DoubleClickDelay: int, + ?ShowAxisDragHandles: bool, + ?ShowAxisRangeEntryBoxes: bool, + ?ShowTips: bool, + ?ShowLink: bool, + ?LinkText: string, + ?SendData: bool, + ?ShowSources: obj, + ?DisplayModeBar: bool, + ?ShowSendToCloud: bool, + ?ShowEditInChartStudio: bool, + ?ModeBarButtonsToRemove: seq, + ?ModeBarButtonsToAdd: seq, + ?ModeBarButtons: seq>, + ?ToImageButtonOptions: ToImageButtonOptions, + ?Displaylogo: bool, + ?Watermark: bool, + ?plotGlPixelRatio: float, + ?SetBackground: obj, + ?TopojsonURL: string, + ?MapboxAccessToken: string, + ?Logging: int, + ?NotifyOnLogging: int, + ?QueueLength: int, + ?GlobalTransforms: obj, + ?Locale: string, + ?Locales: obj ) = Config() |> Config.style ( @@ -220,45 +220,45 @@ type Config() = /// static member style ( - [] ?StaticPlot: bool, - [] ?TypesetMath: bool, - [] ?PlotlyServerUrl: string, - [] ?Editable: bool, - [] ?Edits: Edits, - [] ?EditSelection: bool, - [] ?Autosizable: bool, - [] ?Responsive: bool, - [] ?FillFrame: bool, - [] ?FrameMargins: float, - [] ?ScrollZoom: StyleParam.ScrollZoom, - [] ?DoubleClick: StyleParam.DoubleClick, - [] ?DoubleClickDelay: int, - [] ?ShowAxisDragHandles: bool, - [] ?ShowAxisRangeEntryBoxes: bool, - [] ?ShowTips: bool, - [] ?ShowLink: bool, - [] ?LinkText: string, - [] ?SendData: bool, - [] ?ShowSources: obj, - [] ?DisplayModeBar: bool, - [] ?ShowSendToCloud: bool, - [] ?ShowEditInChartStudio: bool, - [] ?ModeBarButtonsToRemove: seq, - [] ?ModeBarButtonsToAdd: seq, - [] ?ModeBarButtons: seq>, - [] ?ToImageButtonOptions: ToImageButtonOptions, - [] ?Displaylogo: bool, - [] ?Watermark: bool, - [] ?plotGlPixelRatio: float, - [] ?SetBackground: obj, - [] ?TopojsonURL: string, - [] ?MapboxAccessToken: string, - [] ?Logging: int, - [] ?NotifyOnLogging: int, - [] ?QueueLength: int, - [] ?GlobalTransforms: obj, - [] ?Locale: string, - [] ?Locales: obj + ?StaticPlot: bool, + ?TypesetMath: bool, + ?PlotlyServerUrl: string, + ?Editable: bool, + ?Edits: Edits, + ?EditSelection: bool, + ?Autosizable: bool, + ?Responsive: bool, + ?FillFrame: bool, + ?FrameMargins: float, + ?ScrollZoom: StyleParam.ScrollZoom, + ?DoubleClick: StyleParam.DoubleClick, + ?DoubleClickDelay: int, + ?ShowAxisDragHandles: bool, + ?ShowAxisRangeEntryBoxes: bool, + ?ShowTips: bool, + ?ShowLink: bool, + ?LinkText: string, + ?SendData: bool, + ?ShowSources: obj, + ?DisplayModeBar: bool, + ?ShowSendToCloud: bool, + ?ShowEditInChartStudio: bool, + ?ModeBarButtonsToRemove: seq, + ?ModeBarButtonsToAdd: seq, + ?ModeBarButtons: seq>, + ?ToImageButtonOptions: ToImageButtonOptions, + ?Displaylogo: bool, + ?Watermark: bool, + ?plotGlPixelRatio: float, + ?SetBackground: obj, + ?TopojsonURL: string, + ?MapboxAccessToken: string, + ?Logging: int, + ?NotifyOnLogging: int, + ?QueueLength: int, + ?GlobalTransforms: obj, + ?Locale: string, + ?Locales: obj ) = fun (config: Config) -> diff --git a/src/Plotly.NET/Config/ObjectAbstractions/Edits.fs b/src/Plotly.NET/Config/ObjectAbstractions/Edits.fs index ba4eb9d64..005d97c52 100644 --- a/src/Plotly.NET/Config/ObjectAbstractions/Edits.fs +++ b/src/Plotly.NET/Config/ObjectAbstractions/Edits.fs @@ -25,16 +25,16 @@ type Edits() = /// Enables editing the global layout title. static member init ( - [] ?AnnotationPosition: bool, - [] ?AnnotationTail: bool, - [] ?AnnotationText: bool, - [] ?AxisTitleText: bool, - [] ?ColorbarPosition: bool, - [] ?ColorbarTitleText: bool, - [] ?LegendPosition: bool, - [] ?LegendText: bool, - [] ?ShapePosition: bool, - [] ?TitleText: bool + ?AnnotationPosition: bool, + ?AnnotationTail: bool, + ?AnnotationText: bool, + ?AxisTitleText: bool, + ?ColorbarPosition: bool, + ?ColorbarTitleText: bool, + ?LegendPosition: bool, + ?LegendText: bool, + ?ShapePosition: bool, + ?TitleText: bool ) = Edits() |> Edits.style ( @@ -66,16 +66,16 @@ type Edits() = /// Enables editing the global layout title. static member style ( - [] ?AnnotationPosition: bool, - [] ?AnnotationTail: bool, - [] ?AnnotationText: bool, - [] ?AxisTitleText: bool, - [] ?ColorbarPosition: bool, - [] ?ColorbarTitleText: bool, - [] ?LegendPosition: bool, - [] ?LegendText: bool, - [] ?ShapePosition: bool, - [] ?TitleText: bool + ?AnnotationPosition: bool, + ?AnnotationTail: bool, + ?AnnotationText: bool, + ?AxisTitleText: bool, + ?ColorbarPosition: bool, + ?ColorbarTitleText: bool, + ?LegendPosition: bool, + ?LegendText: bool, + ?ShapePosition: bool, + ?TitleText: bool ) = fun (edits: Edits) -> edits diff --git a/src/Plotly.NET/Config/ObjectAbstractions/ToImageButtonOptions.fs b/src/Plotly.NET/Config/ObjectAbstractions/ToImageButtonOptions.fs index 1e15ac826..f527fd275 100644 --- a/src/Plotly.NET/Config/ObjectAbstractions/ToImageButtonOptions.fs +++ b/src/Plotly.NET/Config/ObjectAbstractions/ToImageButtonOptions.fs @@ -11,11 +11,11 @@ type ToImageButtonOptions() = static member init ( - [] ?Format: StyleParam.ImageFormat, - [] ?Filename: string, - [] ?Width: float, - [] ?Height: float, - [] ?Scale: float + ?Format: StyleParam.ImageFormat, + ?Filename: string, + ?Width: float, + ?Height: float, + ?Scale: float ) = ToImageButtonOptions() |> ToImageButtonOptions.style ( @@ -28,11 +28,11 @@ type ToImageButtonOptions() = static member style ( - [] ?Format, - [] ?Filename, - [] ?Width, - [] ?Height, - [] ?Scale + ?Format, + ?Filename, + ?Width, + ?Height, + ?Scale ) = fun (btnConf: ToImageButtonOptions) -> btnConf diff --git a/src/Plotly.NET/DisplayOptions/DisplayOptions.fs b/src/Plotly.NET/DisplayOptions/DisplayOptions.fs index 27bf82029..c03c7215e 100644 --- a/src/Plotly.NET/DisplayOptions/DisplayOptions.fs +++ b/src/Plotly.NET/DisplayOptions/DisplayOptions.fs @@ -27,13 +27,13 @@ type DisplayOptions() = /// Sets how plotly is referenced in the head of html docs. When CDN, a script tag that references the plotly.js CDN is included in the output. When Full, a script tag containing the plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline static member init ( - [] ?DocumentTitle: string, - [] ?DocumentCharset: string, - [] ?DocumentDescription: string, - [] ?DocumentFavicon: XmlNode, - [] ?AdditionalHeadTags: XmlNode list, - [] ?ChartDescription: XmlNode list, - [] ?PlotlyJSReference: PlotlyJSReference + ?DocumentTitle: string, + ?DocumentCharset: string, + ?DocumentDescription: string, + ?DocumentFavicon: XmlNode, + ?AdditionalHeadTags: XmlNode list, + ?ChartDescription: XmlNode list, + ?PlotlyJSReference: PlotlyJSReference ) = DisplayOptions() |> DisplayOptions.style ( @@ -54,13 +54,13 @@ type DisplayOptions() = /// Sets how plotly is referenced in the head of html docs. When CDN, a script tag that references the plotly.js CDN is included in the output. When Full, a script tag containing the plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline static member style ( - [] ?DocumentTitle: string, - [] ?DocumentCharset: string, - [] ?DocumentDescription: string, - [] ?DocumentFavicon: XmlNode, - [] ?AdditionalHeadTags: XmlNode list, - [] ?ChartDescription: XmlNode list, - [] ?PlotlyJSReference: PlotlyJSReference + ?DocumentTitle: string, + ?DocumentCharset: string, + ?DocumentDescription: string, + ?DocumentFavicon: XmlNode, + ?AdditionalHeadTags: XmlNode list, + ?ChartDescription: XmlNode list, + ?PlotlyJSReference: PlotlyJSReference ) = fun (displayOpts: DisplayOptions) -> displayOpts diff --git a/src/Plotly.NET/Layout/Layout.fs b/src/Plotly.NET/Layout/Layout.fs index a0ad6ac93..1e426c394 100644 --- a/src/Plotly.NET/Layout/Layout.fs +++ b/src/Plotly.NET/Layout/Layout.fs @@ -89,80 +89,80 @@ type Layout() = /// A collection containing all UpdateMenus of this layout. static member init ( - [] ?Title: Title, - [] ?ShowLegend: bool, - [] ?Margin: Margin, - [] ?AutoSize: bool, - [] ?Width: int, - [] ?Height: int, - [] ?Font: Font, - [] ?UniformText: UniformText, - [] ?Separators: string, - [] ?PaperBGColor: Color, - [] ?PlotBGColor: Color, - [] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [] ?Colorscale: DefaultColorScales, - [] ?Colorway: Color, - [] ?ModeBar: ModeBar, - [] ?HoverMode: StyleParam.HoverMode, - [] ?ClickMode: StyleParam.ClickMode, - [] ?DragMode: StyleParam.DragMode, - [] ?SelectDirection: StyleParam.SelectDirection, - [] ?ActiveSelection: ActiveSelection, - [] ?NewSelection: NewSelection, - [] ?HoverDistance: int, - [] ?SpikeDistance: int, - [] ?Hoverlabel: Hoverlabel, - [] ?Transition: Transition, - [] ?DataRevision: string, - [] ?UIRevision: string, - [] ?EditRevision: string, - [] ?SelectRevision: string, - [] ?Template: DynamicObj, - [] ?Meta: string, - [] ?Computed: string, - [] ?Grid: LayoutGrid, - [] ?Calendar: StyleParam.Calendar, - [] ?MinReducedHeight: int, - [] ?MinReducedWidth: int, - [] ?NewShape: NewShape, - [] ?ActiveShape: ActiveShape, - [] ?HideSources: bool, - [] ?ScatterGap: float, - [] ?ScatterMode: StyleParam.ScatterMode, - [] ?BarGap: float, - [] ?BarGroupGap: float, - [] ?BarMode: StyleParam.BarMode, - [] ?BarNorm: StyleParam.BarNorm, - [] ?ExtendPieColors: bool, - [] ?HiddenLabels: seq<#IConvertible>, - [] ?PieColorWay: Color, - [] ?BoxGap: float, - [] ?BoxGroupGap: float, - [] ?BoxMode: StyleParam.BoxMode, - [] ?ViolinGap: float, - [] ?ViolinGroupGap: float, - [] ?ViolinMode: StyleParam.ViolinMode, - [] ?WaterfallGap: float, - [] ?WaterfallGroupGap: float, - [] ?WaterfallMode: StyleParam.WaterfallMode, - [] ?FunnelGap: float, - [] ?FunnelGroupGap: float, - [] ?FunnelMode: StyleParam.FunnelMode, - [] ?ExtendFunnelAreaColors: bool, - [] ?FunnelAreaColorWay: Color, - [] ?ExtendSunBurstColors: bool, - [] ?SunBurstColorWay: Color, - [] ?ExtendTreeMapColors: bool, - [] ?TreeMapColorWay: Color, - [] ?ExtendIcicleColors: bool, - [] ?IcicleColorWay: Color, - [] ?Annotations: seq, - [] ?Shapes: seq, - [] ?Selections: seq, - [] ?Images: seq, - [] ?Sliders: seq, - [] ?UpdateMenus: seq + ?Title: Title, + ?ShowLegend: bool, + ?Margin: Margin, + ?AutoSize: bool, + ?Width: int, + ?Height: int, + ?Font: Font, + ?UniformText: UniformText, + ?Separators: string, + ?PaperBGColor: Color, + ?PlotBGColor: Color, + ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, + ?Colorscale: DefaultColorScales, + ?Colorway: Color, + ?ModeBar: ModeBar, + ?HoverMode: StyleParam.HoverMode, + ?ClickMode: StyleParam.ClickMode, + ?DragMode: StyleParam.DragMode, + ?SelectDirection: StyleParam.SelectDirection, + ?ActiveSelection: ActiveSelection, + ?NewSelection: NewSelection, + ?HoverDistance: int, + ?SpikeDistance: int, + ?Hoverlabel: Hoverlabel, + ?Transition: Transition, + ?DataRevision: string, + ?UIRevision: string, + ?EditRevision: string, + ?SelectRevision: string, + ?Template: DynamicObj, + ?Meta: string, + ?Computed: string, + ?Grid: LayoutGrid, + ?Calendar: StyleParam.Calendar, + ?MinReducedHeight: int, + ?MinReducedWidth: int, + ?NewShape: NewShape, + ?ActiveShape: ActiveShape, + ?HideSources: bool, + ?ScatterGap: float, + ?ScatterMode: StyleParam.ScatterMode, + ?BarGap: float, + ?BarGroupGap: float, + ?BarMode: StyleParam.BarMode, + ?BarNorm: StyleParam.BarNorm, + ?ExtendPieColors: bool, + ?HiddenLabels: seq<#IConvertible>, + ?PieColorWay: Color, + ?BoxGap: float, + ?BoxGroupGap: float, + ?BoxMode: StyleParam.BoxMode, + ?ViolinGap: float, + ?ViolinGroupGap: float, + ?ViolinMode: StyleParam.ViolinMode, + ?WaterfallGap: float, + ?WaterfallGroupGap: float, + ?WaterfallMode: StyleParam.WaterfallMode, + ?FunnelGap: float, + ?FunnelGroupGap: float, + ?FunnelMode: StyleParam.FunnelMode, + ?ExtendFunnelAreaColors: bool, + ?FunnelAreaColorWay: Color, + ?ExtendSunBurstColors: bool, + ?SunBurstColorWay: Color, + ?ExtendTreeMapColors: bool, + ?TreeMapColorWay: Color, + ?ExtendIcicleColors: bool, + ?IcicleColorWay: Color, + ?Annotations: seq, + ?Shapes: seq, + ?Selections: seq, + ?Images: seq, + ?Sliders: seq, + ?UpdateMenus: seq ) = Layout() |> Layout.style ( @@ -321,80 +321,80 @@ type Layout() = /// A collection containing all UpdateMenus of this layout. static member style ( - [] ?Title: Title, - [] ?ShowLegend: bool, - [] ?Margin: Margin, - [] ?AutoSize: bool, - [] ?Width: int, - [] ?Height: int, - [] ?Font: Font, - [] ?UniformText: UniformText, - [] ?Separators: string, - [] ?PaperBGColor: Color, - [] ?PlotBGColor: Color, - [] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [] ?Colorscale: DefaultColorScales, - [] ?Colorway: Color, - [] ?ModeBar: ModeBar, - [] ?HoverMode: StyleParam.HoverMode, - [] ?ClickMode: StyleParam.ClickMode, - [] ?DragMode: StyleParam.DragMode, - [] ?SelectDirection: StyleParam.SelectDirection, - [] ?ActiveSelection: ActiveSelection, - [] ?NewSelection: NewSelection, - [] ?HoverDistance: int, - [] ?SpikeDistance: int, - [] ?Hoverlabel: Hoverlabel, - [] ?Transition: Transition, - [] ?DataRevision: string, - [] ?UIRevision: string, - [] ?EditRevision: string, - [] ?SelectRevision: string, - [] ?Template: DynamicObj, - [] ?Meta: string, - [] ?Computed: string, - [] ?Grid: LayoutGrid, - [] ?Calendar: StyleParam.Calendar, - [] ?MinReducedHeight: int, - [] ?MinReducedWidth: int, - [] ?NewShape: NewShape, - [] ?ActiveShape: ActiveShape, - [] ?HideSources: bool, - [] ?ScatterGap: float, - [] ?ScatterMode: StyleParam.ScatterMode, - [] ?BarGap: float, - [] ?BarGroupGap: float, - [] ?BarMode: StyleParam.BarMode, - [] ?BarNorm: StyleParam.BarNorm, - [] ?ExtendPieColors: bool, - [] ?HiddenLabels: seq<#IConvertible>, - [] ?PieColorWay: Color, - [] ?BoxGap: float, - [] ?BoxGroupGap: float, - [] ?BoxMode: StyleParam.BoxMode, - [] ?ViolinGap: float, - [] ?ViolinGroupGap: float, - [] ?ViolinMode: StyleParam.ViolinMode, - [] ?WaterfallGap: float, - [] ?WaterfallGroupGap: float, - [] ?WaterfallMode: StyleParam.WaterfallMode, - [] ?FunnelGap: float, - [] ?FunnelGroupGap: float, - [] ?FunnelMode: StyleParam.FunnelMode, - [] ?ExtendFunnelAreaColors: bool, - [] ?FunnelAreaColorWay: Color, - [] ?ExtendSunBurstColors: bool, - [] ?SunBurstColorWay: Color, - [] ?ExtendTreeMapColors: bool, - [] ?TreeMapColorWay: Color, - [] ?ExtendIcicleColors: bool, - [] ?IcicleColorWay: Color, - [] ?Annotations: seq, - [] ?Shapes: seq, - [] ?Selections: seq, - [] ?Images: seq, - [] ?Sliders: seq, - [] ?UpdateMenus: seq + ?Title: Title, + ?ShowLegend: bool, + ?Margin: Margin, + ?AutoSize: bool, + ?Width: int, + ?Height: int, + ?Font: Font, + ?UniformText: UniformText, + ?Separators: string, + ?PaperBGColor: Color, + ?PlotBGColor: Color, + ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, + ?Colorscale: DefaultColorScales, + ?Colorway: Color, + ?ModeBar: ModeBar, + ?HoverMode: StyleParam.HoverMode, + ?ClickMode: StyleParam.ClickMode, + ?DragMode: StyleParam.DragMode, + ?SelectDirection: StyleParam.SelectDirection, + ?ActiveSelection: ActiveSelection, + ?NewSelection: NewSelection, + ?HoverDistance: int, + ?SpikeDistance: int, + ?Hoverlabel: Hoverlabel, + ?Transition: Transition, + ?DataRevision: string, + ?UIRevision: string, + ?EditRevision: string, + ?SelectRevision: string, + ?Template: DynamicObj, + ?Meta: string, + ?Computed: string, + ?Grid: LayoutGrid, + ?Calendar: StyleParam.Calendar, + ?MinReducedHeight: int, + ?MinReducedWidth: int, + ?NewShape: NewShape, + ?ActiveShape: ActiveShape, + ?HideSources: bool, + ?ScatterGap: float, + ?ScatterMode: StyleParam.ScatterMode, + ?BarGap: float, + ?BarGroupGap: float, + ?BarMode: StyleParam.BarMode, + ?BarNorm: StyleParam.BarNorm, + ?ExtendPieColors: bool, + ?HiddenLabels: seq<#IConvertible>, + ?PieColorWay: Color, + ?BoxGap: float, + ?BoxGroupGap: float, + ?BoxMode: StyleParam.BoxMode, + ?ViolinGap: float, + ?ViolinGroupGap: float, + ?ViolinMode: StyleParam.ViolinMode, + ?WaterfallGap: float, + ?WaterfallGroupGap: float, + ?WaterfallMode: StyleParam.WaterfallMode, + ?FunnelGap: float, + ?FunnelGroupGap: float, + ?FunnelMode: StyleParam.FunnelMode, + ?ExtendFunnelAreaColors: bool, + ?FunnelAreaColorWay: Color, + ?ExtendSunBurstColors: bool, + ?SunBurstColorWay: Color, + ?ExtendTreeMapColors: bool, + ?TreeMapColorWay: Color, + ?ExtendIcicleColors: bool, + ?IcicleColorWay: Color, + ?Annotations: seq, + ?Shapes: seq, + ?Selections: seq, + ?Images: seq, + ?Sliders: seq, + ?UpdateMenus: seq ) = (fun (layout: Layout) -> layout diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/3D/AspectRatio.fs b/src/Plotly.NET/Layout/ObjectAbstractions/3D/AspectRatio.fs index 944c05037..395462965 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/3D/AspectRatio.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/3D/AspectRatio.fs @@ -11,17 +11,17 @@ type AspectRatio() = static member init ( - [] ?X: float, - [] ?Y: float, - [] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = AspectRatio() |> AspectRatio.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [] ?X: float, - [] ?Y: float, - [] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = fun (aspectRatio: AspectRatio) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/3D/Camera.fs b/src/Plotly.NET/Layout/ObjectAbstractions/3D/Camera.fs index 640dad78a..e7e9a7cc5 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/3D/Camera.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/3D/Camera.fs @@ -12,17 +12,17 @@ type CameraCenter() = static member init ( - [] ?X: float, - [] ?Y: float, - [] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = CameraCenter() |> CameraCenter.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [] ?X: float, - [] ?Y: float, - [] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = fun (cameraCenter: CameraCenter) -> @@ -37,17 +37,17 @@ type CameraEye() = static member init ( - [] ?X: float, - [] ?Y: float, - [] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = CameraEye() |> CameraEye.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [] ?X: float, - [] ?Y: float, - [] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = fun (cameraEye: CameraEye) -> @@ -62,17 +62,17 @@ type CameraUp() = static member init ( - [] ?X: float, - [] ?Y: float, - [] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = CameraUp() |> CameraUp.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [] ?X: float, - [] ?Y: float, - [] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = fun (cameraUp: CameraUp) -> @@ -86,10 +86,10 @@ type CameraUp() = type CameraProjection() = inherit DynamicObj() - static member init([] ?ProjectionType: StyleParam.CameraProjectionType) = + static member init(?ProjectionType: StyleParam.CameraProjectionType) = CameraProjection() |> CameraProjection.style (?ProjectionType = ProjectionType) - static member style([] ?ProjectionType: StyleParam.CameraProjectionType) = + static member style(?ProjectionType: StyleParam.CameraProjectionType) = fun (cameraProjection: CameraProjection) -> @@ -102,19 +102,19 @@ type Camera() = static member init ( - [] ?Center: CameraCenter, - [] ?Eye: CameraEye, - [] ?Projection: CameraProjection, - [] ?Up: CameraUp + ?Center: CameraCenter, + ?Eye: CameraEye, + ?Projection: CameraProjection, + ?Up: CameraUp ) = Camera() |> Camera.style (?Center = Center, ?Eye = Eye, ?Projection = Projection, ?Up = Up) static member style ( - [] ?Center: CameraCenter, - [] ?Eye: CameraEye, - [] ?Projection: CameraProjection, - [] ?Up: CameraUp + ?Center: CameraCenter, + ?Eye: CameraEye, + ?Projection: CameraProjection, + ?Up: CameraUp ) = fun (camera: Camera) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/3D/Scene.fs b/src/Plotly.NET/Layout/ObjectAbstractions/3D/Scene.fs index d4b995baf..24f684612 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/3D/Scene.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/3D/Scene.fs @@ -27,18 +27,18 @@ type Scene() = /// Sets this scene's zaxis static member init ( - [] ?Annotations: seq, - [] ?AspectMode: StyleParam.AspectMode, - [] ?AspectRatio: AspectRatio, - [] ?BGColor: Color, - [] ?Camera: Camera, - [] ?Domain: Domain, - [] ?DragMode: StyleParam.DragMode, - [] ?HoverMode: StyleParam.HoverMode, - [] ?UIRevision: string, - [] ?XAxis: LinearAxis, - [] ?YAxis: LinearAxis, - [] ?ZAxis: LinearAxis + ?Annotations: seq, + ?AspectMode: StyleParam.AspectMode, + ?AspectRatio: AspectRatio, + ?BGColor: Color, + ?Camera: Camera, + ?Domain: Domain, + ?DragMode: StyleParam.DragMode, + ?HoverMode: StyleParam.HoverMode, + ?UIRevision: string, + ?XAxis: LinearAxis, + ?YAxis: LinearAxis, + ?ZAxis: LinearAxis ) = Scene() |> Scene.style ( @@ -73,18 +73,18 @@ type Scene() = /// Sets this scene's zaxis static member style ( - [] ?Annotations: seq, - [] ?AspectMode: StyleParam.AspectMode, - [] ?AspectRatio: AspectRatio, - [] ?BGColor: Color, - [] ?Camera: Camera, - [] ?Domain: Domain, - [] ?DragMode: StyleParam.DragMode, - [] ?HoverMode: StyleParam.HoverMode, - [] ?UIRevision: string, - [] ?XAxis: LinearAxis, - [] ?YAxis: LinearAxis, - [] ?ZAxis: LinearAxis + ?Annotations: seq, + ?AspectMode: StyleParam.AspectMode, + ?AspectRatio: AspectRatio, + ?BGColor: Color, + ?Camera: Camera, + ?Domain: Domain, + ?DragMode: StyleParam.DragMode, + ?HoverMode: StyleParam.HoverMode, + ?UIRevision: string, + ?XAxis: LinearAxis, + ?YAxis: LinearAxis, + ?ZAxis: LinearAxis ) = fun (scene: Scene) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/ActiveSelection.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/ActiveSelection.fs index e07f9093a..85691189d 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/ActiveSelection.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/ActiveSelection.fs @@ -10,15 +10,15 @@ type ActiveSelection() = static member init ( - [] ?FillColor: Color, - [] ?Opacity: float + ?FillColor: Color, + ?Opacity: float ) = ActiveSelection() |> ActiveSelection.style (?FillColor = FillColor, ?Opacity = Opacity) static member style ( - [] ?FillColor: Color, - [] ?Opacity: float + ?FillColor: Color, + ?Opacity: float ) = (fun (activeSelection: ActiveSelection) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/ActiveShape.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/ActiveShape.fs index 4cfea8893..16f787fcb 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/ActiveShape.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/ActiveShape.fs @@ -10,15 +10,15 @@ type ActiveShape() = static member init ( - [] ?FillColor: Color, - [] ?Opacity: float + ?FillColor: Color, + ?Opacity: float ) = ActiveShape() |> ActiveShape.style (?FillColor = FillColor, ?Opacity = Opacity) static member style ( - [] ?FillColor: Color, - [] ?Opacity: float + ?FillColor: Color, + ?Opacity: float ) = (fun (activeShape: ActiveShape) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Annotation.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Annotation.fs index 3f70d102e..ac231ce6e 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Annotation.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Annotation.fs @@ -12,48 +12,48 @@ type Annotation() = /// Init Annotation type static member init ( - [] ?X: #IConvertible, - [] ?Y: #IConvertible, - [] ?Align: StyleParam.AnnotationAlignment, - [] ?ArrowColor: Color, - [] ?ArrowHead: StyleParam.ArrowHead, - [] ?ArrowSide: StyleParam.ArrowSide, - [] ?ArrowSize: float, - [] ?AX: #IConvertible, - [] ?AXRef: #IConvertible, - [] ?AY: #IConvertible, - [] ?AYRef: #IConvertible, - [] ?BGColor: Color, - [] ?BorderColor: Color, - [] ?BorderPad: int, - [] ?BorderWidth: int, - [] ?CaptureEvents: bool, - [] ?ClickToShow: StyleParam.ClickToShow, - [] ?Font: Font, - [] ?Height: int, - [] ?HoverLabel: Hoverlabel, - [] ?HoverText: string, - [] ?Name: string, - [] ?Opacity: float, - [] ?ShowArrow: bool, - [] ?StandOff: int, - [] ?StartArrowHead: int, - [] ?StartArrowSize: float, - [] ?StartStandOff: int, - [] ?TemplateItemName: string, - [] ?Text: string, - [] ?TextAngle: float, - [] ?VAlign: StyleParam.VerticalAlign, - [] ?Visible: bool, - [] ?Width: int, - [] ?XAnchor: StyleParam.XAnchorPosition, - [] ?XClick: #IConvertible, - [] ?XRef: #IConvertible, - [] ?XShift: int, - [] ?YAnchor: StyleParam.YAnchorPosition, - [] ?YClick: #IConvertible, - [] ?YRef: #IConvertible, - [] ?YShift: int + ?X: #IConvertible, + ?Y: #IConvertible, + ?Align: StyleParam.AnnotationAlignment, + ?ArrowColor: Color, + ?ArrowHead: StyleParam.ArrowHead, + ?ArrowSide: StyleParam.ArrowSide, + ?ArrowSize: float, + ?AX: #IConvertible, + ?AXRef: #IConvertible, + ?AY: #IConvertible, + ?AYRef: #IConvertible, + ?BGColor: Color, + ?BorderColor: Color, + ?BorderPad: int, + ?BorderWidth: int, + ?CaptureEvents: bool, + ?ClickToShow: StyleParam.ClickToShow, + ?Font: Font, + ?Height: int, + ?HoverLabel: Hoverlabel, + ?HoverText: string, + ?Name: string, + ?Opacity: float, + ?ShowArrow: bool, + ?StandOff: int, + ?StartArrowHead: int, + ?StartArrowSize: float, + ?StartStandOff: int, + ?TemplateItemName: string, + ?Text: string, + ?TextAngle: float, + ?VAlign: StyleParam.VerticalAlign, + ?Visible: bool, + ?Width: int, + ?XAnchor: StyleParam.XAnchorPosition, + ?XClick: #IConvertible, + ?XRef: #IConvertible, + ?XShift: int, + ?YAnchor: StyleParam.YAnchorPosition, + ?YClick: #IConvertible, + ?YRef: #IConvertible, + ?YShift: int ) = Annotation() |> Annotation.style ( @@ -103,48 +103,48 @@ type Annotation() = static member style ( - [] ?X: #IConvertible, - [] ?Y: #IConvertible, - [] ?Align: StyleParam.AnnotationAlignment, - [] ?ArrowColor: Color, - [] ?ArrowHead: StyleParam.ArrowHead, - [] ?ArrowSide: StyleParam.ArrowSide, - [] ?ArrowSize: float, - [] ?AX: #IConvertible, - [] ?AXRef: #IConvertible, - [] ?AY: #IConvertible, - [] ?AYRef: #IConvertible, - [] ?BGColor: Color, - [] ?BorderColor: Color, - [] ?BorderPad: int, - [] ?BorderWidth: int, - [] ?CaptureEvents: bool, - [] ?ClickToShow: StyleParam.ClickToShow, - [] ?Font: Font, - [] ?Height: int, - [] ?HoverLabel: Hoverlabel, - [] ?HoverText: string, - [] ?Name: string, - [] ?Opacity: float, - [] ?ShowArrow: bool, - [] ?StandOff: int, - [] ?StartArrowHead: int, - [] ?StartArrowSize: float, - [] ?StartStandOff: int, - [] ?TemplateItemName: string, - [] ?Text: string, - [] ?TextAngle: float, - [] ?VAlign: StyleParam.VerticalAlign, - [] ?Visible: bool, - [] ?Width: int, - [] ?XAnchor: StyleParam.XAnchorPosition, - [] ?XClick: #IConvertible, - [] ?XRef: #IConvertible, - [] ?XShift: int, - [] ?YAnchor: StyleParam.YAnchorPosition, - [] ?YClick: #IConvertible, - [] ?YRef: #IConvertible, - [] ?YShift: int + ?X: #IConvertible, + ?Y: #IConvertible, + ?Align: StyleParam.AnnotationAlignment, + ?ArrowColor: Color, + ?ArrowHead: StyleParam.ArrowHead, + ?ArrowSide: StyleParam.ArrowSide, + ?ArrowSize: float, + ?AX: #IConvertible, + ?AXRef: #IConvertible, + ?AY: #IConvertible, + ?AYRef: #IConvertible, + ?BGColor: Color, + ?BorderColor: Color, + ?BorderPad: int, + ?BorderWidth: int, + ?CaptureEvents: bool, + ?ClickToShow: StyleParam.ClickToShow, + ?Font: Font, + ?Height: int, + ?HoverLabel: Hoverlabel, + ?HoverText: string, + ?Name: string, + ?Opacity: float, + ?ShowArrow: bool, + ?StandOff: int, + ?StartArrowHead: int, + ?StartArrowSize: float, + ?StartStandOff: int, + ?TemplateItemName: string, + ?Text: string, + ?TextAngle: float, + ?VAlign: StyleParam.VerticalAlign, + ?Visible: bool, + ?Width: int, + ?XAnchor: StyleParam.XAnchorPosition, + ?XClick: #IConvertible, + ?XRef: #IConvertible, + ?XShift: int, + ?YAnchor: StyleParam.YAnchorPosition, + ?YClick: #IConvertible, + ?YRef: #IConvertible, + ?YShift: int ) = (fun (ann: Annotation) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Button.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Button.fs index 2d2e03492..a352af6ee 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Button.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Button.fs @@ -11,13 +11,13 @@ type Button() = static member init ( - [] ?Visible: bool, - [] ?Step: StyleParam.TimeStep, - [] ?StepMode: StyleParam.TimeStepMode, - [] ?Count: int, - [] ?Label: string, - [] ?Name: string, - [] ?TemplateItemName: string + ?Visible: bool, + ?Step: StyleParam.TimeStep, + ?StepMode: StyleParam.TimeStepMode, + ?Count: int, + ?Label: string, + ?Name: string, + ?TemplateItemName: string ) = Button() |> Button.style ( @@ -32,13 +32,13 @@ type Button() = static member style ( - [] ?Visible: bool, - [] ?Step: StyleParam.TimeStep, - [] ?StepMode: StyleParam.TimeStepMode, - [] ?Count: int, - [] ?Label: string, - [] ?Name: string, - [] ?TemplateItemName: string + ?Visible: bool, + ?Step: StyleParam.TimeStep, + ?StepMode: StyleParam.TimeStepMode, + ?Count: int, + ?Label: string, + ?Name: string, + ?TemplateItemName: string ) = (fun (button: Button) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/ColorAxis.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/ColorAxis.fs index 807a82641..e0663c22e 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/ColorAxis.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/ColorAxis.fs @@ -22,15 +22,15 @@ type ColorAxis() = /// Determines whether or not a colorbar is displayed for this trace. static member init ( - [] ?AutoColorScale: bool, - [] ?CAuto: float, - [] ?CMin: float, - [] ?CMid: float, - [] ?CMax: float, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool + ?AutoColorScale: bool, + ?CAuto: float, + ?CMin: float, + ?CMid: float, + ?CMax: float, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool ) = ColorAxis() @@ -60,15 +60,15 @@ type ColorAxis() = /// Determines whether or not a colorbar is displayed for this trace. static member style ( - [] ?AutoColorScale: bool, - [] ?CAuto: float, - [] ?CMin: float, - [] ?CMid: float, - [] ?CMax: float, - [] ?ColorBar: ColorBar, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool + ?AutoColorScale: bool, + ?CAuto: float, + ?CMin: float, + ?CMid: float, + ?CMax: float, + ?ColorBar: ColorBar, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool ) = fun (ca: ColorAxis) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/DefaultColorScales.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/DefaultColorScales.fs index b1fee0e6a..1bc4ee028 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/DefaultColorScales.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/DefaultColorScales.fs @@ -10,9 +10,9 @@ type DefaultColorScales() = static member init ( - [] ?Diverging: StyleParam.Colorscale, - [] ?Sequential: StyleParam.Colorscale, - [] ?SequentialMinus: StyleParam.Colorscale + ?Diverging: StyleParam.Colorscale, + ?Sequential: StyleParam.Colorscale, + ?SequentialMinus: StyleParam.Colorscale ) = DefaultColorScales() |> DefaultColorScales.style ( @@ -23,9 +23,9 @@ type DefaultColorScales() = static member style ( - [] ?Diverging: StyleParam.Colorscale, - [] ?Sequential: StyleParam.Colorscale, - [] ?SequentialMinus: StyleParam.Colorscale + ?Diverging: StyleParam.Colorscale, + ?Sequential: StyleParam.Colorscale, + ?SequentialMinus: StyleParam.Colorscale ) = (fun (defaultColorScales: DefaultColorScales) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Domain.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Domain.fs index 442604933..6eb5a53a2 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Domain.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Domain.fs @@ -12,10 +12,10 @@ type Domain() = /// Initialized Dimensions object static member init ( - [] ?X: StyleParam.Range, - [] ?Y: StyleParam.Range, - [] ?Row: int, - [] ?Column: int + ?X: StyleParam.Range, + ?Y: StyleParam.Range, + ?Row: int, + ?Column: int ) = Domain() |> Domain.style (?X = X, ?Y = Y, ?Row = Row, ?Column = Column) @@ -23,10 +23,10 @@ type Domain() = // Applies the styles to Dimensions() static member style ( - [] ?X: StyleParam.Range, - [] ?Y: StyleParam.Range, - [] ?Row: int, - [] ?Column: int + ?X: StyleParam.Range, + ?Y: StyleParam.Range, + ?Row: int, + ?Column: int ) = (fun (dom: Domain) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Hoverlabel.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Hoverlabel.fs index 65b7e52ef..47af74d08 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Hoverlabel.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Hoverlabel.fs @@ -20,12 +20,12 @@ type Hoverlabel() = /// Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. static member init ( - [] ?Align: StyleParam.Align, - [] ?BgColor: Color, - [] ?BorderColor: Color, - [] ?Font: Font, - [] ?GroupTitleFont: Font, - [] ?Namelength: int + ?Align: StyleParam.Align, + ?BgColor: Color, + ?BorderColor: Color, + ?Font: Font, + ?GroupTitleFont: Font, + ?Namelength: int ) = Hoverlabel() |> Hoverlabel.style ( @@ -49,12 +49,12 @@ type Hoverlabel() = /// Sets the default length (in number of characters) of the trace name in the hover labels for all traces. -1 shows the whole name regardless of length. 0-3 shows the first 0-3 characters, and an integer >3 will show the whole name if it is less than that many characters, but if it is longer, will truncate to `namelength - 3` characters and add an ellipsis. static member style ( - [] ?BgColor: Color, - [] ?BorderColor: Color, - [] ?Font: Font, - [] ?GroupTitleFont: Font, - [] ?Align: StyleParam.Align, - [] ?Namelength: int + ?BgColor: Color, + ?BorderColor: Color, + ?Font: Font, + ?GroupTitleFont: Font, + ?Align: StyleParam.Align, + ?Namelength: int ) = (fun (label: Hoverlabel) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/LayoutGrid.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/LayoutGrid.fs index 7105c6411..b1a6c5c3c 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/LayoutGrid.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/LayoutGrid.fs @@ -25,18 +25,18 @@ type LayoutGrid() = static member init ( - [] ?Rows: int, - [] ?Columns: int, - [] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [] ?XAxes: StyleParam.LinearAxisId[], - [] ?YAxes: StyleParam.LinearAxisId[], - [] ?RowOrder: StyleParam.LayoutGridRowOrder, - [] ?Pattern: StyleParam.LayoutGridPattern, - [] ?XGap: float, - [] ?YGap: float, - [] ?Domain: Domain, - [] ?XSide: StyleParam.LayoutGridXSide, - [] ?YSide: StyleParam.LayoutGridYSide + ?Rows: int, + ?Columns: int, + ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], + ?XAxes: StyleParam.LinearAxisId[], + ?YAxes: StyleParam.LinearAxisId[], + ?RowOrder: StyleParam.LayoutGridRowOrder, + ?Pattern: StyleParam.LayoutGridPattern, + ?XGap: float, + ?YGap: float, + ?Domain: Domain, + ?XSide: StyleParam.LayoutGridXSide, + ?YSide: StyleParam.LayoutGridYSide ) = LayoutGrid() |> LayoutGrid.style ( @@ -71,18 +71,18 @@ type LayoutGrid() = static member style ( - [] ?Rows: int, - [] ?Columns: int, - [] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [] ?XAxes: StyleParam.LinearAxisId[], - [] ?YAxes: StyleParam.LinearAxisId[], - [] ?RowOrder: StyleParam.LayoutGridRowOrder, - [] ?Pattern: StyleParam.LayoutGridPattern, - [] ?XGap: float, - [] ?YGap: float, - [] ?Domain: Domain, - [] ?XSide: StyleParam.LayoutGridXSide, - [] ?YSide: StyleParam.LayoutGridYSide + ?Rows: int, + ?Columns: int, + ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], + ?XAxes: StyleParam.LinearAxisId[], + ?YAxes: StyleParam.LinearAxisId[], + ?RowOrder: StyleParam.LayoutGridRowOrder, + ?Pattern: StyleParam.LayoutGridPattern, + ?XGap: float, + ?YGap: float, + ?Domain: Domain, + ?XSide: StyleParam.LayoutGridXSide, + ?YSide: StyleParam.LayoutGridYSide ) = (fun (layoutGrid: LayoutGrid) -> layoutGrid diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/LayoutImage.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/LayoutImage.fs index 1e3d70e88..a8b216ef9 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/LayoutImage.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/LayoutImage.fs @@ -11,21 +11,21 @@ type LayoutImage() = static member init ( - [] ?Layer: StyleParam.Layer, - [] ?Name: string, - [] ?Opacity: float, - [] ?SizeX: int, - [] ?SizeY: int, - [] ?Sizing: StyleParam.LayoutImageSizing, - [] ?Source: string, - [] ?TemplateItemname: string, - [] ?Visible: bool, - [] ?X: #IConvertible, - [] ?XAnchor: StyleParam.XAnchorPosition, - [] ?XRef: string, - [] ?Y: #IConvertible, - [] ?YAnchor: StyleParam.YAnchorPosition, - [] ?YRef: string + ?Layer: StyleParam.Layer, + ?Name: string, + ?Opacity: float, + ?SizeX: int, + ?SizeY: int, + ?Sizing: StyleParam.LayoutImageSizing, + ?Source: string, + ?TemplateItemname: string, + ?Visible: bool, + ?X: #IConvertible, + ?XAnchor: StyleParam.XAnchorPosition, + ?XRef: string, + ?Y: #IConvertible, + ?YAnchor: StyleParam.YAnchorPosition, + ?YRef: string ) = LayoutImage() |> LayoutImage.style ( @@ -48,21 +48,21 @@ type LayoutImage() = static member style ( - [] ?Layer: StyleParam.Layer, - [] ?Name: string, - [] ?Opacity: float, - [] ?SizeX: int, - [] ?SizeY: int, - [] ?Sizing: StyleParam.LayoutImageSizing, - [] ?Source: string, - [] ?TemplateItemname: string, - [] ?Visible: bool, - [] ?X: #IConvertible, - [] ?XAnchor: StyleParam.XAnchorPosition, - [] ?XRef: string, - [] ?Y: #IConvertible, - [] ?YAnchor: StyleParam.YAnchorPosition, - [] ?YRef: string + ?Layer: StyleParam.Layer, + ?Name: string, + ?Opacity: float, + ?SizeX: int, + ?SizeY: int, + ?Sizing: StyleParam.LayoutImageSizing, + ?Source: string, + ?TemplateItemname: string, + ?Visible: bool, + ?X: #IConvertible, + ?XAnchor: StyleParam.XAnchorPosition, + ?XRef: string, + ?Y: #IConvertible, + ?YAnchor: StyleParam.YAnchorPosition, + ?YRef: string ) = (fun (layoutImage: LayoutImage) -> layoutImage diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Legend.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Legend.fs index 4d833806d..eeb26a6ec 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Legend.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Legend.fs @@ -39,31 +39,31 @@ type Legend() = /// Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only. static member init ( - [] ?BGColor: Color, - [] ?BorderColor: Color, - [] ?BorderWidth: float, - [] ?EntryWidth: float, - [] ?EntryWidthMode: StyleParam.EntryWidthMode, - [] ?Font: Font, - [] ?GroupClick: StyleParam.TraceGroupClickOptions, - [] ?GroupTitleFont: Font, - [] ?ItemClick: StyleParam.TraceItemClickOptions, - [] ?ItemDoubleClick: StyleParam.TraceItemClickOptions, - [] ?ItemSizing: StyleParam.TraceItemSizing, - [] ?ItemWidth: int, - [] ?Orientation: StyleParam.Orientation, - [] ?Title: Title, - [] ?TraceGroupGap: float, - [] ?TraceOrder: StyleParam.TraceOrder, - [] ?UIRevision: string, - [] ?VerticalAlign: StyleParam.VerticalAlign, - [] ?Visible: bool, - [] ?X: float, - [] ?XAnchor: StyleParam.XAnchorPosition, - [] ?XRef: string, - [] ?Y: float, - [] ?YAnchor: StyleParam.YAnchorPosition, - [] ?YRef: string + ?BGColor: Color, + ?BorderColor: Color, + ?BorderWidth: float, + ?EntryWidth: float, + ?EntryWidthMode: StyleParam.EntryWidthMode, + ?Font: Font, + ?GroupClick: StyleParam.TraceGroupClickOptions, + ?GroupTitleFont: Font, + ?ItemClick: StyleParam.TraceItemClickOptions, + ?ItemDoubleClick: StyleParam.TraceItemClickOptions, + ?ItemSizing: StyleParam.TraceItemSizing, + ?ItemWidth: int, + ?Orientation: StyleParam.Orientation, + ?Title: Title, + ?TraceGroupGap: float, + ?TraceOrder: StyleParam.TraceOrder, + ?UIRevision: string, + ?VerticalAlign: StyleParam.VerticalAlign, + ?Visible: bool, + ?X: float, + ?XAnchor: StyleParam.XAnchorPosition, + ?XRef: string, + ?Y: float, + ?YAnchor: StyleParam.YAnchorPosition, + ?YRef: string ) = Legend() |> Legend.style ( @@ -124,31 +124,31 @@ type Legend() = /// Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only. static member style ( - [] ?BGColor: Color, - [] ?BorderColor: Color, - [] ?BorderWidth: float, - [] ?EntryWidth: float, - [] ?EntryWidthMode: StyleParam.EntryWidthMode, - [] ?Font: Font, - [] ?GroupClick: StyleParam.TraceGroupClickOptions, - [] ?GroupTitleFont: Font, - [] ?ItemClick: StyleParam.TraceItemClickOptions, - [] ?ItemDoubleClick: StyleParam.TraceItemClickOptions, - [] ?ItemSizing: StyleParam.TraceItemSizing, - [] ?ItemWidth: int, - [] ?Orientation: StyleParam.Orientation, - [] ?Title: Title, - [] ?TraceGroupGap: float, - [] ?TraceOrder: StyleParam.TraceOrder, - [] ?UIRevision: string, - [] ?VerticalAlign: StyleParam.VerticalAlign, - [] ?Visible: bool, - [] ?X: float, - [] ?XAnchor: StyleParam.XAnchorPosition, - [] ?XRef: string, - [] ?Y: float, - [] ?YAnchor: StyleParam.YAnchorPosition, - [] ?YRef: string + ?BGColor: Color, + ?BorderColor: Color, + ?BorderWidth: float, + ?EntryWidth: float, + ?EntryWidthMode: StyleParam.EntryWidthMode, + ?Font: Font, + ?GroupClick: StyleParam.TraceGroupClickOptions, + ?GroupTitleFont: Font, + ?ItemClick: StyleParam.TraceItemClickOptions, + ?ItemDoubleClick: StyleParam.TraceItemClickOptions, + ?ItemSizing: StyleParam.TraceItemSizing, + ?ItemWidth: int, + ?Orientation: StyleParam.Orientation, + ?Title: Title, + ?TraceGroupGap: float, + ?TraceOrder: StyleParam.TraceOrder, + ?UIRevision: string, + ?VerticalAlign: StyleParam.VerticalAlign, + ?Visible: bool, + ?X: float, + ?XAnchor: StyleParam.XAnchorPosition, + ?XRef: string, + ?Y: float, + ?YAnchor: StyleParam.YAnchorPosition, + ?YRef: string ) = (fun (legend: Legend) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/LinearAxis.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/LinearAxis.fs index 22cc39332..1caa2f929 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/LinearAxis.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/LinearAxis.fs @@ -101,93 +101,93 @@ type LinearAxis() = /// Sets whether or not this axis' wall has a background color. (Only has an effect on 3D scenes) static member init ( - [] ?Visible: bool, - [] ?Color: Color, - [] ?Title: Title, - [] ?AxisType: StyleParam.AxisType, - [] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [] ?AutoRange: StyleParam.AutoRange, - [] ?AutoRangeOptions: AutoRangeOptions, - [] ?AutoShift: bool, - [] ?RangeMode: StyleParam.RangeMode, - [] ?Range: StyleParam.Range, - [] ?FixedRange: bool, - [] ?ScaleAnchor: StyleParam.ScaleAnchor, - [] ?ScaleRatio: float, - [] ?Constrain: StyleParam.AxisConstraint, - [] ?ConstrainToward: StyleParam.AxisConstraintDirection, - [] ?Matches: StyleParam.LinearAxisId, - [] ?MaxAllowed: #IConvertible, - [] ?MinAllowed: #IConvertible, - [] ?Rangebreaks: seq, - [] ?TickMode: StyleParam.TickMode, - [] ?NTicks: int, - [] ?Tick0: #IConvertible, - [] ?DTick: #IConvertible, - [] ?TickVals: seq<#IConvertible>, - [] ?TickText: seq<#IConvertible>, - [] ?Ticks: StyleParam.TickOptions, - [] ?TicksOn: StyleParam.CategoryTickAnchor, - [] ?TickLabelMode: StyleParam.TickLabelMode, - [] ?TickLabelPosition: StyleParam.TickLabelPosition, - [] ?TickLabelStep: int, - [] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [] ?Mirror: StyleParam.Mirror, - [] ?TickLen: int, - [] ?TickWidth: int, - [] ?TickColor: Color, - [] ?ShowTickLabels: bool, - [] ?AutoMargin: StyleParam.TickAutoMargin, - [] ?ShowSpikes: bool, - [] ?SpikeColor: Color, - [] ?SpikeThickness: int, - [] ?SpikeDash: StyleParam.DrawingStyle, - [] ?SpikeMode: StyleParam.SpikeMode, - [] ?SpikeSnap: StyleParam.SpikeSnap, - [] ?TickFont: Font, - [] ?TickAngle: int, - [] ?ShowTickPrefix: StyleParam.ShowTickOption, - [] ?TickPrefix: string, - [] ?ShowTickSuffix: StyleParam.ShowTickOption, - [] ?TickSuffix: string, - [] ?ShowExponent: StyleParam.ShowExponent, - [] ?ExponentFormat: StyleParam.ExponentFormat, - [] ?MinExponent: float, - [] ?Minor: Minor, - [] ?SeparateThousands: bool, - [] ?TickFormat: string, - [] ?TickFormatStops: seq, - [] ?HoverFormat: string, - [] ?InsideRange: StyleParam.Range, - [] ?ShowLine: bool, - [] ?LineColor: Color, - [] ?LineWidth: float, - [] ?ShowGrid: bool, - [] ?GridColor: Color, - [] ?GridDash: StyleParam.DrawingStyle, - [] ?GridWidth: float, - [] ?ZeroLine: bool, - [] ?ZeroLineColor: Color, - [] ?ZeroLineWidth: float, - [] ?Shift: int, - [] ?ShowDividers: bool, - [] ?DividerColor: Color, - [] ?DividerWidth: int, - [] ?Anchor: StyleParam.LinearAxisId, - [] ?Side: StyleParam.Side, - [] ?Overlaying: StyleParam.LinearAxisId, - [] ?LabelAlias: DynamicObj, - [] ?Layer: StyleParam.Layer, - [] ?Domain: StyleParam.Range, - [] ?Position: float, - [] ?CategoryOrder: StyleParam.CategoryOrder, - [] ?CategoryArray: seq<#IConvertible>, - [] ?UIRevision: #IConvertible, - [] ?RangeSlider: RangeSlider, - [] ?RangeSelector: RangeSelector, - [] ?Calendar: StyleParam.Calendar, - [] ?BackgroundColor: Color, - [] ?ShowBackground: bool + ?Visible: bool, + ?Color: Color, + ?Title: Title, + ?AxisType: StyleParam.AxisType, + ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, + ?AutoRange: StyleParam.AutoRange, + ?AutoRangeOptions: AutoRangeOptions, + ?AutoShift: bool, + ?RangeMode: StyleParam.RangeMode, + ?Range: StyleParam.Range, + ?FixedRange: bool, + ?ScaleAnchor: StyleParam.ScaleAnchor, + ?ScaleRatio: float, + ?Constrain: StyleParam.AxisConstraint, + ?ConstrainToward: StyleParam.AxisConstraintDirection, + ?Matches: StyleParam.LinearAxisId, + ?MaxAllowed: #IConvertible, + ?MinAllowed: #IConvertible, + ?Rangebreaks: seq, + ?TickMode: StyleParam.TickMode, + ?NTicks: int, + ?Tick0: #IConvertible, + ?DTick: #IConvertible, + ?TickVals: seq<#IConvertible>, + ?TickText: seq<#IConvertible>, + ?Ticks: StyleParam.TickOptions, + ?TicksOn: StyleParam.CategoryTickAnchor, + ?TickLabelMode: StyleParam.TickLabelMode, + ?TickLabelPosition: StyleParam.TickLabelPosition, + ?TickLabelStep: int, + ?TickLabelOverflow: StyleParam.TickLabelOverflow, + ?Mirror: StyleParam.Mirror, + ?TickLen: int, + ?TickWidth: int, + ?TickColor: Color, + ?ShowTickLabels: bool, + ?AutoMargin: StyleParam.TickAutoMargin, + ?ShowSpikes: bool, + ?SpikeColor: Color, + ?SpikeThickness: int, + ?SpikeDash: StyleParam.DrawingStyle, + ?SpikeMode: StyleParam.SpikeMode, + ?SpikeSnap: StyleParam.SpikeSnap, + ?TickFont: Font, + ?TickAngle: int, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?TickPrefix: string, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?TickSuffix: string, + ?ShowExponent: StyleParam.ShowExponent, + ?ExponentFormat: StyleParam.ExponentFormat, + ?MinExponent: float, + ?Minor: Minor, + ?SeparateThousands: bool, + ?TickFormat: string, + ?TickFormatStops: seq, + ?HoverFormat: string, + ?InsideRange: StyleParam.Range, + ?ShowLine: bool, + ?LineColor: Color, + ?LineWidth: float, + ?ShowGrid: bool, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: float, + ?ZeroLine: bool, + ?ZeroLineColor: Color, + ?ZeroLineWidth: float, + ?Shift: int, + ?ShowDividers: bool, + ?DividerColor: Color, + ?DividerWidth: int, + ?Anchor: StyleParam.LinearAxisId, + ?Side: StyleParam.Side, + ?Overlaying: StyleParam.LinearAxisId, + ?LabelAlias: DynamicObj, + ?Layer: StyleParam.Layer, + ?Domain: StyleParam.Range, + ?Position: float, + ?CategoryOrder: StyleParam.CategoryOrder, + ?CategoryArray: seq<#IConvertible>, + ?UIRevision: #IConvertible, + ?RangeSlider: RangeSlider, + ?RangeSelector: RangeSelector, + ?Calendar: StyleParam.Calendar, + ?BackgroundColor: Color, + ?ShowBackground: bool ) = LinearAxis() |> LinearAxis.style ( @@ -365,84 +365,84 @@ type LinearAxis() = static member initCategorical ( categoryOrder: StyleParam.CategoryOrder, - [] ?Visible: bool, - [] ?Color: Color, - [] ?Title: Title, - [] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [] ?AutoRange: StyleParam.AutoRange, - [] ?AutoShift: bool, - [] ?RangeMode: StyleParam.RangeMode, - [] ?Range: StyleParam.Range, - [] ?FixedRange: bool, - [] ?ScaleAnchor: StyleParam.ScaleAnchor, - [] ?ScaleRatio: float, - [] ?Constrain: StyleParam.AxisConstraint, - [] ?ConstrainToward: StyleParam.AxisConstraintDirection, - [] ?Matches: StyleParam.LinearAxisId, - [] ?Rangebreaks: seq, - [] ?TickMode: StyleParam.TickMode, - [] ?NTicks: int, - [] ?Tick0: #IConvertible, - [] ?DTick: #IConvertible, - [] ?TickVals: seq<#IConvertible>, - [] ?TickText: seq<#IConvertible>, - [] ?Ticks: StyleParam.TickOptions, - [] ?TicksOn: StyleParam.CategoryTickAnchor, - [] ?TickLabelMode: StyleParam.TickLabelMode, - [] ?TickLabelPosition: StyleParam.TickLabelPosition, - [] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [] ?Mirror: StyleParam.Mirror, - [] ?TickLen: int, - [] ?TickWidth: int, - [] ?TickColor: Color, - [] ?ShowTickLabels: bool, - [] ?AutoMargin: StyleParam.TickAutoMargin, - [] ?ShowSpikes: bool, - [] ?SpikeColor: Color, - [] ?SpikeThickness: int, - [] ?SpikeDash: StyleParam.DrawingStyle, - [] ?SpikeMode: StyleParam.SpikeMode, - [] ?SpikeSnap: StyleParam.SpikeSnap, - [] ?TickFont: Font, - [] ?TickAngle: int, - [] ?ShowTickPrefix: StyleParam.ShowTickOption, - [] ?TickPrefix: string, - [] ?ShowTickSuffix: StyleParam.ShowTickOption, - [] ?TickSuffix: string, - [] ?ShowExponent: StyleParam.ShowExponent, - [] ?ExponentFormat: StyleParam.ExponentFormat, - [] ?MinExponent: float, - [] ?Minor: Minor, - [] ?SeparateThousands: bool, - [] ?TickFormat: string, - [] ?TickFormatStops: seq, - [] ?HoverFormat: string, - [] ?ShowLine: bool, - [] ?LineColor: Color, - [] ?LineWidth: float, - [] ?ShowGrid: bool, - [] ?GridColor: Color, - [] ?GridDash: StyleParam.DrawingStyle, - [] ?GridWidth: float, - [] ?ZeroLine: bool, - [] ?ZeroLineColor: Color, - [] ?ZeroLineWidth: float, - [] ?Shift: int, - [] ?ShowDividers: bool, - [] ?DividerColor: Color, - [] ?DividerWidth: int, - [] ?Anchor: StyleParam.LinearAxisId, - [] ?Side: StyleParam.Side, - [] ?Overlaying: StyleParam.LinearAxisId, - [] ?LabelAlias: DynamicObj, - [] ?Layer: StyleParam.Layer, - [] ?Domain: StyleParam.Range, - [] ?Position: float, - [] ?CategoryArray: seq<#IConvertible>, - [] ?UIRevision: #IConvertible, - [] ?RangeSlider: RangeSlider, - [] ?RangeSelector: RangeSelector, - [] ?Calendar: StyleParam.Calendar + ?Visible: bool, + ?Color: Color, + ?Title: Title, + ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, + ?AutoRange: StyleParam.AutoRange, + ?AutoShift: bool, + ?RangeMode: StyleParam.RangeMode, + ?Range: StyleParam.Range, + ?FixedRange: bool, + ?ScaleAnchor: StyleParam.ScaleAnchor, + ?ScaleRatio: float, + ?Constrain: StyleParam.AxisConstraint, + ?ConstrainToward: StyleParam.AxisConstraintDirection, + ?Matches: StyleParam.LinearAxisId, + ?Rangebreaks: seq, + ?TickMode: StyleParam.TickMode, + ?NTicks: int, + ?Tick0: #IConvertible, + ?DTick: #IConvertible, + ?TickVals: seq<#IConvertible>, + ?TickText: seq<#IConvertible>, + ?Ticks: StyleParam.TickOptions, + ?TicksOn: StyleParam.CategoryTickAnchor, + ?TickLabelMode: StyleParam.TickLabelMode, + ?TickLabelPosition: StyleParam.TickLabelPosition, + ?TickLabelOverflow: StyleParam.TickLabelOverflow, + ?Mirror: StyleParam.Mirror, + ?TickLen: int, + ?TickWidth: int, + ?TickColor: Color, + ?ShowTickLabels: bool, + ?AutoMargin: StyleParam.TickAutoMargin, + ?ShowSpikes: bool, + ?SpikeColor: Color, + ?SpikeThickness: int, + ?SpikeDash: StyleParam.DrawingStyle, + ?SpikeMode: StyleParam.SpikeMode, + ?SpikeSnap: StyleParam.SpikeSnap, + ?TickFont: Font, + ?TickAngle: int, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?TickPrefix: string, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?TickSuffix: string, + ?ShowExponent: StyleParam.ShowExponent, + ?ExponentFormat: StyleParam.ExponentFormat, + ?MinExponent: float, + ?Minor: Minor, + ?SeparateThousands: bool, + ?TickFormat: string, + ?TickFormatStops: seq, + ?HoverFormat: string, + ?ShowLine: bool, + ?LineColor: Color, + ?LineWidth: float, + ?ShowGrid: bool, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: float, + ?ZeroLine: bool, + ?ZeroLineColor: Color, + ?ZeroLineWidth: float, + ?Shift: int, + ?ShowDividers: bool, + ?DividerColor: Color, + ?DividerWidth: int, + ?Anchor: StyleParam.LinearAxisId, + ?Side: StyleParam.Side, + ?Overlaying: StyleParam.LinearAxisId, + ?LabelAlias: DynamicObj, + ?Layer: StyleParam.Layer, + ?Domain: StyleParam.Range, + ?Position: float, + ?CategoryArray: seq<#IConvertible>, + ?UIRevision: #IConvertible, + ?RangeSlider: RangeSlider, + ?RangeSelector: RangeSelector, + ?Calendar: StyleParam.Calendar ) = LinearAxis() |> LinearAxis.style ( @@ -588,61 +588,61 @@ type LinearAxis() = /// Sets the width (in px) of the start line. static member initCarpet ( - [] ?Color: Color, - [] ?Title: Title, - [] ?AxisType: StyleParam.AxisType, - [] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [] ?AutoRange: StyleParam.AutoRange, - [] ?RangeMode: StyleParam.RangeMode, - [] ?Range: StyleParam.Range, - [] ?FixedRange: bool, - [] ?TickMode: StyleParam.TickMode, - [] ?NTicks: int, - [] ?Tick0: #IConvertible, - [] ?DTick: #IConvertible, - [] ?TickVals: seq<#IConvertible>, - [] ?TickText: seq<#IConvertible>, - [] ?Ticks: StyleParam.TickOptions, - [] ?ShowTickLabels: bool, - [] ?TickFont: Font, - [] ?TickAngle: int, - [] ?ShowTickPrefix: StyleParam.ShowTickOption, - [] ?TickPrefix: string, - [] ?ShowTickSuffix: StyleParam.ShowTickOption, - [] ?TickSuffix: string, - [] ?ShowExponent: StyleParam.ShowExponent, - [] ?ExponentFormat: StyleParam.ExponentFormat, - [] ?MinExponent: float, - [] ?SeparateThousands: bool, - [] ?TickFormat: string, - [] ?TickFormatStops: seq, - [] ?ShowLine: bool, - [] ?LineColor: Color, - [] ?LineWidth: float, - [] ?ShowGrid: bool, - [] ?GridColor: Color, - [] ?GridDash: StyleParam.DrawingStyle, - [] ?GridWidth: float, - [] ?CategoryOrder: StyleParam.CategoryOrder, - [] ?CategoryArray: seq<#IConvertible>, - [] ?ArrayDTick: int, - [] ?ArrayTick0: int, - [] ?CheaterType: StyleParam.CheaterType, - [] ?EndLine: bool, - [] ?EndLineColor: Color, - [] ?EndLineWidth: int, - [] ?LabelAlias: DynamicObj, - [] ?LabelPadding: int, - [] ?LabelPrefix: string, - [] ?LabelSuffix: string, - [] ?MinorGridColor: Color, - [] ?MinorGridDash: StyleParam.DrawingStyle, - [] ?MinorGridCount: int, - [] ?MinorGridWidth: int, - [] ?Smoothing: float, - [] ?StartLine: bool, - [] ?StartLineColor: Color, - [] ?StartLineWidth: int + ?Color: Color, + ?Title: Title, + ?AxisType: StyleParam.AxisType, + ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, + ?AutoRange: StyleParam.AutoRange, + ?RangeMode: StyleParam.RangeMode, + ?Range: StyleParam.Range, + ?FixedRange: bool, + ?TickMode: StyleParam.TickMode, + ?NTicks: int, + ?Tick0: #IConvertible, + ?DTick: #IConvertible, + ?TickVals: seq<#IConvertible>, + ?TickText: seq<#IConvertible>, + ?Ticks: StyleParam.TickOptions, + ?ShowTickLabels: bool, + ?TickFont: Font, + ?TickAngle: int, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?TickPrefix: string, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?TickSuffix: string, + ?ShowExponent: StyleParam.ShowExponent, + ?ExponentFormat: StyleParam.ExponentFormat, + ?MinExponent: float, + ?SeparateThousands: bool, + ?TickFormat: string, + ?TickFormatStops: seq, + ?ShowLine: bool, + ?LineColor: Color, + ?LineWidth: float, + ?ShowGrid: bool, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: float, + ?CategoryOrder: StyleParam.CategoryOrder, + ?CategoryArray: seq<#IConvertible>, + ?ArrayDTick: int, + ?ArrayTick0: int, + ?CheaterType: StyleParam.CheaterType, + ?EndLine: bool, + ?EndLineColor: Color, + ?EndLineWidth: int, + ?LabelAlias: DynamicObj, + ?LabelPadding: int, + ?LabelPrefix: string, + ?LabelSuffix: string, + ?MinorGridColor: Color, + ?MinorGridDash: StyleParam.DrawingStyle, + ?MinorGridCount: int, + ?MinorGridWidth: int, + ?Smoothing: float, + ?StartLine: bool, + ?StartLineColor: Color, + ?StartLineWidth: int ) = LinearAxis() |> LinearAxis.style ( @@ -734,32 +734,32 @@ type LinearAxis() = /// A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false static member initIndicatorGauge ( - [] ?DTick: #IConvertible, - [] ?LabelAlias: DynamicObj, - [] ?ExponentFormat: StyleParam.ExponentFormat, - [] ?MinExponent: float, - [] ?NTicks: int, - [] ?Range: StyleParam.Range, - [] ?SeparateThousands: bool, - [] ?ShowExponent: StyleParam.ShowExponent, - [] ?ShowTickLabels: bool, - [] ?ShowTickPrefix: StyleParam.ShowTickOption, - [] ?ShowTickSuffix: StyleParam.ShowTickOption, - [] ?Tick0: #IConvertible, - [] ?TickAngle: int, - [] ?TickColor: Color, - [] ?TickFont: Font, - [] ?TickFormat: string, - [] ?TickFormatStops: seq, - [] ?TickLen: int, - [] ?TickMode: StyleParam.TickMode, - [] ?TickPrefix: string, - [] ?Ticks: StyleParam.TickOptions, - [] ?TickSuffix: string, - [] ?TickText: seq<#IConvertible>, - [] ?TickVals: seq<#IConvertible>, - [] ?TickWidth: int, - [] ?Visible: bool + ?DTick: #IConvertible, + ?LabelAlias: DynamicObj, + ?ExponentFormat: StyleParam.ExponentFormat, + ?MinExponent: float, + ?NTicks: int, + ?Range: StyleParam.Range, + ?SeparateThousands: bool, + ?ShowExponent: StyleParam.ShowExponent, + ?ShowTickLabels: bool, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?Tick0: #IConvertible, + ?TickAngle: int, + ?TickColor: Color, + ?TickFont: Font, + ?TickFormat: string, + ?TickFormatStops: seq, + ?TickLen: int, + ?TickMode: StyleParam.TickMode, + ?TickPrefix: string, + ?Ticks: StyleParam.TickOptions, + ?TickSuffix: string, + ?TickText: seq<#IConvertible>, + ?TickVals: seq<#IConvertible>, + ?TickWidth: int, + ?Visible: bool ) = LinearAxis() |> LinearAxis.style ( @@ -900,110 +900,110 @@ type LinearAxis() = /// Sets whether or not this axis' wall has a background color. (Only has an effect on 3D scenes) static member style ( - [] ?Visible: bool, - [] ?Color: Color, - [] ?Title: Title, - [] ?AxisType: StyleParam.AxisType, - [] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [] ?AutoRange: StyleParam.AutoRange, - [] ?AutoRangeOptions: AutoRangeOptions, - [] ?AutoShift: bool, - [] ?RangeMode: StyleParam.RangeMode, - [] ?Range: StyleParam.Range, - [] ?FixedRange: bool, - [] ?ScaleAnchor: StyleParam.ScaleAnchor, - [] ?ScaleRatio: float, - [] ?Constrain: StyleParam.AxisConstraint, - [] ?ConstrainToward: StyleParam.AxisConstraintDirection, - [] ?Matches: StyleParam.LinearAxisId, - [] ?MaxAllowed: #IConvertible, - [] ?MinAllowed: #IConvertible, - [] ?Rangebreaks: seq, - [] ?TickMode: StyleParam.TickMode, - [] ?NTicks: int, - [] ?Tick0: #IConvertible, - [] ?DTick: #IConvertible, - [] ?TickVals: seq<#IConvertible>, - [] ?TickText: seq<#IConvertible>, - [] ?Ticks: StyleParam.TickOptions, - [] ?TicksOn: StyleParam.CategoryTickAnchor, - [] ?TickLabelMode: StyleParam.TickLabelMode, - [] ?TickLabelPosition: StyleParam.TickLabelPosition, - [] ?TickLabelStep: int, - [] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [] ?Mirror: StyleParam.Mirror, - [] ?TickLen: int, - [] ?TickWidth: int, - [] ?TickColor: Color, - [] ?ShowTickLabels: bool, - [] ?AutoMargin: StyleParam.TickAutoMargin, - [] ?ShowSpikes: bool, - [] ?SpikeColor: Color, - [] ?SpikeThickness: int, - [] ?SpikeDash: StyleParam.DrawingStyle, - [] ?SpikeMode: StyleParam.SpikeMode, - [] ?SpikeSnap: StyleParam.SpikeSnap, - [] ?TickFont: Font, - [] ?TickAngle: int, - [] ?ShowTickPrefix: StyleParam.ShowTickOption, - [] ?TickPrefix: string, - [] ?ShowTickSuffix: StyleParam.ShowTickOption, - [] ?TickSuffix: string, - [] ?ShowExponent: StyleParam.ShowExponent, - [] ?ExponentFormat: StyleParam.ExponentFormat, - [] ?MinExponent: float, - [] ?Minor: Minor, - [] ?SeparateThousands: bool, - [] ?TickFormat: string, - [] ?TickFormatStops: seq, - [] ?HoverFormat: string, - [] ?InsideRange: StyleParam.Range, - [] ?ShowLine: bool, - [] ?LineColor: Color, - [] ?LineWidth: float, - [] ?ShowGrid: bool, - [] ?GridColor: Color, - [] ?GridDash: StyleParam.DrawingStyle, - [] ?GridWidth: float, - [] ?ZeroLine: bool, - [] ?ZeroLineColor: Color, - [] ?ZeroLineWidth: float, - [] ?Shift: int, - [] ?ShowDividers: bool, - [] ?DividerColor: Color, - [] ?DividerWidth: int, - [] ?Anchor: StyleParam.LinearAxisId, - [] ?Side: StyleParam.Side, - [] ?Overlaying: StyleParam.LinearAxisId, - [] ?LabelAlias: DynamicObj, - [] ?Layer: StyleParam.Layer, - [] ?Domain: StyleParam.Range, - [] ?Position: float, - [] ?CategoryOrder: StyleParam.CategoryOrder, - [] ?CategoryArray: seq<#IConvertible>, - [] ?UIRevision: #IConvertible, - [] ?RangeSlider: RangeSlider, - [] ?RangeSelector: RangeSelector, - [] ?Calendar: StyleParam.Calendar, - [] ?ArrayDTick: int, - [] ?ArrayTick0: int, - [] ?CheaterType: StyleParam.CheaterType, - [] ?EndLine: bool, - [] ?EndLineColor: Color, - [] ?EndLineWidth: int, - [] ?LabelPadding: int, - [] ?LabelPrefix: string, - [] ?LabelSuffix: string, - [] ?MinorGridColor: Color, - [] ?MinorGridDash: StyleParam.DrawingStyle, - [] ?MinorGridCount: int, - [] ?MinorGridWidth: int, - [] ?Smoothing: float, - [] ?StartLine: bool, - [] ?StartLineColor: Color, - [] ?StartLineWidth: int, - [] ?BackgroundColor: Color, - [] ?ShowBackground: bool + ?Visible: bool, + ?Color: Color, + ?Title: Title, + ?AxisType: StyleParam.AxisType, + ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, + ?AutoRange: StyleParam.AutoRange, + ?AutoRangeOptions: AutoRangeOptions, + ?AutoShift: bool, + ?RangeMode: StyleParam.RangeMode, + ?Range: StyleParam.Range, + ?FixedRange: bool, + ?ScaleAnchor: StyleParam.ScaleAnchor, + ?ScaleRatio: float, + ?Constrain: StyleParam.AxisConstraint, + ?ConstrainToward: StyleParam.AxisConstraintDirection, + ?Matches: StyleParam.LinearAxisId, + ?MaxAllowed: #IConvertible, + ?MinAllowed: #IConvertible, + ?Rangebreaks: seq, + ?TickMode: StyleParam.TickMode, + ?NTicks: int, + ?Tick0: #IConvertible, + ?DTick: #IConvertible, + ?TickVals: seq<#IConvertible>, + ?TickText: seq<#IConvertible>, + ?Ticks: StyleParam.TickOptions, + ?TicksOn: StyleParam.CategoryTickAnchor, + ?TickLabelMode: StyleParam.TickLabelMode, + ?TickLabelPosition: StyleParam.TickLabelPosition, + ?TickLabelStep: int, + ?TickLabelOverflow: StyleParam.TickLabelOverflow, + ?Mirror: StyleParam.Mirror, + ?TickLen: int, + ?TickWidth: int, + ?TickColor: Color, + ?ShowTickLabels: bool, + ?AutoMargin: StyleParam.TickAutoMargin, + ?ShowSpikes: bool, + ?SpikeColor: Color, + ?SpikeThickness: int, + ?SpikeDash: StyleParam.DrawingStyle, + ?SpikeMode: StyleParam.SpikeMode, + ?SpikeSnap: StyleParam.SpikeSnap, + ?TickFont: Font, + ?TickAngle: int, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?TickPrefix: string, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?TickSuffix: string, + ?ShowExponent: StyleParam.ShowExponent, + ?ExponentFormat: StyleParam.ExponentFormat, + ?MinExponent: float, + ?Minor: Minor, + ?SeparateThousands: bool, + ?TickFormat: string, + ?TickFormatStops: seq, + ?HoverFormat: string, + ?InsideRange: StyleParam.Range, + ?ShowLine: bool, + ?LineColor: Color, + ?LineWidth: float, + ?ShowGrid: bool, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: float, + ?ZeroLine: bool, + ?ZeroLineColor: Color, + ?ZeroLineWidth: float, + ?Shift: int, + ?ShowDividers: bool, + ?DividerColor: Color, + ?DividerWidth: int, + ?Anchor: StyleParam.LinearAxisId, + ?Side: StyleParam.Side, + ?Overlaying: StyleParam.LinearAxisId, + ?LabelAlias: DynamicObj, + ?Layer: StyleParam.Layer, + ?Domain: StyleParam.Range, + ?Position: float, + ?CategoryOrder: StyleParam.CategoryOrder, + ?CategoryArray: seq<#IConvertible>, + ?UIRevision: #IConvertible, + ?RangeSlider: RangeSlider, + ?RangeSelector: RangeSelector, + ?Calendar: StyleParam.Calendar, + ?ArrayDTick: int, + ?ArrayTick0: int, + ?CheaterType: StyleParam.CheaterType, + ?EndLine: bool, + ?EndLineColor: Color, + ?EndLineWidth: int, + ?LabelPadding: int, + ?LabelPrefix: string, + ?LabelSuffix: string, + ?MinorGridColor: Color, + ?MinorGridDash: StyleParam.DrawingStyle, + ?MinorGridCount: int, + ?MinorGridWidth: int, + ?Smoothing: float, + ?StartLine: bool, + ?StartLineColor: Color, + ?StartLineWidth: int, + ?BackgroundColor: Color, + ?ShowBackground: bool ) = (fun (axis: LinearAxis) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Margin.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Margin.fs index 602c62ac2..e74beabe8 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Margin.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Margin.fs @@ -10,12 +10,12 @@ type Margin() = /// Init Margin type static member init ( - [] ?Left, - [] ?Right, - [] ?Top, - [] ?Bottom, - [] ?Pad, - [] ?Autoexpand + ?Left, + ?Right, + ?Top, + ?Bottom, + ?Pad, + ?Autoexpand ) = Margin() |> Margin.style ( @@ -31,12 +31,12 @@ type Margin() = // Applies the styles to Margin() static member style ( - [] ?Left, - [] ?Right, - [] ?Top, - [] ?Bottom, - [] ?Pad, - [] ?Autoexpand + ?Left, + ?Right, + ?Top, + ?Bottom, + ?Pad, + ?Autoexpand ) = (fun (margin: Margin) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Minor.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Minor.fs index c3300345a..06737787c 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Minor.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Minor.fs @@ -27,19 +27,19 @@ type Minor() = /// Sets the tick width (in px). static member init ( - [] ?DTick: #IConvertible, - [] ?GridColor: Color, - [] ?GridDash: StyleParam.DrawingStyle, - [] ?GridWidth: float, - [] ?NTicks: int, - [] ?ShowGrid: bool, - [] ?Tick0: #IConvertible, - [] ?TickColor: Color, - [] ?TickLen: int, - [] ?TickMode: StyleParam.TickMode, - [] ?Ticks: StyleParam.TickOptions, - [] ?TickVals: seq<#IConvertible>, - [] ?TickWidth: int + ?DTick: #IConvertible, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: float, + ?NTicks: int, + ?ShowGrid: bool, + ?Tick0: #IConvertible, + ?TickColor: Color, + ?TickLen: int, + ?TickMode: StyleParam.TickMode, + ?Ticks: StyleParam.TickOptions, + ?TickVals: seq<#IConvertible>, + ?TickWidth: int ) = Minor() |> Minor.style ( @@ -76,19 +76,19 @@ type Minor() = /// Sets the tick width (in px). static member style ( - [] ?DTick: #IConvertible, - [] ?GridColor: Color, - [] ?GridDash: StyleParam.DrawingStyle, - [] ?GridWidth: float, - [] ?NTicks: int, - [] ?ShowGrid: bool, - [] ?Tick0: #IConvertible, - [] ?TickColor: Color, - [] ?TickLen: int, - [] ?TickMode: StyleParam.TickMode, - [] ?Ticks: StyleParam.TickOptions, - [] ?TickVals: seq<#IConvertible>, - [] ?TickWidth: int + ?DTick: #IConvertible, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: float, + ?NTicks: int, + ?ShowGrid: bool, + ?Tick0: #IConvertible, + ?TickColor: Color, + ?TickLen: int, + ?TickMode: StyleParam.TickMode, + ?Ticks: StyleParam.TickOptions, + ?TickVals: seq<#IConvertible>, + ?TickWidth: int ) = (fun (minor: Minor) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/ModeBar.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/ModeBar.fs index 9a92096a7..6287be07b 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/ModeBar.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/ModeBar.fs @@ -10,13 +10,13 @@ type ModeBar() = static member init ( - [] ?ActiveColor: Color, - [] ?Add: seq, - [] ?BGColor: Color, - [] ?Color: Color, - [] ?Orientation: StyleParam.Orientation, - [] ?Remove: string, - [] ?UIRevision: string + ?ActiveColor: Color, + ?Add: seq, + ?BGColor: Color, + ?Color: Color, + ?Orientation: StyleParam.Orientation, + ?Remove: string, + ?UIRevision: string ) = ModeBar() |> ModeBar.style ( @@ -31,13 +31,13 @@ type ModeBar() = static member style ( - [] ?ActiveColor: Color, - [] ?Add: seq, - [] ?BGColor: Color, - [] ?Color: Color, - [] ?Orientation: StyleParam.Orientation, - [] ?Remove: string, - [] ?UIRevision: string + ?ActiveColor: Color, + ?Add: seq, + ?BGColor: Color, + ?Color: Color, + ?Orientation: StyleParam.Orientation, + ?Remove: string, + ?UIRevision: string ) = (fun (modeBar: ModeBar) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/NewSelection.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/NewSelection.fs index c3f1c19f7..d342b05ed 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/NewSelection.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/NewSelection.fs @@ -17,10 +17,10 @@ type NewSelection() = /// Describes how a new selection is created. If `immediate`, a new selection is created after first mouse up. If `gradual`, a new selection is not created after first mouse. By adding to and subtracting from the initial selection, this option allows declaring extra outlines of the selection. static member init ( - [] ?LineColor: Color, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?LineWidth: float, - [] ?Mode: StyleParam.NewSelectionMode + ?LineColor: Color, + ?LineDash: StyleParam.DrawingStyle, + ?LineWidth: float, + ?Mode: StyleParam.NewSelectionMode ) = NewSelection() |> NewSelection.style (?LineColor = LineColor, ?LineDash = LineDash, ?LineWidth = LineWidth, ?Mode = Mode) @@ -34,10 +34,10 @@ type NewSelection() = /// Describes how a new selection is created. If `immediate`, a new selection is created after first mouse up. If `gradual`, a new selection is not created after first mouse. By adding to and subtracting from the initial selection, this option allows declaring extra outlines of the selection. static member style ( - [] ?LineColor: Color, - [] ?LineDash: StyleParam.DrawingStyle, - [] ?LineWidth: float, - [] ?Mode: StyleParam.NewSelectionMode + ?LineColor: Color, + ?LineDash: StyleParam.DrawingStyle, + ?LineWidth: float, + ?Mode: StyleParam.NewSelectionMode ) = (fun (newSelection: NewSelection) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/NewShape.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/NewShape.fs index a3e955b6f..eff8bb910 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/NewShape.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/NewShape.fs @@ -59,20 +59,20 @@ type NewShape() = /// Determines whether or not new shape is visible. If "legendonly", the shape is not drawn, but can appear as a legend item (provided that the legend itself is visible). static member init ( - [] ?DrawDirection: StyleParam.DrawDirection, - [] ?FillColor: Color, - [] ?FillRule: StyleParam.FillRule, - [] ?Layer: StyleParam.Layer, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?LegendWidth: float, - [] ?Line: Line, - [] ?Name: string, - [] ?Opacity: float, - [] ?Visible: StyleParam.Visible + ?DrawDirection: StyleParam.DrawDirection, + ?FillColor: Color, + ?FillRule: StyleParam.FillRule, + ?Layer: StyleParam.Layer, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?LegendWidth: float, + ?Line: Line, + ?Name: string, + ?Opacity: float, + ?Visible: StyleParam.Visible ) = NewShape() |> NewShape.style ( @@ -111,20 +111,20 @@ type NewShape() = /// Determines whether or not new shape is visible. If "legendonly", the shape is not drawn, but can appear as a legend item (provided that the legend itself is visible). static member style ( - [] ?DrawDirection: StyleParam.DrawDirection, - [] ?FillColor: Color, - [] ?FillRule: StyleParam.FillRule, - [] ?Layer: StyleParam.Layer, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?LegendWidth: float, - [] ?Line: Line, - [] ?Name: string, - [] ?Opacity: float, - [] ?Visible: StyleParam.Visible + ?DrawDirection: StyleParam.DrawDirection, + ?FillColor: Color, + ?FillRule: StyleParam.FillRule, + ?Layer: StyleParam.Layer, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?LegendWidth: float, + ?Line: Line, + ?Name: string, + ?Opacity: float, + ?Visible: StyleParam.Visible ) = (fun (newShape: NewShape) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/RangeSelector.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/RangeSelector.fs index 1248609b8..dcce7b0b9 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/RangeSelector.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/RangeSelector.fs @@ -12,17 +12,17 @@ type RangeSelector() = static member init ( - [] ?Visible: bool, - [] ?Buttons: seq /// Sets the color of the selected/unselected text - static member init([] ?Color: Color) = + static member init(?Color: Color) = FontSelectionStyle() |> FontSelectionStyle.style (?Color = Color) /// /// Returns a function that applies the given styles to a FontSelectionStyle object /// /// Sets the color of the selected/unselected text - static member style([] ?Color: Color) = + static member style(?Color: Color) = fun (fontSelectionStyle: FontSelectionStyle) -> fontSelectionStyle @@ -110,9 +110,9 @@ type TraceSelection() = /// Sets the styles of the selected/unselected texts static member init ( - [] ?MarkerSelectionStyle: MarkerSelectionStyle, - [] ?LineSelectionStyle: LineSelectionStyle, - [] ?FontSelectionStyle: FontSelectionStyle + ?MarkerSelectionStyle: MarkerSelectionStyle, + ?LineSelectionStyle: LineSelectionStyle, + ?FontSelectionStyle: FontSelectionStyle ) = TraceSelection() |> TraceSelection.style ( @@ -129,9 +129,9 @@ type TraceSelection() = /// Sets the styles of the selected/unselected texts static member style ( - [] ?MarkerSelectionStyle: MarkerSelectionStyle, - [] ?LineSelectionStyle: LineSelectionStyle, - [] ?FontSelectionStyle: FontSelectionStyle + ?MarkerSelectionStyle: MarkerSelectionStyle, + ?LineSelectionStyle: LineSelectionStyle, + ?FontSelectionStyle: FontSelectionStyle ) = fun (traceSelection: TraceSelection) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Treemap.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Treemap.fs index 63762984c..55dc6dcec 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Treemap.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Treemap.fs @@ -10,11 +10,11 @@ open System.Runtime.InteropServices type TreemapRoot() = inherit DynamicObj() - static member init([] ?Color: Color) = + static member init(?Color: Color) = TreemapRoot() |> TreemapRoot.style (?Color = Color) - static member style([] ?Color: Color) = + static member style(?Color: Color) = fun (root: TreemapRoot) -> root |> DynObj.withProperty "color" Color @@ -22,11 +22,11 @@ type TreemapRoot() = type TreemapLeaf() = inherit DynamicObj() - static member init([] ?Opacity: float) = + static member init(?Opacity: float) = TreemapLeaf() |> TreemapLeaf.style (?Opacity = Opacity) - static member style([] ?Opacity: float) = + static member style(?Opacity: float) = fun (leaf: TreemapLeaf) -> leaf @@ -38,10 +38,10 @@ type TreemapTiling() = static member init ( - [] ?Packing: StyleParam.TreemapTilingPacking, - [] ?SquarifyRatio: float, - [] ?Flip: StyleParam.TilingFlip, - [] ?Pad: float + ?Packing: StyleParam.TreemapTilingPacking, + ?SquarifyRatio: float, + ?Flip: StyleParam.TilingFlip, + ?Pad: float ) = TreemapTiling() @@ -49,10 +49,10 @@ type TreemapTiling() = static member style ( - [] ?Packing: StyleParam.TreemapTilingPacking, - [] ?SquarifyRatio: float, - [] ?Flip: StyleParam.TilingFlip, - [] ?Pad: float + ?Packing: StyleParam.TreemapTilingPacking, + ?SquarifyRatio: float, + ?Flip: StyleParam.TilingFlip, + ?Pad: float ) = fun (tiling: TreemapTiling) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/WaterfallConnector.fs b/src/Plotly.NET/Traces/ObjectAbstractions/WaterfallConnector.fs index 1ac0057c5..a8e878a02 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/WaterfallConnector.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/WaterfallConnector.fs @@ -20,9 +20,9 @@ type WaterfallConnector() = static member init ( - [] ?Line: Line, - [] ?Visible: bool, - [] ?ConnectorMode: StyleParam.ConnectorMode + ?Line: Line, + ?Visible: bool, + ?ConnectorMode: StyleParam.ConnectorMode ) = WaterfallConnector() @@ -30,9 +30,9 @@ type WaterfallConnector() = static member style ( - [] ?Line: Line, - [] ?Visible: bool, - [] ?ConnectorMode: StyleParam.ConnectorMode + ?Line: Line, + ?Visible: bool, + ?ConnectorMode: StyleParam.ConnectorMode ) = fun (connector: WaterfallConnector) -> diff --git a/src/Plotly.NET/Traces/Trace.fs b/src/Plotly.NET/Traces/Trace.fs index d9eb9e738..866212099 100644 --- a/src/Plotly.NET/Traces/Trace.fs +++ b/src/Plotly.NET/Traces/Trace.fs @@ -320,12 +320,12 @@ type TraceStyle() = /// Sets the title for the chart's trace legend group static member TraceInfo ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title ) = fun (trace: #Trace) -> trace @@ -375,40 +375,40 @@ type TraceStyle() = /// Sets the width of the outlier sample points. static member Marker ( - [] ?Angle: float, - [] ?AngleRef: StyleParam.AngleRef, - [] ?AutoColorScale: bool, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?Color: Color, - [] ?Colors: seq, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?ColorBar: ColorBar, - [] ?Colorscale: StyleParam.Colorscale, - [] ?CornerRadius: int, - [] ?Gradient: Gradient, - [] ?Outline: Line, - [] ?MaxDisplayed: int, - [] ?Opacity: float, - [] ?MultiOpacity: seq, - [] ?Pattern: Pattern, - [] ?ReverseScale: bool, - [] ?ShowScale: bool, - [] ?Size: int, - [] ?MultiSize: seq, - [] ?SizeMin: int, - [] ?SizeMode: StyleParam.MarkerSizeMode, - [] ?SizeRef: int, - [] ?StandOff: float, - [] ?MultiStandOff: seq, - [] ?Symbol: StyleParam.MarkerSymbol, - [] ?MultiSymbol: seq, - [] ?Symbol3D: StyleParam.MarkerSymbol3D, - [] ?MultiSymbol3D: seq, - [] ?OutlierColor: Color, - [] ?OutlierWidth: int + ?Angle: float, + ?AngleRef: StyleParam.AngleRef, + ?AutoColorScale: bool, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Color: Color, + ?Colors: seq, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?Colorscale: StyleParam.Colorscale, + ?CornerRadius: int, + ?Gradient: Gradient, + ?Outline: Line, + ?MaxDisplayed: int, + ?Opacity: float, + ?MultiOpacity: seq, + ?Pattern: Pattern, + ?ReverseScale: bool, + ?ShowScale: bool, + ?Size: int, + ?MultiSize: seq, + ?SizeMin: int, + ?SizeMode: StyleParam.MarkerSizeMode, + ?SizeRef: int, + ?StandOff: float, + ?MultiStandOff: seq, + ?Symbol: StyleParam.MarkerSymbol, + ?MultiSymbol: seq, + ?Symbol3D: StyleParam.MarkerSymbol3D, + ?MultiSymbol3D: seq, + ?OutlierColor: Color, + ?OutlierWidth: int ) = (fun (trace: ('T :> Trace)) -> let marker = @@ -478,26 +478,26 @@ type TraceStyle() = /// Sets the width of the outline of outliers static member Line ( - [] ?BackOff: StyleParam.BackOff, - [] ?AutoColorScale: bool, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?Color: Color, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?Colorscale: StyleParam.Colorscale, - [] ?ReverseScale: bool, - [] ?ShowScale: bool, - [] ?ColorBar: ColorBar, - [] ?Dash: StyleParam.DrawingStyle, - [] ?Shape: StyleParam.Shape, - [] ?Simplify: bool, - [] ?Smoothing: float, - [] ?Width: float, - [] ?MultiWidth: seq, - [] ?OutlierColor: Color, - [] ?OutlierWidth: float + ?BackOff: StyleParam.BackOff, + ?AutoColorScale: bool, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Color: Color, + ?ColorAxis: StyleParam.SubPlotId, + ?Colorscale: StyleParam.Colorscale, + ?ReverseScale: bool, + ?ShowScale: bool, + ?ColorBar: ColorBar, + ?Dash: StyleParam.DrawingStyle, + ?Shape: StyleParam.Shape, + ?Simplify: bool, + ?Smoothing: float, + ?Width: float, + ?MultiWidth: seq, + ?OutlierColor: Color, + ?OutlierWidth: float ) = (fun (trace: ('T :> Trace)) -> let line = @@ -546,19 +546,19 @@ type TraceStyle() = /// Sets the width (in px) of the cross-bar at both ends of the error bars. static member XError ( - [] ?Visible: bool, - [] ?Type: StyleParam.ErrorType, - [] ?Symmetric: bool, - [] ?Array: seq<#IConvertible>, - [] ?Arrayminus: seq<#IConvertible>, - [] ?Value: float, - [] ?Valueminus: float, - [] ?Traceref: int, - [] ?Tracerefminus: int, - [] ?Copy_ystyle: bool, - [] ?Color: Color, - [] ?Thickness: float, - [] ?Width: float + ?Visible: bool, + ?Type: StyleParam.ErrorType, + ?Symmetric: bool, + ?Array: seq<#IConvertible>, + ?Arrayminus: seq<#IConvertible>, + ?Value: float, + ?Valueminus: float, + ?Traceref: int, + ?Tracerefminus: int, + ?Copy_ystyle: bool, + ?Color: Color, + ?Thickness: float, + ?Width: float ) = (fun (trace: ('T :> Trace)) -> let xerror = @@ -600,19 +600,19 @@ type TraceStyle() = /// Sets the width (in px) of the cross-bar at both ends of the error bars. static member YError ( - [] ?Visible: bool, - [] ?Type: StyleParam.ErrorType, - [] ?Symmetric: bool, - [] ?Array: seq<#IConvertible>, - [] ?Arrayminus: seq<#IConvertible>, - [] ?Value: float, - [] ?Valueminus: float, - [] ?Traceref: int, - [] ?Tracerefminus: int, - [] ?Copy_ystyle: bool, - [] ?Color: Color, - [] ?Thickness: float, - [] ?Width: float + ?Visible: bool, + ?Type: StyleParam.ErrorType, + ?Symmetric: bool, + ?Array: seq<#IConvertible>, + ?Arrayminus: seq<#IConvertible>, + ?Value: float, + ?Valueminus: float, + ?Traceref: int, + ?Tracerefminus: int, + ?Copy_ystyle: bool, + ?Color: Color, + ?Thickness: float, + ?Width: float ) = (fun (trace: ('T :> Trace)) -> let yerror = @@ -654,19 +654,19 @@ type TraceStyle() = /// Sets the width (in px) of the cross-bar at both ends of the error bars. static member ZError ( - [] ?Visible: bool, - [] ?Type: StyleParam.ErrorType, - [] ?Symmetric: bool, - [] ?Array: seq<#IConvertible>, - [] ?Arrayminus: seq<#IConvertible>, - [] ?Value: float, - [] ?Valueminus: float, - [] ?Traceref: int, - [] ?Tracerefminus: int, - [] ?Copy_ystyle: bool, - [] ?Color: Color, - [] ?Thickness: float, - [] ?Width: float + ?Visible: bool, + ?Type: StyleParam.ErrorType, + ?Symmetric: bool, + ?Array: seq<#IConvertible>, + ?Arrayminus: seq<#IConvertible>, + ?Value: float, + ?Valueminus: float, + ?Traceref: int, + ?Tracerefminus: int, + ?Copy_ystyle: bool, + ?Color: Color, + ?Thickness: float, + ?Width: float ) = (fun (trace: ('T :> Trace)) -> let zerror = @@ -698,9 +698,9 @@ type TraceStyle() = /// Sets the style of unselected points of this trace. static member Selection ( - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection ) = fun (trace: #Trace) -> trace @@ -725,18 +725,18 @@ type TraceStyle() = /// Sets the text font of this trace. static member TextLabel ( - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?TextFont: Font + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?TextFont: Font ) = fun (trace: #Trace) -> trace @@ -754,10 +754,10 @@ type TraceStyle() = /// static member Domain ( - [] ?X: StyleParam.Range, - [] ?Y: StyleParam.Range, - [] ?Row: int, - [] ?Column: int + ?X: StyleParam.Range, + ?Y: StyleParam.Range, + ?Row: int, + ?Column: int ) = (fun (trace: ('T :> Trace)) -> let domain = diff --git a/src/Plotly.NET/Traces/Trace2D.fs b/src/Plotly.NET/Traces/Trace2D.fs index aa6e7dbfe..9819a700b 100644 --- a/src/Plotly.NET/Traces/Trace2D.fs +++ b/src/Plotly.NET/Traces/Trace2D.fs @@ -100,8 +100,8 @@ type Trace2DStyle() = /// Sets the given axis anchor id(s) on a Trace object. static member SetAxisAnchor ( - [] ?X: StyleParam.LinearAxisId, - [] ?Y: StyleParam.LinearAxisId + ?X: StyleParam.LinearAxisId, + ?Y: StyleParam.LinearAxisId ) = fun (trace: Trace2D) -> trace @@ -178,71 +178,71 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Scatter ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Mode: StyleParam.Mode, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?X0: #IConvertible, - [] ?DX: #IConvertible, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Y0: #IConvertible, - [] ?DY: #IConvertible, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?Orientation: StyleParam.Orientation, - [] ?GroupNorm: StyleParam.GroupNorm, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?StackGroup: string, - [] ?XPeriod: #IConvertible, - [] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [] ?XPeriod0: #IConvertible, - [] ?YPeriod: #IConvertible, - [] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [] ?YPeriod0: #IConvertible, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?TextFont: Font, - [] ?XError: Error, - [] ?YError: Error, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?ClipOnAxis: bool, - [] ?ConnectGaps: bool, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?FillPattern: Pattern, - [] ?HoverLabel: Hoverlabel, - [] ?HoverOn: StyleParam.HoverOn, - [] ?StackGaps: StyleParam.StackGaps, - [] ?XCalendar: StyleParam.Calendar, - [] ?YCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Mode: StyleParam.Mode, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?Orientation: StyleParam.Orientation, + ?GroupNorm: StyleParam.GroupNorm, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?StackGroup: string, + ?XPeriod: #IConvertible, + ?XPeriodAlignment: StyleParam.PeriodAlignment, + ?XPeriod0: #IConvertible, + ?YPeriod: #IConvertible, + ?YPeriodAlignment: StyleParam.PeriodAlignment, + ?YPeriod0: #IConvertible, + ?Marker: Marker, + ?Line: Line, + ?TextFont: Font, + ?XError: Error, + ?YError: Error, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?ClipOnAxis: bool, + ?ConnectGaps: bool, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?FillPattern: Pattern, + ?HoverLabel: Hoverlabel, + ?HoverOn: StyleParam.HoverOn, + ?StackGaps: StyleParam.StackGaps, + ?XCalendar: StyleParam.Calendar, + ?YCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> trace @@ -376,71 +376,71 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Bar ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?X0: #IConvertible, - [] ?DX: #IConvertible, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Y0: #IConvertible, - [] ?DY: #IConvertible, - [] ?Base: #IConvertible, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?Offset: #IConvertible, - [] ?MultiOffset: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?Orientation: StyleParam.Orientation, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?XPeriod: #IConvertible, - [] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [] ?XPeriod0: #IConvertible, - [] ?YPeriod: #IConvertible, - [] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [] ?YPeriod0: #IConvertible, - [] ?Marker: Marker, - [] ?TextAngle: float, - [] ?TextFont: Font, - [] ?XError: Error, - [] ?YError: Error, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?ClipOnAxis: bool, - [] ?Constraintext: StyleParam.ConstrainText, - [] ?HoverLabel: Hoverlabel, - [] ?InsideTextAnchor: StyleParam.InsideTextAnchor, - [] ?InsideTextFont: Font, - [] ?OutsideTextFont: Font, - [] ?XCalendar: StyleParam.Calendar, - [] ?YCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?Offset: #IConvertible, + ?MultiOffset: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?Orientation: StyleParam.Orientation, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?XPeriod: #IConvertible, + ?XPeriodAlignment: StyleParam.PeriodAlignment, + ?XPeriod0: #IConvertible, + ?YPeriod: #IConvertible, + ?YPeriodAlignment: StyleParam.PeriodAlignment, + ?YPeriod0: #IConvertible, + ?Marker: Marker, + ?TextAngle: float, + ?TextFont: Font, + ?XError: Error, + ?YError: Error, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?ClipOnAxis: bool, + ?Constraintext: StyleParam.ConstrainText, + ?HoverLabel: Hoverlabel, + ?InsideTextAnchor: StyleParam.InsideTextAnchor, + ?InsideTextFont: Font, + ?OutsideTextFont: Font, + ?XCalendar: StyleParam.Calendar, + ?YCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (bar: ('T :> Trace)) -> @@ -565,64 +565,64 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Funnel ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?X0: #IConvertible, - [] ?DX: #IConvertible, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Y0: #IConvertible, - [] ?DY: #IConvertible, - [] ?Width: float, - [] ?Offset: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?Orientation: StyleParam.Orientation, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?XPeriod: #IConvertible, - [] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [] ?XPeriod0: #IConvertible, - [] ?YPeriod: #IConvertible, - [] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [] ?YPeriod0: #IConvertible, - [] ?Marker: Marker, - [] ?TextAngle: float, - [] ?TextFont: Font, - [] ?TextInfo: StyleParam.TextInfo, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?ClipOnAxis: bool, - [] ?Connector: FunnelConnector, - [] ?Constraintext: StyleParam.ConstrainText, - [] ?HoverLabel: Hoverlabel, - [] ?InsideTextAnchor: StyleParam.InsideTextAnchor, - [] ?InsideTextFont: Font, - [] ?OutsideTextFont: Font, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Width: float, + ?Offset: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?Orientation: StyleParam.Orientation, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?XPeriod: #IConvertible, + ?XPeriodAlignment: StyleParam.PeriodAlignment, + ?XPeriod0: #IConvertible, + ?YPeriod: #IConvertible, + ?YPeriodAlignment: StyleParam.PeriodAlignment, + ?YPeriod0: #IConvertible, + ?Marker: Marker, + ?TextAngle: float, + ?TextFont: Font, + ?TextInfo: StyleParam.TextInfo, + ?SelectedPoints: seq<#IConvertible>, + ?ClipOnAxis: bool, + ?Connector: FunnelConnector, + ?Constraintext: StyleParam.ConstrainText, + ?HoverLabel: Hoverlabel, + ?InsideTextAnchor: StyleParam.InsideTextAnchor, + ?InsideTextFont: Font, + ?OutsideTextFont: Font, + ?UIRevision: string ) = fun (funnel: #Trace) -> @@ -749,70 +749,70 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Waterfall ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?X0: #IConvertible, - [] ?DX: #IConvertible, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Y0: #IConvertible, - [] ?DY: #IConvertible, - [] ?Base: #IConvertible, - [] ?Width: float, - [] ?MultiWidth: seq, - [] ?Measure: StyleParam.WaterfallMeasure seq, - [] ?Offset: #IConvertible, - [] ?MultiOffset: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?Orientation: StyleParam.Orientation, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?XPeriod: #IConvertible, - [] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [] ?XPeriod0: #IConvertible, - [] ?YPeriod: #IConvertible, - [] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [] ?YPeriod0: #IConvertible, - [] ?TextAngle: float, - [] ?TextFont: Font, - [] ?TextInfo: StyleParam.TextInfo, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?ClipOnAxis: bool, - [] ?Connector: WaterfallConnector, - [] ?Constraintext: StyleParam.ConstrainText, - [] ?Increasing: FinanceMarker, - [] ?Decreasing: FinanceMarker, - [] ?HoverLabel: Hoverlabel, - [] ?InsideTextAnchor: StyleParam.InsideTextAnchor, - [] ?InsideTextFont: Font, - [] ?OutsideTextFont: Font, - [] ?Totals: FinanceMarker, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Base: #IConvertible, + ?Width: float, + ?MultiWidth: seq, + ?Measure: StyleParam.WaterfallMeasure seq, + ?Offset: #IConvertible, + ?MultiOffset: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?Orientation: StyleParam.Orientation, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?XPeriod: #IConvertible, + ?XPeriodAlignment: StyleParam.PeriodAlignment, + ?XPeriod0: #IConvertible, + ?YPeriod: #IConvertible, + ?YPeriodAlignment: StyleParam.PeriodAlignment, + ?YPeriod0: #IConvertible, + ?TextAngle: float, + ?TextFont: Font, + ?TextInfo: StyleParam.TextInfo, + ?SelectedPoints: seq<#IConvertible>, + ?ClipOnAxis: bool, + ?Connector: WaterfallConnector, + ?Constraintext: StyleParam.ConstrainText, + ?Increasing: FinanceMarker, + ?Decreasing: FinanceMarker, + ?HoverLabel: Hoverlabel, + ?InsideTextAnchor: StyleParam.InsideTextAnchor, + ?InsideTextFont: Font, + ?OutsideTextFont: Font, + ?Totals: FinanceMarker, + ?UIRevision: string ) = fun (waterfall: ('T :> Trace)) -> @@ -938,66 +938,66 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Histogram ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?Orientation: StyleParam.Orientation, - [] ?HistFunc: StyleParam.HistFunc, - [] ?HistNorm: StyleParam.HistNorm, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?NBinsX: int, - [] ?NBinsY: int, - [] ?AutoBinX: bool, - [] ?AutoBinY: bool, - [] ?BinGroup: string, - [] ?XBins: Bins, - [] ?YBins: Bins, - [] ?Marker: Marker, - [] ?TextAngle: float, - [] ?TextFont: Font, - [] ?Line: Line, - [] ?XError: Error, - [] ?YError: Error, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?ClipOnAxis: bool, - [] ?Constraintext: StyleParam.ConstrainText, - [] ?Cumulative: Cumulative, - [] ?HoverLabel: Hoverlabel, - [] ?InsideTextAnchor: StyleParam.InsideTextAnchor, - [] ?InsideTextFont: Font, - [] ?OutsideTextFont: Font, - [] ?XCalendar: StyleParam.Calendar, - [] ?YCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?Orientation: StyleParam.Orientation, + ?HistFunc: StyleParam.HistFunc, + ?HistNorm: StyleParam.HistNorm, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?NBinsX: int, + ?NBinsY: int, + ?AutoBinX: bool, + ?AutoBinY: bool, + ?BinGroup: string, + ?XBins: Bins, + ?YBins: Bins, + ?Marker: Marker, + ?TextAngle: float, + ?TextFont: Font, + ?Line: Line, + ?XError: Error, + ?YError: Error, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?ClipOnAxis: bool, + ?Constraintext: StyleParam.ConstrainText, + ?Cumulative: Cumulative, + ?HoverLabel: Hoverlabel, + ?InsideTextAnchor: StyleParam.InsideTextAnchor, + ?InsideTextFont: Font, + ?OutsideTextFont: Font, + ?XCalendar: StyleParam.Calendar, + ?YCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (histogram: ('T :> Trace)) -> @@ -1134,77 +1134,77 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member BoxPlot ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?LegendWidth: float, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?X0: #IConvertible, - [] ?DX: #IConvertible, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Y0: #IConvertible, - [] ?DY: #IConvertible, - [] ?Width: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?Orientation: StyleParam.Orientation, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?XPeriod: #IConvertible, - [] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [] ?XPeriod0: #IConvertible, - [] ?YPeriod: #IConvertible, - [] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [] ?YPeriod0: #IConvertible, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?BoxMean: StyleParam.BoxMean, - [] ?BoxPoints: StyleParam.BoxPoints, - [] ?Notched: bool, - [] ?NotchWidth: float, - [] ?ShowWhiskers: bool, - [] ?WhiskerWidth: float, - [] ?Q1: seq, - [] ?Median: seq, - [] ?Q3: seq, - [] ?LowerFence: seq, - [] ?UpperFence: seq, - [] ?NotchSpan: seq, - [] ?Mean: seq, - [] ?SD: seq, - [] ?SDMultiple: float, - [] ?QuartileMethod: StyleParam.QuartileMethod, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?FillColor: Color, - [] ?HoverLabel: Hoverlabel, - [] ?HoverOn: StyleParam.HoverOn, - [] ?PointPos: float, - [] ?Jitter: float, - [] ?SizeMode: StyleParam.BoxSizeMode, - [] ?XCalendar: StyleParam.Calendar, - [] ?YCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?LegendWidth: float, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Width: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?Orientation: StyleParam.Orientation, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?XPeriod: #IConvertible, + ?XPeriodAlignment: StyleParam.PeriodAlignment, + ?XPeriod0: #IConvertible, + ?YPeriod: #IConvertible, + ?YPeriodAlignment: StyleParam.PeriodAlignment, + ?YPeriod0: #IConvertible, + ?Marker: Marker, + ?Line: Line, + ?BoxMean: StyleParam.BoxMean, + ?BoxPoints: StyleParam.BoxPoints, + ?Notched: bool, + ?NotchWidth: float, + ?ShowWhiskers: bool, + ?WhiskerWidth: float, + ?Q1: seq, + ?Median: seq, + ?Q3: seq, + ?LowerFence: seq, + ?UpperFence: seq, + ?NotchSpan: seq, + ?Mean: seq, + ?SD: seq, + ?SDMultiple: float, + ?QuartileMethod: StyleParam.QuartileMethod, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?FillColor: Color, + ?HoverLabel: Hoverlabel, + ?HoverOn: StyleParam.HoverOn, + ?PointPos: float, + ?Jitter: float, + ?SizeMode: StyleParam.BoxSizeMode, + ?XCalendar: StyleParam.Calendar, + ?YCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (boxPlot: ('T :> Trace)) -> @@ -1336,60 +1336,60 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Violin ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?X0: #IConvertible, - [] ?DX: #IConvertible, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Y0: #IConvertible, - [] ?DY: #IConvertible, - [] ?Width: float, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?Orientation: StyleParam.Orientation, - [] ?AlignmentGroup: string, - [] ?OffsetGroup: string, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?Box: Box, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?BandWidth: float, - [] ?FillColor: Color, - [] ?HoverLabel: Hoverlabel, - [] ?HoverOn: StyleParam.HoverOn, - [] ?PointPos: float, - [] ?Jitter: float, - [] ?MeanLine: MeanLine, - [] ?Points: StyleParam.JitterPoints, - [] ?ScaleGroup: string, - [] ?ScaleMode: StyleParam.ScaleMode, - [] ?Side: StyleParam.ViolinSide, - [] ?Span: StyleParam.Range, - [] ?SpanMode: StyleParam.SpanMode, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Width: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?Orientation: StyleParam.Orientation, + ?AlignmentGroup: string, + ?OffsetGroup: string, + ?Marker: Marker, + ?Line: Line, + ?Box: Box, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?BandWidth: float, + ?FillColor: Color, + ?HoverLabel: Hoverlabel, + ?HoverOn: StyleParam.HoverOn, + ?PointPos: float, + ?Jitter: float, + ?MeanLine: MeanLine, + ?Points: StyleParam.JitterPoints, + ?ScaleGroup: string, + ?ScaleMode: StyleParam.ScaleMode, + ?Side: StyleParam.ViolinSide, + ?Span: StyleParam.Range, + ?SpanMode: StyleParam.SpanMode, + ?UIRevision: string ) = fun (violin: ('T :> Trace)) -> @@ -1504,61 +1504,61 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Histogram2D ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?XGap: int, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?YGap: int, - [] ?Z: seq<#seq<#IConvertible>>, - [] ?TextTemplate: string, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?HistFunc: StyleParam.HistFunc, - [] ?HistNorm: StyleParam.HistNorm, - [] ?NBinsX: int, - [] ?NBinsY: int, - [] ?AutoBinX: bool, - [] ?AutoBinY: bool, - [] ?BinGroup: string, - [] ?XBinGroup: string, - [] ?XBins: Bins, - [] ?YBinGroup: string, - [] ?YBins: Bins, - [] ?Marker: Marker, - [] ?TextFont: Font, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZAuto: bool, - [] ?ZHoverFormat: string, - [] ?ZMin: float, - [] ?ZMid: float, - [] ?ZMax: float, - [] ?ZSmooth: StyleParam.SmoothAlg, - [] ?HoverLabel: Hoverlabel, - [] ?XCalendar: StyleParam.Calendar, - [] ?YCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?XGap: int, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?YGap: int, + ?Z: seq<#seq<#IConvertible>>, + ?TextTemplate: string, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?ColorAxis: StyleParam.SubPlotId, + ?HistFunc: StyleParam.HistFunc, + ?HistNorm: StyleParam.HistNorm, + ?NBinsX: int, + ?NBinsY: int, + ?AutoBinX: bool, + ?AutoBinY: bool, + ?BinGroup: string, + ?XBinGroup: string, + ?XBins: Bins, + ?YBinGroup: string, + ?YBins: Bins, + ?Marker: Marker, + ?TextFont: Font, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZAuto: bool, + ?ZHoverFormat: string, + ?ZMin: float, + ?ZMid: float, + ?ZMax: float, + ?ZSmooth: StyleParam.SmoothAlg, + ?HoverLabel: Hoverlabel, + ?XCalendar: StyleParam.Calendar, + ?YCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (histogram2D: ('T :> Trace)) -> @@ -1677,62 +1677,62 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Histogram2DContour ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Z: seq<#seq<#IConvertible>>, - [] ?TextTemplate: string, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?HistFunc: StyleParam.HistFunc, - [] ?HistNorm: StyleParam.HistNorm, - [] ?NBinsX: int, - [] ?NBinsY: int, - [] ?AutoBinX: bool, - [] ?AutoBinY: bool, - [] ?BinGroup: string, - [] ?XBinGroup: string, - [] ?XBins: Bins, - [] ?YBinGroup: string, - [] ?YBins: Bins, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?TextFont: Font, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZAuto: bool, - [] ?ZHoverFormat: string, - [] ?Zmin: float, - [] ?Zmid: float, - [] ?Zmax: float, - [] ?AutoContour: bool, - [] ?Contours: Contours, - [] ?HoverLabel: Hoverlabel, - [] ?NContours: int, - [] ?XCalendar: StyleParam.Calendar, - [] ?YCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Z: seq<#seq<#IConvertible>>, + ?TextTemplate: string, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?ColorAxis: StyleParam.SubPlotId, + ?HistFunc: StyleParam.HistFunc, + ?HistNorm: StyleParam.HistNorm, + ?NBinsX: int, + ?NBinsY: int, + ?AutoBinX: bool, + ?AutoBinY: bool, + ?BinGroup: string, + ?XBinGroup: string, + ?XBins: Bins, + ?YBinGroup: string, + ?YBins: Bins, + ?Marker: Marker, + ?Line: Line, + ?TextFont: Font, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZAuto: bool, + ?ZHoverFormat: string, + ?Zmin: float, + ?Zmid: float, + ?Zmax: float, + ?AutoContour: bool, + ?Contours: Contours, + ?HoverLabel: Hoverlabel, + ?NContours: int, + ?XCalendar: StyleParam.Calendar, + ?YCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (histogram2DContour: ('T :> Trace)) -> @@ -1859,68 +1859,68 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Heatmap ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?X0: #IConvertible, - [] ?DX: #IConvertible, - [] ?XType: StyleParam.CoordinateType, - [] ?XGap: int, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Y0: #IConvertible, - [] ?DY: #IConvertible, - [] ?YType: StyleParam.CoordinateType, - [] ?YGap: int, - [] ?Z: seq<#seq<#IConvertible>>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextTemplate: string, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?XPeriod: #IConvertible, - [] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [] ?XPeriod0: #IConvertible, - [] ?YPeriod: #IConvertible, - [] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [] ?YPeriod0: #IConvertible, - [] ?TextFont: Font, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZAuto: bool, - [] ?ZHoverFormat: string, - [] ?ZMax: #IConvertible, - [] ?ZMid: #IConvertible, - [] ?ZMin: #IConvertible, - [] ?ZSmooth: StyleParam.SmoothAlg, - [] ?ConnectGaps: bool, - [] ?HoverLabel: Hoverlabel, - [] ?HoverOnGaps: bool, - [] ?Transpose: bool, - [] ?XCalendar: StyleParam.Calendar, - [] ?YCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?XType: StyleParam.CoordinateType, + ?XGap: int, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?YType: StyleParam.CoordinateType, + ?YGap: int, + ?Z: seq<#seq<#IConvertible>>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextTemplate: string, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?ColorAxis: StyleParam.SubPlotId, + ?XPeriod: #IConvertible, + ?XPeriodAlignment: StyleParam.PeriodAlignment, + ?XPeriod0: #IConvertible, + ?YPeriod: #IConvertible, + ?YPeriodAlignment: StyleParam.PeriodAlignment, + ?YPeriod0: #IConvertible, + ?TextFont: Font, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZAuto: bool, + ?ZHoverFormat: string, + ?ZMax: #IConvertible, + ?ZMid: #IConvertible, + ?ZMin: #IConvertible, + ?ZSmooth: StyleParam.SmoothAlg, + ?ConnectGaps: bool, + ?HoverLabel: Hoverlabel, + ?HoverOnGaps: bool, + ?Transpose: bool, + ?XCalendar: StyleParam.Calendar, + ?YCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (heatmap: ('T :> Trace)) -> @@ -2020,38 +2020,38 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Image ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X0: #IConvertible, - [] ?DX: #IConvertible, - [] ?Y0: #IConvertible, - [] ?DY: #IConvertible, - [] ?Z: #seq<#seq<#seq>>, - [] ?Source: string, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?ColorModel: StyleParam.ColorModel, - [] ?ZMax: StyleParam.ColorComponentBound, - [] ?ZMin: StyleParam.ColorComponentBound, - [] ?ZSmooth: StyleParam.SmoothAlg, - [] ?HoverLabel: Hoverlabel, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Z: #seq<#seq<#seq>>, + ?Source: string, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?ColorModel: StyleParam.ColorModel, + ?ZMax: StyleParam.ColorComponentBound, + ?ZMin: StyleParam.ColorComponentBound, + ?ZSmooth: StyleParam.SmoothAlg, + ?HoverLabel: Hoverlabel, + ?UIRevision: string ) = fun (image: ('T :> Trace)) -> @@ -2155,70 +2155,70 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Contour ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?X0: #IConvertible, - [] ?DX: #IConvertible, - [] ?XType: StyleParam.CoordinateType, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq>, - [] ?Y0: #IConvertible, - [] ?DY: #IConvertible, - [] ?YType: StyleParam.CoordinateType, - [] ?Z: seq<#seq<#IConvertible>>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextTemplate: string, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?XPeriod: #IConvertible, - [] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [] ?XPeriod0: #IConvertible, - [] ?YPeriod: #IConvertible, - [] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [] ?YPeriod0: #IConvertible, - [] ?Line: Line, - [] ?TextFont: Font, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZAuto: bool, - [] ?ZHoverFormat: string, - [] ?ZMax: #IConvertible, - [] ?ZMid: #IConvertible, - [] ?ZMin: #IConvertible, - [] ?AutoContour: bool, - [] ?ConnectGaps: bool, - [] ?Contours: Contours, - [] ?FillColor: Color, - [] ?HoverLabel: Hoverlabel, - [] ?HoverOnGaps: bool, - [] ?NContours: int, - [] ?Transpose: bool, - [] ?XCalendar: StyleParam.Calendar, - [] ?YCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?XType: StyleParam.CoordinateType, + ?Y: seq<#IConvertible>, + ?MultiY: seq>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?YType: StyleParam.CoordinateType, + ?Z: seq<#seq<#IConvertible>>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextTemplate: string, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?ColorAxis: StyleParam.SubPlotId, + ?XPeriod: #IConvertible, + ?XPeriodAlignment: StyleParam.PeriodAlignment, + ?XPeriod0: #IConvertible, + ?YPeriod: #IConvertible, + ?YPeriodAlignment: StyleParam.PeriodAlignment, + ?YPeriod0: #IConvertible, + ?Line: Line, + ?TextFont: Font, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZAuto: bool, + ?ZHoverFormat: string, + ?ZMax: #IConvertible, + ?ZMid: #IConvertible, + ?ZMin: #IConvertible, + ?AutoContour: bool, + ?ConnectGaps: bool, + ?Contours: Contours, + ?FillColor: Color, + ?HoverLabel: Hoverlabel, + ?HoverOnGaps: bool, + ?NContours: int, + ?Transpose: bool, + ?XCalendar: StyleParam.Calendar, + ?YCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (contour: ('T :> Trace)) -> @@ -2328,46 +2328,46 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member OHLC ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Close: seq<#IConvertible>, - [] ?Open: seq<#IConvertible>, - [] ?High: seq<#IConvertible>, - [] ?Low: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?XPeriod: #IConvertible, - [] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [] ?XPeriod0: #IConvertible, - [] ?YPeriod: #IConvertible, - [] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [] ?YPeriod0: #IConvertible, - [] ?Line: Line, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Increasing: FinanceMarker, - [] ?Decreasing: FinanceMarker, - [] ?HoverLabel: Hoverlabel, - [] ?TickWidth: float, - [] ?XCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Close: seq<#IConvertible>, + ?Open: seq<#IConvertible>, + ?High: seq<#IConvertible>, + ?Low: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?XPeriod: #IConvertible, + ?XPeriodAlignment: StyleParam.PeriodAlignment, + ?XPeriod0: #IConvertible, + ?YPeriod: #IConvertible, + ?YPeriodAlignment: StyleParam.PeriodAlignment, + ?YPeriod0: #IConvertible, + ?Line: Line, + ?SelectedPoints: seq<#IConvertible>, + ?Increasing: FinanceMarker, + ?Decreasing: FinanceMarker, + ?HoverLabel: Hoverlabel, + ?TickWidth: float, + ?XCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (ohlc: ('T :> Trace)) -> @@ -2455,46 +2455,46 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Candlestick ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq>, - [] ?Close: seq<#IConvertible>, - [] ?Open: seq<#IConvertible>, - [] ?High: seq<#IConvertible>, - [] ?Low: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?XPeriod: #IConvertible, - [] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [] ?XPeriod0: #IConvertible, - [] ?YPeriod: #IConvertible, - [] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [] ?YPeriod0: #IConvertible, - [] ?Line: Line, - [] ?WhiskerWidth: float, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Increasing: FinanceMarker, - [] ?Decreasing: FinanceMarker, - [] ?HoverLabel: Hoverlabel, - [] ?XCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq>, + ?Close: seq<#IConvertible>, + ?Open: seq<#IConvertible>, + ?High: seq<#IConvertible>, + ?Low: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?XPeriod: #IConvertible, + ?XPeriodAlignment: StyleParam.PeriodAlignment, + ?XPeriod0: #IConvertible, + ?YPeriod: #IConvertible, + ?YPeriodAlignment: StyleParam.PeriodAlignment, + ?YPeriod0: #IConvertible, + ?Line: Line, + ?WhiskerWidth: float, + ?SelectedPoints: seq<#IConvertible>, + ?Increasing: FinanceMarker, + ?Decreasing: FinanceMarker, + ?HoverLabel: Hoverlabel, + ?XCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> @@ -2574,38 +2574,38 @@ type Trace2DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Splom ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?Dimensions: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?Marker: Marker, - [] ?Diagonal: SplomDiagonal, - [] ?XAxes: seq, - [] ?YAxes: seq, - [] ?ShowLowerHalf: bool, - [] ?ShowUpperHalf: bool, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?HoverLabel: Hoverlabel, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?Dimensions: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?Marker: Marker, + ?Diagonal: SplomDiagonal, + ?XAxes: seq, + ?YAxes: seq, + ?ShowLowerHalf: bool, + ?ShowUpperHalf: bool, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?HoverLabel: Hoverlabel, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> diff --git a/src/Plotly.NET/Traces/Trace3D.fs b/src/Plotly.NET/Traces/Trace3D.fs index e87b07811..5017fe217 100644 --- a/src/Plotly.NET/Traces/Trace3D.fs +++ b/src/Plotly.NET/Traces/Trace3D.fs @@ -48,7 +48,7 @@ type Trace3DStyle() = // ######################## 3d-Charts - static member SetScene([] ?SceneId: StyleParam.SubPlotId) = + static member SetScene(?SceneId: StyleParam.SubPlotId) = fun (trace: Trace3D) -> trace |> DynObj.withOptionalPropertyBy "scene" SceneId StyleParam.SubPlotId.toString @@ -103,51 +103,51 @@ type Trace3DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Scatter3D ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Mode: StyleParam.Mode, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?Y: seq<#IConvertible>, - [] ?Z: seq<#IConvertible>, - [] ?SurfaceColor: Color, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?Scene: StyleParam.SubPlotId, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?TextFont: Font, - [] ?XError: Error, - [] ?YError: Error, - [] ?ZError: Error, - [] ?ZHoverFormat: string, - [] ?ConnectGaps: bool, - [] ?Hoverlabel: Hoverlabel, - [] ?Projection: Projection, - [] ?Surfaceaxis: StyleParam.SurfaceAxis, - [] ?XCalendar: StyleParam.Calendar, - [] ?YCalendar: StyleParam.Calendar, - [] ?ZCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Mode: StyleParam.Mode, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible>, + ?Z: seq<#IConvertible>, + ?SurfaceColor: Color, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?Scene: StyleParam.SubPlotId, + ?Marker: Marker, + ?Line: Line, + ?TextFont: Font, + ?XError: Error, + ?YError: Error, + ?ZError: Error, + ?ZHoverFormat: string, + ?ConnectGaps: bool, + ?Hoverlabel: Hoverlabel, + ?Projection: Projection, + ?Surfaceaxis: StyleParam.SurfaceAxis, + ?XCalendar: StyleParam.Calendar, + ?YCalendar: StyleParam.Calendar, + ?ZCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (scatter: #Trace) -> @@ -246,53 +246,53 @@ type Trace3DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Surface ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?Y: seq<#IConvertible>, - [] ?Z: seq<#seq<#IConvertible>>, - [] ?SurfaceColor: Color, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?Scene: StyleParam.SubPlotId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZHoverFormat: string, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?ConnectGaps: bool, - [] ?Contours: Contours, - [] ?HideSurface: bool, - [] ?Hoverlabel: Hoverlabel, - [] ?Lighting: Lighting, - [] ?LightPosition: LightPosition, - [] ?OpacityScale: seq<#seq<#IConvertible>>, - [] ?XCalendar: StyleParam.Calendar, - [] ?YCalendar: StyleParam.Calendar, - [] ?ZCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible>, + ?Z: seq<#seq<#IConvertible>>, + ?SurfaceColor: Color, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?Scene: StyleParam.SubPlotId, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZHoverFormat: string, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?ConnectGaps: bool, + ?Contours: Contours, + ?HideSurface: bool, + ?Hoverlabel: Hoverlabel, + ?Lighting: Lighting, + ?LightPosition: LightPosition, + ?OpacityScale: seq<#seq<#IConvertible>>, + ?XCalendar: StyleParam.Calendar, + ?YCalendar: StyleParam.Calendar, + ?ZCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (surface: #Trace) -> @@ -401,60 +401,60 @@ type Trace3DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Mesh3D ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?Y: seq<#IConvertible>, - [] ?Z: seq<#IConvertible>, - [] ?I: seq<#IConvertible>, - [] ?J: seq<#IConvertible>, - [] ?K: seq<#IConvertible>, - [] ?FaceColor: Color, - [] ?Intensity: seq<#IConvertible>, - [] ?IntensityMode: StyleParam.IntensityMode, - [] ?VertexColor: Color, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?Scene: StyleParam.SubPlotId, - [] ?Color: Color, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZHoverFormat: string, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?AlphaHull: StyleParam.TriangulationAlgorithm, - [] ?Delaunayaxis: StyleParam.Delaunayaxis, - [] ?Contour: Contour, - [] ?FlatShading: bool, - [] ?Hoverlabel: Hoverlabel, - [] ?Lighting: Lighting, - [] ?LightPosition: LightPosition, - [] ?XCalendar: StyleParam.Calendar, - [] ?YCalendar: StyleParam.Calendar, - [] ?ZCalendar: StyleParam.Calendar, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible>, + ?Z: seq<#IConvertible>, + ?I: seq<#IConvertible>, + ?J: seq<#IConvertible>, + ?K: seq<#IConvertible>, + ?FaceColor: Color, + ?Intensity: seq<#IConvertible>, + ?IntensityMode: StyleParam.IntensityMode, + ?VertexColor: Color, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?Scene: StyleParam.SubPlotId, + ?Color: Color, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZHoverFormat: string, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?AlphaHull: StyleParam.TriangulationAlgorithm, + ?Delaunayaxis: StyleParam.Delaunayaxis, + ?Contour: Contour, + ?FlatShading: bool, + ?Hoverlabel: Hoverlabel, + ?Lighting: Lighting, + ?LightPosition: LightPosition, + ?XCalendar: StyleParam.Calendar, + ?YCalendar: StyleParam.Calendar, + ?ZCalendar: StyleParam.Calendar, + ?UIRevision: string ) = fun (mesh3d: #Trace) -> @@ -566,54 +566,54 @@ type Trace3DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Cone ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?Y: seq<#IConvertible>, - [] ?Z: seq<#IConvertible>, - [] ?U: seq<#IConvertible>, - [] ?V: seq<#IConvertible>, - [] ?W: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?UHoverFormat: string, - [] ?VHoverFormat: string, - [] ?WHoverFormat: string, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Scene: StyleParam.SubPlotId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZHoverFormat: string, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?Anchor: StyleParam.ConeAnchor, - [] ?HoverLabel: Hoverlabel, - [] ?Lighting: Lighting, - [] ?LightPosition: LightPosition, - [] ?SizeMode: StyleParam.ConeSizeMode, - [] ?SizeRef: float, - [] ?UIRevision: seq<#IConvertible> + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible>, + ?Z: seq<#IConvertible>, + ?U: seq<#IConvertible>, + ?V: seq<#IConvertible>, + ?W: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?UHoverFormat: string, + ?VHoverFormat: string, + ?WHoverFormat: string, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Scene: StyleParam.SubPlotId, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZHoverFormat: string, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Anchor: StyleParam.ConeAnchor, + ?HoverLabel: Hoverlabel, + ?Lighting: Lighting, + ?LightPosition: LightPosition, + ?SizeMode: StyleParam.ConeSizeMode, + ?SizeRef: float, + ?UIRevision: seq<#IConvertible> ) = fun (cone: #Trace) -> cone @@ -716,54 +716,54 @@ type Trace3DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member StreamTube ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?Y: seq<#IConvertible>, - [] ?Z: seq<#IConvertible>, - [] ?U: seq<#IConvertible>, - [] ?V: seq<#IConvertible>, - [] ?W: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?UHoverFormat: string, - [] ?VHoverFormat: string, - [] ?WHoverFormat: string, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Scene: StyleParam.SubPlotId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZHoverFormat: string, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?HoverLabel: Hoverlabel, - [] ?Lighting: Lighting, - [] ?LightPosition: LightPosition, - [] ?MaxDisplayed: int, - [] ?SizeRef: float, - [] ?Starts: StreamTubeStarts, - [] ?UIRevision: seq<#IConvertible> + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible>, + ?Z: seq<#IConvertible>, + ?U: seq<#IConvertible>, + ?V: seq<#IConvertible>, + ?W: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?UHoverFormat: string, + ?VHoverFormat: string, + ?WHoverFormat: string, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Scene: StyleParam.SubPlotId, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZHoverFormat: string, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?HoverLabel: Hoverlabel, + ?Lighting: Lighting, + ?LightPosition: LightPosition, + ?MaxDisplayed: int, + ?SizeRef: float, + ?Starts: StreamTubeStarts, + ?UIRevision: seq<#IConvertible> ) = fun (streamTube: #Trace) -> streamTube @@ -868,56 +868,56 @@ type Trace3DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Volume ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?Y: seq<#IConvertible>, - [] ?Z: seq<#IConvertible>, - [] ?Value: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?ValueHoverFormat: string, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Scene: StyleParam.SubPlotId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZHoverFormat: string, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?Caps: Caps, - [] ?Contour: Contour, - [] ?FlatShading: bool, - [] ?HoverLabel: Hoverlabel, - [] ?IsoMax: float, - [] ?IsoMin: float, - [] ?Lighting: Lighting, - [] ?LightPosition: LightPosition, - [] ?OpacityScale: seq<#seq<#IConvertible>>, - [] ?Slices: Slices, - [] ?SpaceFrame: Spaceframe, - [] ?Surface: Surface, - [] ?UIRevision: seq<#IConvertible> + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible>, + ?Z: seq<#IConvertible>, + ?Value: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?ValueHoverFormat: string, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Scene: StyleParam.SubPlotId, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZHoverFormat: string, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Caps: Caps, + ?Contour: Contour, + ?FlatShading: bool, + ?HoverLabel: Hoverlabel, + ?IsoMax: float, + ?IsoMin: float, + ?Lighting: Lighting, + ?LightPosition: LightPosition, + ?OpacityScale: seq<#seq<#IConvertible>>, + ?Slices: Slices, + ?SpaceFrame: Spaceframe, + ?Surface: Surface, + ?UIRevision: seq<#IConvertible> ) = fun (volume: #Trace) -> @@ -1025,56 +1025,56 @@ type Trace3DStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member IsoSurface ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?Y: seq<#IConvertible>, - [] ?Z: seq<#IConvertible>, - [] ?Value: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?XHoverFormat: string, - [] ?YHoverFormat: string, - [] ?ValueHoverFormat: string, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Scene: StyleParam.SubPlotId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZHoverFormat: string, - [] ?CAuto: bool, - [] ?CMax: float, - [] ?CMid: float, - [] ?CMin: float, - [] ?Caps: Caps, - [] ?Contour: Contour, - [] ?FlatShading: bool, - [] ?HoverLabel: Hoverlabel, - [] ?IsoMax: float, - [] ?IsoMin: float, - [] ?Lighting: Lighting, - [] ?LightPosition: LightPosition, - [] ?OpacityScale: seq<#seq<#IConvertible>>, - [] ?Slices: Slices, - [] ?SpaceFrame: Spaceframe, - [] ?Surface: Surface, - [] ?UIRevision: seq<#IConvertible> + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible>, + ?Z: seq<#IConvertible>, + ?Value: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?ValueHoverFormat: string, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Scene: StyleParam.SubPlotId, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZHoverFormat: string, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Caps: Caps, + ?Contour: Contour, + ?FlatShading: bool, + ?HoverLabel: Hoverlabel, + ?IsoMax: float, + ?IsoMin: float, + ?Lighting: Lighting, + ?LightPosition: LightPosition, + ?OpacityScale: seq<#seq<#IConvertible>>, + ?Slices: Slices, + ?SpaceFrame: Spaceframe, + ?Surface: Surface, + ?UIRevision: seq<#IConvertible> ) = fun (isoSurface: #Trace) -> diff --git a/src/Plotly.NET/Traces/TraceCarpet.fs b/src/Plotly.NET/Traces/TraceCarpet.fs index f9b69cddf..b910446ea 100644 --- a/src/Plotly.NET/Traces/TraceCarpet.fs +++ b/src/Plotly.NET/Traces/TraceCarpet.fs @@ -26,8 +26,8 @@ type TraceCarpetStyle() = /// Sets the given axis anchor id(s) on a Trace object. static member SetAxisAnchor ( - [] ?X: StyleParam.LinearAxisId, - [] ?Y: StyleParam.LinearAxisId + ?X: StyleParam.LinearAxisId, + ?Y: StyleParam.LinearAxisId ) = fun (trace: TraceCarpet) -> @@ -35,7 +35,7 @@ type TraceCarpetStyle() = |> DynObj.withOptionalPropertyBy "xaxis" X StyleParam.LinearAxisId.toString |> DynObj.withOptionalPropertyBy "yaxis" Y StyleParam.LinearAxisId.toString - static member SetCarpet([] ?CarpetId: StyleParam.SubPlotId) = + static member SetCarpet(?CarpetId: StyleParam.SubPlotId) = fun (trace: TraceCarpet) -> trace |> DynObj.withOptionalPropertyBy "carpet" CarpetId StyleParam.SubPlotId.toString @@ -74,36 +74,36 @@ type TraceCarpetStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Carpet ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?X: seq<#IConvertible>, - [] ?MultiX: seq<#seq<#IConvertible>>, - [] ?Y: seq<#IConvertible>, - [] ?MultiY: seq<#seq<#IConvertible>>, - [] ?A: seq<#IConvertible>, - [] ?A0: #IConvertible, - [] ?DA: #IConvertible, - [] ?B: seq<#IConvertible>, - [] ?B0: #IConvertible, - [] ?DB: #IConvertible, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?AAxis: LinearAxis, - [] ?BAxis: LinearAxis, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?Color: Color, - [] ?Carpet: StyleParam.SubPlotId, - [] ?CheaterSlope: float, - [] ?Font: Font, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?X: seq<#IConvertible>, + ?MultiX: seq<#seq<#IConvertible>>, + ?Y: seq<#IConvertible>, + ?MultiY: seq<#seq<#IConvertible>>, + ?A: seq<#IConvertible>, + ?A0: #IConvertible, + ?DA: #IConvertible, + ?B: seq<#IConvertible>, + ?B0: #IConvertible, + ?DB: #IConvertible, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?AAxis: LinearAxis, + ?BAxis: LinearAxis, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?Color: Color, + ?Carpet: StyleParam.SubPlotId, + ?CheaterSlope: float, + ?Font: Font, + ?UIRevision: string ) = fun (trace: #Trace) -> @@ -182,46 +182,46 @@ type TraceCarpetStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member ScatterCarpet ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Mode: StyleParam.Mode, - [] ?Ids: seq<#IConvertible>, - [] ?A: seq<#IConvertible>, - [] ?B: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?TextFont: Font, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?Carpet: StyleParam.SubPlotId, - [] ?ConnectGaps: bool, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?HoverLabel: Hoverlabel, - [] ?HoverOn: StyleParam.HoverOn, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Mode: StyleParam.Mode, + ?Ids: seq<#IConvertible>, + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?Marker: Marker, + ?Line: Line, + ?TextFont: Font, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?Carpet: StyleParam.SubPlotId, + ?ConnectGaps: bool, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?HoverLabel: Hoverlabel, + ?HoverOn: StyleParam.HoverOn, + ?UIRevision: string ) = fun (trace: #Trace) -> @@ -311,50 +311,50 @@ type TraceCarpetStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member ContourCarpet ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?Z: seq<#IConvertible>, - [] ?A: seq<#IConvertible>, - [] ?AType: StyleParam.CoordinateType, - [] ?A0: #IConvertible, - [] ?DA: #IConvertible, - [] ?B: seq<#IConvertible>, - [] ?BType: StyleParam.CoordinateType, - [] ?B0: #IConvertible, - [] ?DB: #IConvertible, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?XAxis: StyleParam.LinearAxisId, - [] ?YAxis: StyleParam.LinearAxisId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?Line: Line, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZAuto: bool, - [] ?ZMax: #IConvertible, - [] ?ZMid: #IConvertible, - [] ?ZMin: #IConvertible, - [] ?AutoContour: bool, - [] ?Carpet: StyleParam.SubPlotId, - [] ?Contours: Contours, - [] ?FillColor: Color, - [] ?NContours: int, - [] ?Transpose: bool, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?Z: seq<#IConvertible>, + ?A: seq<#IConvertible>, + ?AType: StyleParam.CoordinateType, + ?A0: #IConvertible, + ?DA: #IConvertible, + ?B: seq<#IConvertible>, + ?BType: StyleParam.CoordinateType, + ?B0: #IConvertible, + ?DB: #IConvertible, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?XAxis: StyleParam.LinearAxisId, + ?YAxis: StyleParam.LinearAxisId, + ?ColorAxis: StyleParam.SubPlotId, + ?Line: Line, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZAuto: bool, + ?ZMax: #IConvertible, + ?ZMid: #IConvertible, + ?ZMin: #IConvertible, + ?AutoContour: bool, + ?Carpet: StyleParam.SubPlotId, + ?Contours: Contours, + ?FillColor: Color, + ?NContours: int, + ?Transpose: bool, + ?UIRevision: string ) = fun (trace: #Trace) -> diff --git a/src/Plotly.NET/Traces/TraceDomain.fs b/src/Plotly.NET/Traces/TraceDomain.fs index 74659635e..73b6d63b8 100644 --- a/src/Plotly.NET/Traces/TraceDomain.fs +++ b/src/Plotly.NET/Traces/TraceDomain.fs @@ -42,7 +42,7 @@ type TraceDomain(traceTypeName) = type TraceDomainStyle() = - static member SetDomain([] ?Domain: Domain) = + static member SetDomain(?Domain: Domain) = fun (trace: TraceDomain) -> trace |> DynObj.withOptionalProperty "domain" Domain @@ -95,50 +95,50 @@ type TraceDomainStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Pie ( - [] ?Name: string, - [] ?Title: Title, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?Values: seq<#IConvertible>, - [] ?Labels: seq<#IConvertible>, - [] ?DLabel: #IConvertible, - [] ?Label0: #IConvertible, - [] ?Pull: float, - [] ?MultiPull: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Domain: Domain, - [] ?AutoMargin: bool, - [] ?Marker: Marker, - [] ?TextFont: Font, - [] ?TextInfo: StyleParam.TextInfo, - [] ?Direction: StyleParam.Direction, - [] ?Hole: float, - [] ?HoverLabel: Hoverlabel, - [] ?InsideTextFont: Font, - [] ?InsideTextOrientation: StyleParam.InsideTextOrientation, - [] ?OutsideTextFont: Font, - [] ?Rotation: float, - [] ?ScaleGroup: string, - [] ?Sort: bool, - [] ?UIRevision: string + ?Name: string, + ?Title: Title, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?Values: seq<#IConvertible>, + ?Labels: seq<#IConvertible>, + ?DLabel: #IConvertible, + ?Label0: #IConvertible, + ?Pull: float, + ?MultiPull: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Domain: Domain, + ?AutoMargin: bool, + ?Marker: Marker, + ?TextFont: Font, + ?TextInfo: StyleParam.TextInfo, + ?Direction: StyleParam.Direction, + ?Hole: float, + ?HoverLabel: Hoverlabel, + ?InsideTextFont: Font, + ?InsideTextOrientation: StyleParam.InsideTextOrientation, + ?OutsideTextFont: Font, + ?Rotation: float, + ?ScaleGroup: string, + ?Sort: bool, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> trace @@ -223,43 +223,43 @@ type TraceDomainStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member FunnelArea ( - [] ?Name: string, - [] ?Title: Title, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?Values: seq<#IConvertible>, - [] ?Labels: seq<#IConvertible>, - [] ?DLabel: #IConvertible, - [] ?Label0: #IConvertible, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Domain: Domain, - [] ?Marker: Marker, - [] ?TextFont: Font, - [] ?TextInfo: StyleParam.TextInfo, - [] ?AspectRatio: float, - [] ?BaseRatio: float, - [] ?HoverLabel: Hoverlabel, - [] ?InsideTextFont: Font, - [] ?ScaleGroup: string, - [] ?UIRevision: string + ?Name: string, + ?Title: Title, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?Values: seq<#IConvertible>, + ?Labels: seq<#IConvertible>, + ?DLabel: #IConvertible, + ?Label0: #IConvertible, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Domain: Domain, + ?Marker: Marker, + ?TextFont: Font, + ?TextInfo: StyleParam.TextInfo, + ?AspectRatio: float, + ?BaseRatio: float, + ?HoverLabel: Hoverlabel, + ?InsideTextFont: Font, + ?ScaleGroup: string, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> trace @@ -342,47 +342,47 @@ type TraceDomainStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Sunburst ( - [] ?Name: string, - [] ?Title: Title, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendGroup: string, - [] ?LegendRank: int, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?Parents: seq<#IConvertible>, - [] ?Values: seq<#IConvertible>, - [] ?Labels: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Domain: Domain, - [] ?Marker: Marker, - [] ?TextFont: Font, - [] ?TextInfo: StyleParam.TextInfo, - [] ?BranchValues: StyleParam.BranchValues, - [] ?Count: string, - [] ?HoverLabel: Hoverlabel, - [] ?InsideTextFont: Font, - [] ?InsideTextOrientation: StyleParam.InsideTextOrientation, - [] ?OutsideTextFont: Font, - [] ?Root: SunburstRoot, - [] ?Leaf: SunburstLeaf, - [] ?Level: string, - [] ?MaxDepth: int, - [] ?Rotation: int, - [] ?Sort: bool, - [] ?UIRevision: string + ?Name: string, + ?Title: Title, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendGroup: string, + ?LegendRank: int, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?Parents: seq<#IConvertible>, + ?Values: seq<#IConvertible>, + ?Labels: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Domain: Domain, + ?Marker: Marker, + ?TextFont: Font, + ?TextInfo: StyleParam.TextInfo, + ?BranchValues: StyleParam.BranchValues, + ?Count: string, + ?HoverLabel: Hoverlabel, + ?InsideTextFont: Font, + ?InsideTextOrientation: StyleParam.InsideTextOrientation, + ?OutsideTextFont: Font, + ?Root: SunburstRoot, + ?Leaf: SunburstLeaf, + ?Level: string, + ?MaxDepth: int, + ?Rotation: int, + ?Sort: bool, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> @@ -471,47 +471,47 @@ type TraceDomainStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Treemap ( - [] ?Name: string, - [] ?Title: Title, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?Parents: seq<#IConvertible>, - [] ?Values: seq<#IConvertible>, - [] ?Labels: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Domain: Domain, - [] ?Marker: Marker, - [] ?TextFont: Font, - [] ?TextInfo: StyleParam.TextInfo, - [] ?BranchValues: StyleParam.BranchValues, - [] ?Count: string, - [] ?Tiling: TreemapTiling, - [] ?PathBar: Pathbar, - [] ?HoverLabel: Hoverlabel, - [] ?InsideTextFont: Font, - [] ?OutsideTextFont: Font, - [] ?Root: TreemapRoot, - [] ?Level: string, - [] ?MaxDepth: int, - [] ?UIRevision: string + ?Name: string, + ?Title: Title, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?Parents: seq<#IConvertible>, + ?Values: seq<#IConvertible>, + ?Labels: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Domain: Domain, + ?Marker: Marker, + ?TextFont: Font, + ?TextInfo: StyleParam.TextInfo, + ?BranchValues: StyleParam.BranchValues, + ?Count: string, + ?Tiling: TreemapTiling, + ?PathBar: Pathbar, + ?HoverLabel: Hoverlabel, + ?InsideTextFont: Font, + ?OutsideTextFont: Font, + ?Root: TreemapRoot, + ?Level: string, + ?MaxDepth: int, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> @@ -577,25 +577,25 @@ type TraceDomainStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member ParallelCoord ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Ids: seq<#IConvertible>, - [] ?Dimensions: seq, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Domain: Domain, - [] ?Line: Line, - [] ?Unselected: TraceSelection, - [] ?LabelAngle: int, - [] ?LabelFont: Font, - [] ?LabelSide: StyleParam.Side, - [] ?RangeFont: Font, - [] ?TickFont: Font, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Ids: seq<#IConvertible>, + ?Dimensions: seq, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Domain: Domain, + ?Line: Line, + ?Unselected: TraceSelection, + ?LabelAngle: int, + ?LabelFont: Font, + ?LabelSide: StyleParam.Side, + ?RangeFont: Font, + ?TickFont: Font, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> trace @@ -644,26 +644,26 @@ type TraceDomainStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member ParallelCategories ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Counts: int, - [] ?Dimensions: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: seq<#IConvertible>, - [] ?Domain: Domain, - [] ?Line: Line, - [] ?Arrangement: StyleParam.CategoryArrangement, - [] ?BundleColors: bool, - [] ?SortPaths: StyleParam.SortAlgorithm, - [] ?Hoveron: StyleParam.HoverOn, - [] ?LabelFont: Font, - [] ?TickFont: Font, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?Legend: StyleParam.SubPlotId, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Counts: int, + ?Dimensions: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: seq<#IConvertible>, + ?Domain: Domain, + ?Line: Line, + ?Arrangement: StyleParam.CategoryArrangement, + ?BundleColors: bool, + ?SortPaths: StyleParam.SortAlgorithm, + ?Hoveron: StyleParam.HoverOn, + ?LabelFont: Font, + ?TickFont: Font, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> @@ -714,27 +714,27 @@ type TraceDomainStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Sankey ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Ids: seq<#IConvertible>, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Domain: Domain, - [] ?Orientation: StyleParam.Orientation, - [] ?Node: SankeyNodes, - [] ?Link: SankeyLinks, - [] ?TextFont: Font, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Arrangement: StyleParam.CategoryArrangement, - [] ?HoverLabel: Hoverlabel, - [] ?ValueFormat: string, - [] ?ValueSuffix: string, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Ids: seq<#IConvertible>, + ?HoverInfo: StyleParam.HoverInfo, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Domain: Domain, + ?Orientation: StyleParam.Orientation, + ?Node: SankeyNodes, + ?Link: SankeyLinks, + ?TextFont: Font, + ?SelectedPoints: seq<#IConvertible>, + ?Arrangement: StyleParam.CategoryArrangement, + ?HoverLabel: Hoverlabel, + ?ValueFormat: string, + ?ValueSuffix: string, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> @@ -784,23 +784,23 @@ type TraceDomainStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Table ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: bool, - [] ?LegendGroupTitle: Title, - [] ?Ids: seq<#IConvertible>, - [] ?ColumnOrder: seq, - [] ?ColumnWidth: float, - [] ?MultiColumnWidth: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Domain: Domain, - [] ?Cells: TableCells, - [] ?Header: TableHeader, - [] ?HoverLabel: Hoverlabel, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: bool, + ?LegendGroupTitle: Title, + ?Ids: seq<#IConvertible>, + ?ColumnOrder: seq, + ?ColumnWidth: float, + ?MultiColumnWidth: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Domain: Domain, + ?Cells: TableCells, + ?Header: TableHeader, + ?HoverLabel: Hoverlabel, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> trace @@ -843,23 +843,23 @@ type TraceDomainStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Indicator ( - [] ?Name: string, - [] ?Title: string, - [] ?Visible: StyleParam.Visible, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroupTitle: Title, - [] ?Mode: StyleParam.IndicatorMode, - [] ?Ids: seq<#IConvertible>, - [] ?Value: #IConvertible, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?Domain: Domain, - [] ?Align: StyleParam.IndicatorAlignment, - [] ?Delta: IndicatorDelta, - [] ?Number: IndicatorNumber, - [] ?Gauge: IndicatorGauge, - [] ?UIRevision: string + ?Name: string, + ?Title: string, + ?Visible: StyleParam.Visible, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroupTitle: Title, + ?Mode: StyleParam.IndicatorMode, + ?Ids: seq<#IConvertible>, + ?Value: #IConvertible, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?Domain: Domain, + ?Align: StyleParam.IndicatorAlignment, + ?Delta: IndicatorDelta, + ?Number: IndicatorNumber, + ?Gauge: IndicatorGauge, + ?UIRevision: string ) = fun (trace: #Trace) -> @@ -927,46 +927,46 @@ type TraceDomainStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member Icicle ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?Parents: seq<#IConvertible>, - [] ?Values: seq<#IConvertible>, - [] ?Labels: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?Domain: Domain, - [] ?Marker: Marker, - [] ?TextFont: Font, - [] ?TextInfo: StyleParam.TextInfo, - [] ?BranchValues: StyleParam.BranchValues, - [] ?Count: StyleParam.IcicleCount, - [] ?Tiling: IcicleTiling, - [] ?PathBar: Pathbar, - [] ?HoverLabel: Hoverlabel, - [] ?InsideTextFont: Font, - [] ?OutsideTextFont: Font, - [] ?Root: IcicleRoot, - [] ?Leaf: IcicleLeaf, - [] ?Level: string, - [] ?MaxDepth: int, - [] ?Sort: bool, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?Parents: seq<#IConvertible>, + ?Values: seq<#IConvertible>, + ?Labels: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?Domain: Domain, + ?Marker: Marker, + ?TextFont: Font, + ?TextInfo: StyleParam.TextInfo, + ?BranchValues: StyleParam.BranchValues, + ?Count: StyleParam.IcicleCount, + ?Tiling: IcicleTiling, + ?PathBar: Pathbar, + ?HoverLabel: Hoverlabel, + ?InsideTextFont: Font, + ?OutsideTextFont: Font, + ?Root: IcicleRoot, + ?Leaf: IcicleLeaf, + ?Level: string, + ?MaxDepth: int, + ?Sort: bool, + ?UIRevision: string ) = fun (trace: #Trace) -> diff --git a/src/Plotly.NET/Traces/TraceGeo.fs b/src/Plotly.NET/Traces/TraceGeo.fs index 478105431..1d2d2b10a 100644 --- a/src/Plotly.NET/Traces/TraceGeo.fs +++ b/src/Plotly.NET/Traces/TraceGeo.fs @@ -38,7 +38,7 @@ type TraceGeo(traceTypeName) = type TraceGeoStyle() = - static member SetGeo([] ?GeoId: StyleParam.SubPlotId) = + static member SetGeo(?GeoId: StyleParam.SubPlotId) = fun (trace: TraceGeo) -> trace |> DynObj.withOptionalPropertyBy "geo" GeoId StyleParam.SubPlotId.toString @@ -87,45 +87,45 @@ type TraceGeoStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member ChoroplethMap ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Ids: seq<#IConvertible>, - [] ?Z: seq<#IConvertible>, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?Locations: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?Geo: StyleParam.SubPlotId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?Marker: Marker, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZAuto: bool, - [] ?Zmin: float, - [] ?Zmid: float, - [] ?Zmax: float, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?HoverLabel: Hoverlabel, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Ids: seq<#IConvertible>, + ?Z: seq<#IConvertible>, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?Locations: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?Geo: StyleParam.SubPlotId, + ?ColorAxis: StyleParam.SubPlotId, + ?Marker: Marker, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZAuto: bool, + ?Zmin: float, + ?Zmid: float, + ?Zmax: float, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?HoverLabel: Hoverlabel, + ?LocationMode: StyleParam.LocationFormat, + ?UIRevision: string ) = fun (trace: #Trace) -> @@ -213,47 +213,47 @@ type TraceGeoStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member ScatterGeo ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Mode: StyleParam.Mode, - [] ?Ids: seq<#IConvertible>, - [] ?Lat: #IConvertible seq, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?Locations: seq, - [] ?Lon: #IConvertible seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?Geo: StyleParam.SubPlotId, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?TextFont: Font, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?ConnectGaps: bool, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?HoverLabel: Hoverlabel, - [] ?LocationMode: StyleParam.LocationFormat, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Mode: StyleParam.Mode, + ?Ids: seq<#IConvertible>, + ?Lat: #IConvertible seq, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?Locations: seq, + ?Lon: #IConvertible seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?Geo: StyleParam.SubPlotId, + ?Marker: Marker, + ?Line: Line, + ?TextFont: Font, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?ConnectGaps: bool, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?HoverLabel: Hoverlabel, + ?LocationMode: StyleParam.LocationFormat, + ?UIRevision: string ) = fun (trace: #Trace) -> diff --git a/src/Plotly.NET/Traces/TraceMapbox.fs b/src/Plotly.NET/Traces/TraceMapbox.fs index d970f6307..b976601ff 100644 --- a/src/Plotly.NET/Traces/TraceMapbox.fs +++ b/src/Plotly.NET/Traces/TraceMapbox.fs @@ -44,7 +44,7 @@ type TraceMapbox(traceTypeName) = type TraceMapboxStyle() = - static member SetMapbox([] ?MapboxId: StyleParam.SubPlotId) = + static member SetMapbox(?MapboxId: StyleParam.SubPlotId) = fun (trace: TraceMapbox) -> trace |> DynObj.withOptionalPropertyBy "subplot" MapboxId StyleParam.SubPlotId.toString @@ -93,45 +93,45 @@ type TraceMapboxStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member ScatterMapbox ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Mode: StyleParam.Mode, - [] ?Ids: seq<#IConvertible>, - [] ?Lat: #IConvertible seq, - [] ?Lon: #IConvertible seq, - [] ?Cluster: MapboxCluster, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?SubPlot: StyleParam.SubPlotId, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?TextFont: Font, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?Below: string, - [] ?ConnectGaps: bool, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?HoverLabel: Hoverlabel, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Mode: StyleParam.Mode, + ?Ids: seq<#IConvertible>, + ?Lat: #IConvertible seq, + ?Lon: #IConvertible seq, + ?Cluster: MapboxCluster, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?SubPlot: StyleParam.SubPlotId, + ?Marker: Marker, + ?Line: Line, + ?TextFont: Font, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?Below: string, + ?ConnectGaps: bool, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?HoverLabel: Hoverlabel, + ?UIRevision: string ) = fun (trace: #Trace) -> @@ -214,45 +214,45 @@ type TraceMapboxStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member ChoroplethMapbox ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Ids: seq<#IConvertible>, - [] ?Z: seq<#IConvertible>, - [] ?GeoJson: obj, - [] ?FeatureIdKey: string, - [] ?Locations: seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?SubPlot: StyleParam.SubPlotId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?Marker: Marker, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZAuto: bool, - [] ?Zmax: float, - [] ?Zmid: float, - [] ?Zmin: float, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?Below: string, - [] ?HoverLabel: Hoverlabel, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Ids: seq<#IConvertible>, + ?Z: seq<#IConvertible>, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?Locations: seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?SubPlot: StyleParam.SubPlotId, + ?ColorAxis: StyleParam.SubPlotId, + ?Marker: Marker, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZAuto: bool, + ?Zmax: float, + ?Zmid: float, + ?Zmin: float, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?Below: string, + ?HoverLabel: Hoverlabel, + ?UIRevision: string ) = fun (trace: #Trace) -> trace @@ -334,43 +334,43 @@ type TraceMapboxStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member DensityMapbox ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?Z: seq<#IConvertible>, - [] ?Radius: int, - [] ?Lat: #IConvertible seq, - [] ?Lon: #IConvertible seq, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?SubPlot: StyleParam.SubPlotId, - [] ?ColorAxis: StyleParam.SubPlotId, - [] ?Marker: Marker, - [] ?ColorBar: ColorBar, - [] ?AutoColorScale: bool, - [] ?ColorScale: StyleParam.Colorscale, - [] ?ShowScale: bool, - [] ?ReverseScale: bool, - [] ?ZAuto: bool, - [] ?Zmin: float, - [] ?Zmid: float, - [] ?Zmax: float, - [] ?Below: string, - [] ?HoverLabel: Hoverlabel, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?Z: seq<#IConvertible>, + ?Radius: int, + ?Lat: #IConvertible seq, + ?Lon: #IConvertible seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?SubPlot: StyleParam.SubPlotId, + ?ColorAxis: StyleParam.SubPlotId, + ?Marker: Marker, + ?ColorBar: ColorBar, + ?AutoColorScale: bool, + ?ColorScale: StyleParam.Colorscale, + ?ShowScale: bool, + ?ReverseScale: bool, + ?ZAuto: bool, + ?Zmin: float, + ?Zmid: float, + ?Zmax: float, + ?Below: string, + ?HoverLabel: Hoverlabel, + ?UIRevision: string ) = fun (trace: #Trace) -> trace diff --git a/src/Plotly.NET/Traces/TracePolar.fs b/src/Plotly.NET/Traces/TracePolar.fs index b1f5b6502..f187bad38 100644 --- a/src/Plotly.NET/Traces/TracePolar.fs +++ b/src/Plotly.NET/Traces/TracePolar.fs @@ -33,7 +33,7 @@ type TracePolar(traceTypeName) = /// Create various functions for applying polar chart styles to traces type TracePolarStyle() = - static member SetPolar([] ?PolarId: StyleParam.SubPlotId) = + static member SetPolar(?PolarId: StyleParam.SubPlotId) = fun (trace: TracePolar) -> trace |> DynObj.withOptionalPropertyBy "subplot" PolarId StyleParam.SubPlotId.toString @@ -86,50 +86,50 @@ type TracePolarStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member ScatterPolar ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Mode: StyleParam.Mode, - [] ?Ids: seq<#IConvertible>, - [] ?R: seq<#IConvertible>, - [] ?R0: IConvertible, - [] ?DR: IConvertible, - [] ?Theta: seq<#IConvertible>, - [] ?Theta0: #IConvertible, - [] ?DTheta: #IConvertible, - [] ?ThetaUnit: StyleParam.AngularUnit, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Subplot: StyleParam.SubPlotId, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?TextFont: Font, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?ClipOnAxis: bool, - [] ?ConnectGaps: bool, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?HoverLabel: Hoverlabel, - [] ?HoverOn: string, - [] ?UIRevision: seq<#IConvertible> + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Mode: StyleParam.Mode, + ?Ids: seq<#IConvertible>, + ?R: seq<#IConvertible>, + ?R0: IConvertible, + ?DR: IConvertible, + ?Theta: seq<#IConvertible>, + ?Theta0: #IConvertible, + ?DTheta: #IConvertible, + ?ThetaUnit: StyleParam.AngularUnit, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Subplot: StyleParam.SubPlotId, + ?Marker: Marker, + ?Line: Line, + ?TextFont: Font, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?ClipOnAxis: bool, + ?ConnectGaps: bool, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?HoverLabel: Hoverlabel, + ?HoverOn: string, + ?UIRevision: seq<#IConvertible> ) = fun (trace: ('T :> Trace)) -> @@ -216,43 +216,43 @@ type TracePolarStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member BarPolar ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Ids: seq<#IConvertible>, - [] ?Base: #IConvertible, - [] ?R: seq<#IConvertible>, - [] ?R0: IConvertible, - [] ?DR: IConvertible, - [] ?Theta: seq<#IConvertible>, - [] ?Theta0: #IConvertible, - [] ?DTheta: #IConvertible, - [] ?ThetaUnit: StyleParam.AngularUnit, - [] ?Width: #IConvertible, - [] ?MultiWidth: seq<#IConvertible>, - [] ?Offset: #IConvertible, - [] ?MultiOffset: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: seq<#IConvertible>, - [] ?CustomData: seq<#IConvertible>, - [] ?Subplot: StyleParam.SubPlotId, - [] ?Marker: Marker, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?HoverLabel: Hoverlabel, - [] ?UIRevision: seq<#IConvertible> + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?Base: #IConvertible, + ?R: seq<#IConvertible>, + ?R0: IConvertible, + ?DR: IConvertible, + ?Theta: seq<#IConvertible>, + ?Theta0: #IConvertible, + ?DTheta: #IConvertible, + ?ThetaUnit: StyleParam.AngularUnit, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?Offset: #IConvertible, + ?MultiOffset: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: seq<#IConvertible>, + ?CustomData: seq<#IConvertible>, + ?Subplot: StyleParam.SubPlotId, + ?Marker: Marker, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?HoverLabel: Hoverlabel, + ?UIRevision: seq<#IConvertible> ) = fun (trace: ('T :> Trace)) -> diff --git a/src/Plotly.NET/Traces/TraceSmith.fs b/src/Plotly.NET/Traces/TraceSmith.fs index 6c1d53b89..97e2b31d6 100644 --- a/src/Plotly.NET/Traces/TraceSmith.fs +++ b/src/Plotly.NET/Traces/TraceSmith.fs @@ -16,7 +16,7 @@ type TraceSmith(traceTypeName) = type TraceSmithStyle() = - static member SetSmith([] ?SmithId: StyleParam.SubPlotId) = + static member SetSmith(?SmithId: StyleParam.SubPlotId) = fun (trace: TraceSmith) -> trace |> DynObj.withOptionalPropertyBy "subplot" SmithId StyleParam.SubPlotId.toString @@ -65,45 +65,45 @@ type TraceSmithStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member ScatterSmith ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Mode: StyleParam.Mode, - [] ?Ids: seq<#IConvertible>, - [] ?Imag: seq<#IConvertible>, - [] ?Real: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?Subplot: StyleParam.SubPlotId, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?TextFont: Font, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?ClipOnAxis: bool, - [] ?ConnectGaps: bool, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?HoverLabel: Hoverlabel, - [] ?HoverOn: StyleParam.HoverOn, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Mode: StyleParam.Mode, + ?Ids: seq<#IConvertible>, + ?Imag: seq<#IConvertible>, + ?Real: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?Subplot: StyleParam.SubPlotId, + ?Marker: Marker, + ?Line: Line, + ?TextFont: Font, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?ClipOnAxis: bool, + ?ConnectGaps: bool, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?HoverLabel: Hoverlabel, + ?HoverOn: StyleParam.HoverOn, + ?UIRevision: string ) = fun (trace: ('T :> Trace)) -> trace diff --git a/src/Plotly.NET/Traces/TraceTernary.fs b/src/Plotly.NET/Traces/TraceTernary.fs index 3d83b272a..c46106c5f 100644 --- a/src/Plotly.NET/Traces/TraceTernary.fs +++ b/src/Plotly.NET/Traces/TraceTernary.fs @@ -16,7 +16,7 @@ type TraceTernary(traceTypeName) = type TraceTernaryStyle() = - static member SetTernary([] ?TernaryId: StyleParam.SubPlotId) = + static member SetTernary(?TernaryId: StyleParam.SubPlotId) = fun (trace: TraceTernary) -> trace |> DynObj.withOptionalPropertyBy "subplot" TernaryId StyleParam.SubPlotId.toString @@ -66,47 +66,47 @@ type TraceTernaryStyle() = /// Controls persistence of some user-driven changes to the trace: `constraintrange` in `parcoords` traces, as well as some `editable: true` modifications such as `name` and `colorbar.title`. Defaults to `layout.uirevision`. Note that other user-driven trace attribute changes are controlled by `layout` attributes: `trace.visible` is controlled by `layout.legend.uirevision`, `selectedpoints` is controlled by `layout.selectionrevision`, and `colorbar.(x|y)` (accessible with `config: {editable: true}`) is controlled by `layout.editrevision`. Trace changes are tracked by `uid`, which only falls back on trace index if no `uid` is provided. So if your app can add/remove traces before the end of the `data` array, such that the same trace has a different index, you can still preserve user-driven changes if you give each trace a `uid` that stays with it as it moves. static member ScatterTernary ( - [] ?Name: string, - [] ?Visible: StyleParam.Visible, - [] ?ShowLegend: bool, - [] ?Legend: StyleParam.SubPlotId, - [] ?LegendRank: int, - [] ?LegendGroup: string, - [] ?LegendGroupTitle: Title, - [] ?Opacity: float, - [] ?Mode: StyleParam.Mode, - [] ?Ids: seq<#IConvertible>, - [] ?A: seq<#IConvertible>, - [] ?B: seq<#IConvertible>, - [] ?C: seq<#IConvertible>, - [] ?Text: #IConvertible, - [] ?MultiText: seq<#IConvertible>, - [] ?TextPosition: StyleParam.TextPosition, - [] ?MultiTextPosition: seq, - [] ?TextTemplate: string, - [] ?MultiTextTemplate: seq, - [] ?HoverText: string, - [] ?MultiHoverText: seq, - [] ?HoverInfo: StyleParam.HoverInfo, - [] ?HoverTemplate: string, - [] ?MultiHoverTemplate: seq, - [] ?Meta: string, - [] ?CustomData: seq<#IConvertible>, - [] ?SubPlot: StyleParam.SubPlotId, - [] ?Marker: Marker, - [] ?Line: Line, - [] ?TextFont: Font, - [] ?SelectedPoints: seq<#IConvertible>, - [] ?Selected: TraceSelection, - [] ?Unselected: TraceSelection, - [] ?ClipOnAxis: bool, - [] ?ConnectGaps: bool, - [] ?Fill: StyleParam.Fill, - [] ?FillColor: Color, - [] ?HoverLabel: Hoverlabel, - [] ?HoverOn: StyleParam.HoverOn, - [] ?Sum: #IConvertible, - [] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Opacity: float, + ?Mode: StyleParam.Mode, + ?Ids: seq<#IConvertible>, + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?C: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq, + ?TextTemplate: string, + ?MultiTextTemplate: seq, + ?HoverText: string, + ?MultiHoverText: seq, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?SubPlot: StyleParam.SubPlotId, + ?Marker: Marker, + ?Line: Line, + ?TextFont: Font, + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection, + ?ClipOnAxis: bool, + ?ConnectGaps: bool, + ?Fill: StyleParam.Fill, + ?FillColor: Color, + ?HoverLabel: Hoverlabel, + ?HoverOn: StyleParam.HoverOn, + ?Sum: #IConvertible, + ?UIRevision: string ) = fun (trace: #Trace) -> diff --git a/tests/CoreTests/CSharpInteroperabilityTests/APITest/Chart2DAPITest.cs b/tests/CoreTests/CSharpInteroperabilityTests/APITest/Chart2DAPITest.cs deleted file mode 100644 index b779683af..000000000 --- a/tests/CoreTests/CSharpInteroperabilityTests/APITest/Chart2DAPITest.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Xunit; - -namespace Plotly.NET.Tests.CSharp.APITest -{ - public class Chart2DAPITest - { - private static readonly int[] x = new [] { 1, 2 }; - private static readonly int[] y = new [] { 1, 2 }; - private static readonly Tuple[] xy = x.Zip(y).Select(c => new Tuple(c.Item1, c.Item2)).ToArray(); - - [Fact] public void Scatter1() - => Chart2D.Chart.Scatter(x, y, StyleParam.Mode.Lines); - - [Fact] public void Scatter2() - => Chart2D.Chart.Scatter(xy, StyleParam.Mode.Lines); - - [Fact] public void Point1() - => Chart2D.Chart.Point(x, y); - - [Fact] public void Point2() - => Chart2D.Chart.Point(xy); - - [Fact] public void Line1() - => Chart2D.Chart.Line(x, y); - - [Fact] public void Line2() - => Chart2D.Chart.Line(xy); - } -} diff --git a/tests/CoreTests/CSharpInteroperabilityTests/APITest/Chart3DAPITest.cs b/tests/CoreTests/CSharpInteroperabilityTests/APITest/Chart3DAPITest.cs deleted file mode 100644 index 2c9520982..000000000 --- a/tests/CoreTests/CSharpInteroperabilityTests/APITest/Chart3DAPITest.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Xunit; - -namespace Plotly.NET.Tests.CSharp.APITest -{ - public class Chart3DAPITest - { - private static readonly int[] x = new[] { 1, 2 }; - private static readonly int[] y = new[] { 1, 2 }; - private static readonly int[] z = new[] { 1, 2 }; - private static readonly Tuple[] xyz = x.Zip(y).Zip(z).Select(c => new Tuple(c.Item1.First, c.Item1.Second, c.Item2)).ToArray(); - - [Fact] public void Scatter3d1() - => Chart3D.Chart.Scatter3D(x, y, z, StyleParam.Mode.Lines); - } -} diff --git a/tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartDomainAPITest.cs b/tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartDomainAPITest.cs deleted file mode 100644 index efb5d6725..000000000 --- a/tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartDomainAPITest.cs +++ /dev/null @@ -1,20 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Xunit; - -namespace Plotly.NET.Tests.CSharp.APITest -{ - public class ChartDomainAPITest - { - public int[][] xofy = new [] { new [] { 1, 2 }, new [] { 1, 2 } }; - private static readonly int[] x = new[] { 1, 2 }; - private static readonly int[] y = new[] { 1, 2 }; - - [Fact] - public void Table() - => ChartDomain.Chart.Table(xofy, xofy); - } -} diff --git a/tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartMapAPITest.cs b/tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartMapAPITest.cs deleted file mode 100644 index f6c1d9f28..000000000 --- a/tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartMapAPITest.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Xunit; - -namespace Plotly.NET.Tests.CSharp.APITest -{ - public class ChartMapAPITest - { - private static readonly int[] x = new[] { 1, 2 }; - private static readonly int[] y = new[] { 1, 2 }; - private static readonly int[] z = new[] { 1, 2 }; - private static readonly Tuple[] xyz = x.Zip(y).Zip(z).Select(c => new Tuple(c.Item1.First, c.Item1.Second, c.Item2)).ToArray(); - private static readonly Tuple[] xy = x.Zip(y).Select(c => new Tuple(c.Item1, c.Item2)).ToArray(); - - [Fact] - public void DensityMapBox() - => ChartMap.Chart.DensityMapbox(x, y); - } -} diff --git a/tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartPolarAPITest.cs b/tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartPolarAPITest.cs deleted file mode 100644 index d99fd125d..000000000 --- a/tests/CoreTests/CSharpInteroperabilityTests/APITest/ChartPolarAPITest.cs +++ /dev/null @@ -1,22 +0,0 @@ -using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; -using System.Threading.Tasks; -using Xunit; - -namespace Plotly.NET.Tests.CSharp.APITest -{ - public class ChartPolarAPITest - { - private static readonly int[] x = new[] { 1, 2 }; - private static readonly int[] y = new[] { 1, 2 }; - private static readonly int[] z = new[] { 1, 2 }; - private static readonly Tuple[] xyz = x.Zip(y).Zip(z).Select(c => new Tuple(c.Item1.First, c.Item1.Second, c.Item2)).ToArray(); - private static readonly Tuple[] xy = x.Zip(y).Select(c => new Tuple(c.Item1, c.Item2)).ToArray(); - - [Fact] - public void ScatterPlotter() - => ChartPolar.Chart.ScatterPolar(xy, StyleParam.Mode.Lines); - } -} diff --git a/tests/CoreTests/CSharpInteroperabilityTests/CSharpInteroperabilityTests.csproj b/tests/CoreTests/CSharpInteroperabilityTests/CSharpInteroperabilityTests.csproj deleted file mode 100644 index 04387c08b..000000000 --- a/tests/CoreTests/CSharpInteroperabilityTests/CSharpInteroperabilityTests.csproj +++ /dev/null @@ -1,25 +0,0 @@ - - - - net6.0 - false - - - - - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - runtime; build; native; contentfiles; analyzers; buildtransitive - all - - - - - - - - diff --git a/tests/CoreTests/CSharpInteroperabilityTests/LayoutObjectTests.cs b/tests/CoreTests/CSharpInteroperabilityTests/LayoutObjectTests.cs deleted file mode 100644 index 650963b9d..000000000 --- a/tests/CoreTests/CSharpInteroperabilityTests/LayoutObjectTests.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using Xunit; -using Plotly.NET; -using Plotly.NET.LayoutObjects; -using Microsoft.FSharp.Core; - -namespace Plotly.NET.Tests.CSharp -{ - public class LayoutObjectTests - { - [Fact] - public void OptionalArgumentsAndDynamicSettingAreEqual() - { - var actual = LinearAxis.init(Color: Color.fromString("red"), AxisType: StyleParam.AxisType.Linear); - - var expected = new LinearAxis(); - expected.SetProperty("color", Color.fromString("red")); - expected.SetProperty("type", StyleParam.AxisType.Linear.Convert()); - - Assert.Equal(expected.GetProperties(true), actual.GetProperties(true)); - } - } -} diff --git a/tests/CoreTests/CSharpInteroperabilityTests/StyleParamTests.cs b/tests/CoreTests/CSharpInteroperabilityTests/StyleParamTests.cs deleted file mode 100644 index 41c78cd7d..000000000 --- a/tests/CoreTests/CSharpInteroperabilityTests/StyleParamTests.cs +++ /dev/null @@ -1,23 +0,0 @@ -using System; -using Xunit; -using Plotly.NET; - -namespace Plotly.NET.Tests.CSharp -{ - public class StyleParamTests - { - [Fact] - public void CanUseToString() - { - var actual = StyleParam.Fill.ToSelf.ToString(); - Assert.Equal("toself", actual); - } - [Fact] - public void CanUseConvert() - { - var actual = StyleParam.Fill.ToNext.Convert(); - object expected = "tonext"; - Assert.Equal(expected, actual); - } - } -} diff --git a/tests/CoreTests/CSharpInteroperabilityTests/TraceObjectTests.cs b/tests/CoreTests/CSharpInteroperabilityTests/TraceObjectTests.cs deleted file mode 100644 index 5c662292a..000000000 --- a/tests/CoreTests/CSharpInteroperabilityTests/TraceObjectTests.cs +++ /dev/null @@ -1,11 +0,0 @@ -using System; -using Xunit; -using Plotly.NET; - - -namespace Plotly.NET.Tests.CSharp -{ - class TraceObjecttests - { - } -} From 334b4001f974fe4964ba1134230e555e79f0cf09 Mon Sep 17 00:00:00 2001 From: Kevin Schneider Date: Thu, 17 Oct 2024 15:06:14 +0200 Subject: [PATCH 2/5] fix missing args in C# bindings and some xml docs --- src/Plotly.NET.CSharp/ChartAPI/Chart2D.cs | 419 ++++- src/Plotly.NET.CSharp/ChartAPI/ChartDomain.cs | 72 +- src/Plotly.NET.CSharp/ChartAPI/ChartMap.cs | 19 + .../GenericChartExtensions.cs | 43 +- src/Plotly.NET/ChartAPI/Chart.fs | 1 + src/Plotly.NET/ChartAPI/Chart2D.fs | 13 +- tests/ConsoleApps/CSharpConsole/Program.cs | 1582 ++++++++--------- .../CSharpTests/ExtensionMethodsTests.cs | 2 +- 8 files changed, 1241 insertions(+), 910 deletions(-) diff --git a/src/Plotly.NET.CSharp/ChartAPI/Chart2D.cs b/src/Plotly.NET.CSharp/ChartAPI/Chart2D.cs index 7c7145718..0ec84d91d 100644 --- a/src/Plotly.NET.CSharp/ChartAPI/Chart2D.cs +++ b/src/Plotly.NET.CSharp/ChartAPI/Chart2D.cs @@ -7,6 +7,7 @@ using Plotly.NET.LayoutObjects; using Plotly.NET.TraceObjects; using System.Runtime.InteropServices; +using static Plotly.NET.StyleParam; namespace Plotly.NET.CSharp { @@ -15,11 +16,13 @@ public static partial class Chart /// /// Creates a Scatter plot. /// - /// Scatter charts are the basis of Point, Line, and Bubble Charts, and can be customized as such. We also provide abstractions for those Chart.Line, Chart.Point, Chart.Bubble + /// Scatter charts are the basis of Point, Line, and Bubble Charts, and can be customized as such. We also provide abstractions for those: Chart.Line, Chart.Point, Chart.Bubble /// - /// Sets the x coordinates of the plotted data. - /// Sets the y coordinates of the plotted data. - /// Determines the drawing mode for this scatter trace. + /// Sets the x coordinates of the plotted data. + /// Sets the x coordinates of the plotted data. Use two inner arrays here to plot multicategorial data + /// Sets the y coordinates of the plotted data. + /// Sets the x coordinates of the plotted data. Use two inner arrays here to plot multicategorial data + /// Determines the drawing mode for this scatter trace. /// Sets the trace name. The trace name appear as the legend item and on hover /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the opactity of the trace @@ -39,11 +42,14 @@ public static partial class Chart /// Sets the width of the line /// sets the drawing style of the line /// Sets the line (use this for more finegrained control than the other line-associated arguments) + /// Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. + /// Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. /// Set several traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `Orientation` is Horizontal). Stacking also turns `fill` on by default and sets the default `mode` to "lines" irrespective of point count. ou can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order /// Sets the stacking direction. Only relevant when `stackgroup` is used, and only the first `orientation` found in the `stackgroup` will be used. /// Sets the normalization for the sum of this `stackgroup. Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used /// Sets the area to fill with a solid color. Defaults to "none" unless this trace is stacked, then it gets "tonexty" ("tonextx") if `orientation` is "v" ("h") Use with `FillColor` if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0 respectively. "tonextx" and "tonexty" fill between the endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like "tozerox" and "tozeroy". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order. - /// ets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. + /// Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. + /// Sets the pattern within the marker. /// If true, plotly.js will use the WebGL engine to render this chart. use this when you want to render many objects at once. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Scatter( @@ -69,11 +75,14 @@ public static GenericChart Scatter( Optional LineWidth = default, Optional LineDash = default, Optional Line = default, + Optional AlignmentGroup = default, + Optional OffsetGroup = default, Optional StackGroup = default, Optional Orientation = default, Optional GroupNorm = default, Optional Fill = default, Optional FillColor = default, + Optional FillPattern = default, Optional UseWebGL = default, Optional UseDefaults = default ) @@ -104,11 +113,14 @@ public static GenericChart Scatter( LineWidth: LineWidth.ToOption(), LineDash: LineDash.ToOption(), Line: Line.ToOption(), + AlignmentGroup: AlignmentGroup.ToOption(), + OffsetGroup: OffsetGroup.ToOption(), StackGroup: StackGroup.ToOption(), Orientation: Orientation.ToOption(), GroupNorm: GroupNorm.ToOption(), Fill: Fill.ToOption(), FillColor: FillColor.ToOption(), + FillPattern: FillPattern.ToOption(), UseWebGL: UseWebGL.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -132,6 +144,8 @@ public static GenericChart Scatter( /// Sets the marker symbol for each datum /// Sets the marker symbol for each individual datum /// Sets the marker (use this for more finegrained control than the other marker-associated arguments) + /// Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. + /// Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. /// Set several traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `Orientation` is Horizontal). Stacking also turns `fill` on by default and sets the default `mode` to "lines" irrespective of point count. ou can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order /// Sets the stacking direction. Only relevant when `stackgroup` is used, and only the first `orientation` found in the `stackgroup` will be used. /// Sets the normalization for the sum of this `stackgroup. Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used @@ -154,6 +168,8 @@ public static GenericChart Point( Optional MarkerSymbol = default, Optional> MultiMarkerSymbol = default, Optional Marker = default, + Optional AlignmentGroup = default, + Optional OffsetGroup = default, Optional StackGroup = default, Optional Orientation = default, Optional GroupNorm = default, @@ -181,6 +197,8 @@ public static GenericChart Point( MarkerSymbol: MarkerSymbol.ToOption(), MultiMarkerSymbol: MultiMarkerSymbol.ToOption(), Marker: Marker.ToOption(), + AlignmentGroup: AlignmentGroup.ToOption(), + OffsetGroup: OffsetGroup.ToOption(), StackGroup: StackGroup.ToOption(), Orientation: Orientation.ToOption(), GroupNorm: GroupNorm.ToOption(), @@ -211,11 +229,14 @@ public static GenericChart Point( /// Sets the width of the line /// sets the drawing style of the line /// Sets the line (use this for more finegrained control than the other line-associated arguments) + /// Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. + /// Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. /// Set several traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `Orientation` is Horizontal). Stacking also turns `fill` on by default and sets the default `mode` to "lines" irrespective of point count. ou can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order /// Sets the stacking direction. Only relevant when `stackgroup` is used, and only the first `orientation` found in the `stackgroup` will be used. /// Sets the normalization for the sum of this `stackgroup. Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used /// Sets the area to fill with a solid color. Defaults to "none" unless this trace is stacked, then it gets "tonexty" ("tonextx") if `orientation` is "v" ("h") Use with `FillColor` if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0 respectively. "tonextx" and "tonexty" fill between the endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like "tozerox" and "tozeroy". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order. - /// ets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. + /// Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. + /// Sets the pattern within the marker. /// If true, plotly.js will use the WebGL engine to render this chart. use this when you want to render many objects at once. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Line( @@ -241,11 +262,14 @@ public static GenericChart Line( Optional LineWidth = default, Optional LineDash = default, Optional Line = default, + Optional AlignmentGroup = default, + Optional OffsetGroup = default, Optional StackGroup = default, Optional Orientation = default, Optional GroupNorm = default, Optional Fill = default, Optional FillColor = default, + Optional FillPattern = default, Optional UseWebGL = default, Optional UseDefaults = default ) @@ -276,11 +300,14 @@ public static GenericChart Line( LineWidth: LineWidth.ToOption(), LineDash: LineDash.ToOption(), Line: Line.ToOption(), + AlignmentGroup: AlignmentGroup.ToOption(), + OffsetGroup: OffsetGroup.ToOption(), StackGroup: StackGroup.ToOption(), Orientation: Orientation.ToOption(), GroupNorm: GroupNorm.ToOption(), Fill: Fill.ToOption(), FillColor: FillColor.ToOption(), + FillPattern: FillPattern.ToOption(), UseWebGL: UseWebGL.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -310,11 +337,14 @@ public static GenericChart Line( /// Sets the width of the line /// sets the drawing style of the line /// Sets the line (use this for more finegrained control than the other line-associated arguments) + /// Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. + /// Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. /// Set several traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `Orientation` is Horizontal). Stacking also turns `fill` on by default and sets the default `mode` to "lines" irrespective of point count. ou can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order /// Sets the stacking direction. Only relevant when `stackgroup` is used, and only the first `orientation` found in the `stackgroup` will be used. /// Sets the normalization for the sum of this `stackgroup. Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used /// Sets the area to fill with a solid color. Defaults to "none" unless this trace is stacked, then it gets "tonexty" ("tonextx") if `orientation` is "v" ("h") Use with `FillColor` if not "none". "tozerox" and "tozeroy" fill to x=0 and y=0 respectively. "tonextx" and "tonexty" fill between the endpoints of this trace and the endpoints of the trace before it, connecting those endpoints with straight lines (to make a stacked area graph); if there is no trace before it, they behave like "tozerox" and "tozeroy". "toself" connects the endpoints of the trace (or each segment of the trace if it has gaps) into a closed shape. "tonext" fills the space between two traces if one completely encloses the other (eg consecutive contour lines), and behaves like "toself" if there is no trace before it. "tonext" should not be used if one trace does not enclose the other. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order. - /// ets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. + /// Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. + /// Sets the pattern within the marker. /// If true, plotly.js will use the WebGL engine to render this chart. use this when you want to render many objects at once. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Spline( @@ -341,11 +371,14 @@ public static GenericChart Spline( Optional LineWidth = default, Optional LineDash = default, Optional Line = default, + Optional AlignmentGroup = default, + Optional OffsetGroup = default, Optional StackGroup = default, Optional Orientation = default, Optional GroupNorm = default, Optional Fill = default, Optional FillColor = default, + Optional FillPattern = default, Optional UseWebGL = default, Optional UseDefaults = default ) @@ -377,11 +410,14 @@ public static GenericChart Spline( LineWidth: LineWidth.ToOption(), LineDash: LineDash.ToOption(), Line: Line.ToOption(), + AlignmentGroup: AlignmentGroup.ToOption(), + OffsetGroup: OffsetGroup.ToOption(), StackGroup: StackGroup.ToOption(), Orientation: Orientation.ToOption(), GroupNorm: GroupNorm.ToOption(), Fill: Fill.ToOption(), FillColor: FillColor.ToOption(), + FillPattern: FillPattern.ToOption(), UseWebGL: UseWebGL.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -409,6 +445,8 @@ public static GenericChart Spline( /// Sets the width of the line /// sets the drawing style of the line /// Sets the line (use this for more finegrained control than the other line-associated arguments) + /// Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. + /// Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. /// Set several traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `Orientation` is Horizontal). Stacking also turns `fill` on by default and sets the default `mode` to "lines" irrespective of point count. ou can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order /// Sets the stacking direction. Only relevant when `stackgroup` is used, and only the first `orientation` found in the `stackgroup` will be used. /// Sets the normalization for the sum of this `stackgroup. Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used @@ -437,6 +475,8 @@ public static GenericChart Bubble( Optional LineWidth = default, Optional LineDash = default, Optional Line = default, + Optional AlignmentGroup = default, + Optional OffsetGroup = default, Optional StackGroup = default, Optional Orientation = default, Optional GroupNorm = default, @@ -470,12 +510,15 @@ public static GenericChart Bubble( LineWidth: LineWidth.ToOption(), LineDash: LineDash.ToOption(), Line: Line.ToOption(), + AlignmentGroup: AlignmentGroup.ToOption(), + OffsetGroup: OffsetGroup.ToOption(), StackGroup: StackGroup.ToOption(), Orientation: Orientation.ToOption(), GroupNorm: GroupNorm.ToOption(), UseWebGL: UseWebGL.ToOption(), UseDefaults: UseDefaults.ToOption() ); + /// /// Displays a range of data by plotting three Y values per data point (upper, mid, lower). /// @@ -506,6 +549,7 @@ public static GenericChart Bubble( /// sets the drawing style of the line for the mid Y values. /// Sets the line (use this for more finegrained control than the other line-associated arguments) for the mid Y values. /// Sets the color of the range between upper and lower Y values. + /// Sets the pattern of the range between upper and lower Y values. /// Sets a text associated with each datum for the upper Y values. /// Sets individual text for each datum for the upper Y values. /// Sets a text associated with each datum for the lower Y values. @@ -547,7 +591,8 @@ public static GenericChart Range( Optional Line = default, Optional UpperLine = default, Optional LowerLine = default, - Optional RangeColor = default, + Optional RangeColor = default, + Optional RangePattern = default, Optional UpperText = default, Optional> MultiUpperText = default, Optional LowerText = default, @@ -591,6 +636,7 @@ public static GenericChart Range( UpperLine: UpperLine.ToOption(), LowerLine: LowerLine.ToOption(), RangeColor: RangeColor.ToOption(), + RangePattern: RangePattern.ToOption(), UpperText: UpperText.ToOption(), MultiUpperText: MultiUpperText.ToOption(), LowerText: LowerText.ToOption(), @@ -666,10 +712,14 @@ IEnumerable labels /// Sets the width of the line /// sets the drawing style of the line /// Sets the line (use this for more finegrained control than the other line-associated arguments) + /// Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. + /// Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. /// Set several traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `Orientation` is Horizontal). Stacking also turns `fill` on by default and sets the default `mode` to "lines" irrespective of point count. ou can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order /// Sets the stacking direction. Only relevant when `stackgroup` is used, and only the first `orientation` found in the `stackgroup` will be used. /// Sets the normalization for the sum of this `stackgroup. Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used - /// ets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. + /// Sets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. + /// Sets a pattern shape for the area fill + /// Sets the pattern within the area. (use this for more finegrained control than the other fillpattern-associated arguments). /// If true, plotly.js will use the WebGL engine to render this chart. use this when you want to render many objects at once. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Area( @@ -694,11 +744,15 @@ public static GenericChart Area( Optional LineColorScale = default, Optional LineWidth = default, Optional LineDash = default, - Optional Line = default, + Optional Line = default, + Optional AlignmentGroup = default, + Optional OffsetGroup = default, Optional StackGroup = default, Optional Orientation = default, Optional GroupNorm = default, - Optional FillColor = default, + Optional FillColor = default, + Optional FillPatternShape = default, + Optional FillPattern = default, Optional UseWebGL = default, Optional UseDefaults = default ) @@ -729,10 +783,14 @@ public static GenericChart Area( LineWidth: LineWidth.ToOption(), LineDash: LineDash.ToOption(), Line: Line.ToOption(), + AlignmentGroup: AlignmentGroup.ToOption(), + OffsetGroup: OffsetGroup.ToOption(), StackGroup: StackGroup.ToOption(), Orientation: Orientation.ToOption(), GroupNorm: GroupNorm.ToOption(), FillColor: FillColor.ToOption(), + FillPatternShape: FillPatternShape.ToOption(), + FillPattern: FillPattern.ToOption(), UseWebGL: UseWebGL.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -761,10 +819,14 @@ public static GenericChart Area( /// Sets the width of the line /// sets the drawing style of the line /// Sets the line (use this for more finegrained control than the other line-associated arguments) + /// Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. + /// Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. /// Set several traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `Orientation` is Horizontal). Stacking also turns `fill` on by default and sets the default `mode` to "lines" irrespective of point count. ou can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order /// Sets the stacking direction. Only relevant when `stackgroup` is used, and only the first `orientation` found in the `stackgroup` will be used. /// Sets the normalization for the sum of this `stackgroup. Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used /// ets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. + /// Sets a pattern shape for the area fill + /// Sets the pattern within the area. (use this for more finegrained control than the other fillpattern-associated arguments). /// If true, plotly.js will use the WebGL engine to render this chart. use this when you want to render many objects at once. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart SplineArea( @@ -791,10 +853,14 @@ public static GenericChart SplineArea( Optional LineWidth = default, Optional LineDash = default, Optional Line = default, + Optional AlignmentGroup = default, + Optional OffsetGroup = default, Optional StackGroup = default, Optional Orientation = default, Optional GroupNorm = default, Optional FillColor = default, + Optional FillPatternShape = default, + Optional FillPattern = default, Optional UseWebGL = default, Optional UseDefaults = default ) @@ -826,10 +892,14 @@ public static GenericChart SplineArea( LineWidth: LineWidth.ToOption(), LineDash: LineDash.ToOption(), Line: Line.ToOption(), + AlignmentGroup: AlignmentGroup.ToOption(), + OffsetGroup: OffsetGroup.ToOption(), StackGroup: StackGroup.ToOption(), Orientation: Orientation.ToOption(), GroupNorm: GroupNorm.ToOption(), FillColor: FillColor.ToOption(), + FillPatternShape: FillPatternShape.ToOption(), + FillPattern: FillPattern.ToOption(), UseWebGL: UseWebGL.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -860,6 +930,8 @@ public static GenericChart SplineArea( /// Sets the stacking direction. Only relevant when `stackgroup` is used, and only the first `orientation` found in the `stackgroup` will be used. /// Sets the normalization for the sum of this `stackgroup. Only relevant when `stackgroup` is used, and only the first `groupnorm` found in the `stackgroup` will be used /// ets the fill color. Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. + /// Sets a pattern shape for the area fill + /// Sets the pattern within the area. (use this for more finegrained control than the other fillpattern-associated arguments). /// If true, plotly.js will use the WebGL engine to render this chart. use this when you want to render many objects at once. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart StackedArea( @@ -888,6 +960,8 @@ public static GenericChart StackedArea( Optional Orientation = default, Optional GroupNorm = default, Optional FillColor = default, + Optional FillPatternShape = default, + Optional FillPattern = default, Optional UseWebGL = default, Optional UseDefaults = default ) @@ -921,6 +995,8 @@ public static GenericChart StackedArea( Orientation: Orientation.ToOption(), GroupNorm: GroupNorm.ToOption(), FillColor: FillColor.ToOption(), + FillPatternShape: FillPatternShape.ToOption(), + FillPattern: FillPattern.ToOption(), UseWebGL: UseWebGL.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -1206,6 +1282,7 @@ public static GenericChart Waterfall( /// /// Sets the values that are plotted as the size of each bar. /// Sets the keys associated with each bar. + /// Sets the keys associated with each bar. Use two inner arrays here to plot multicategorial data /// Sets the trace name. The trace name appear as the legend item and on hover /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the Opacity of the trace. @@ -1228,6 +1305,7 @@ public static GenericChart Waterfall( public static GenericChart Bar( IEnumerable values, Optional> Keys = default, + Optional>> MultiKeys = default, Optional Name = default, Optional ShowLegend = default, Optional Opacity = default, @@ -1255,6 +1333,7 @@ public static GenericChart Bar( Plotly.NET.Chart2D.Chart.Bar( values: values, Keys: Keys.ToOption(), + MultiKeys: MultiKeys.ToOption(), Name: Name.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), @@ -1284,6 +1363,7 @@ public static GenericChart Bar( /// /// Sets the values that are plotted as the size of each bar. /// Sets the keys associated with each bar. + /// Sets the keys associated with each bar. Use two inner arrays here to plot multicategorial data /// Sets the trace name. The trace name appear as the legend item and on hover /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the Opacity of the trace. @@ -1306,6 +1386,7 @@ public static GenericChart Bar( public static GenericChart StackedBar( IEnumerable values, Optional> Keys = default, + Optional>> MultiKeys = default, Optional Name = default, Optional ShowLegend = default, Optional Opacity = default, @@ -1333,6 +1414,7 @@ public static GenericChart StackedBar( Plotly.NET.Chart2D.Chart.StackedBar( values: values, Keys: Keys.ToOption(), + MultiKeys: MultiKeys.ToOption(), Name: Name.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), @@ -1361,6 +1443,7 @@ public static GenericChart StackedBar( /// /// Sets the values that are plotted as the size of each bar. /// Sets the keys associated with each bar. + /// Sets the keys associated with each bar. Use two inner arrays here to plot multicategorial data /// Sets the trace name. The trace name appear as the legend item and on hover /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the Opacity of the trace. @@ -1383,6 +1466,7 @@ public static GenericChart StackedBar( public static GenericChart Column( IEnumerable values, Optional> Keys = default, + Optional>> MultiKeys = default, Optional Name = default, Optional ShowLegend = default, Optional Opacity = default, @@ -1410,6 +1494,7 @@ public static GenericChart Column( Plotly.NET.Chart2D.Chart.Column( values: values, Keys: Keys.ToOption(), + MultiKeys: MultiKeys.ToOption(), Name: Name.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), @@ -1431,7 +1516,6 @@ public static GenericChart Column( UseDefaults: UseDefaults.ToOption() ); - /// /// Creates a stacked column chart, with bars plotted vertically. Values with the same key are stacked on top of each other in the Y dimension. /// To create this type of chart, combine multiple of these charts via `Chart.combine`. @@ -1440,6 +1524,7 @@ public static GenericChart Column( /// /// Sets the values that are plotted as the size of each bar. /// Sets the keys associated with each bar. + /// Sets the keys associated with each bar. Use two inner arrays here to plot multicategorial data /// Sets the trace name. The trace name appear as the legend item and on hover /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the Opacity of the trace. @@ -1461,7 +1546,8 @@ public static GenericChart Column( /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart StackedColumn( IEnumerable values, - Optional> Keys = default, + Optional> Keys = default, + Optional>> MultiKeys = default, Optional Name = default, Optional ShowLegend = default, Optional Opacity = default, @@ -1489,6 +1575,7 @@ public static GenericChart StackedColumn( Plotly.NET.Chart2D.Chart.StackedColumn( values: values, Keys: Keys.ToOption(), + MultiKeys: MultiKeys.ToOption(), Name: Name.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), @@ -1519,13 +1606,16 @@ public static GenericChart StackedColumn( /// The sample data from which statistics are computed is set in `x` for vertically spanning histograms and in `y` for horizontally spanning histograms. Binning options are set `xbins` and `ybins` respectively if no aggregation data is provided. /// /// Sets the sample data to be binned on the x axis. + /// Sets the sample data to be binned on the x axis. Use two inner arrays here to plot multicategorial data /// Sets the sample data to be binned on the y axis. + /// Sets the sample data to be binned on the y axis. Use two inner arrays here to plot multicategorial data /// Sets the orientation of the bars. With "v" ("h"), the value of the each bar spans along the vertical (horizontal). /// Sets the trace name. The trace name appear as the legend item and on hover /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the Opacity of the trace. /// Sets a text associated with each datum /// Sets individual text for each datum + /// Sets the position of text associated with each datum /// Specifies the binning function used for this histogram trace. If "count", the histogram values are computed by counting the number of values lying inside each bin. If "sum", "avg", "min", "max", the histogram values are computed using the sum, the average, the minimum or the maximum of the values lying inside each bin respectively. /// Specifies the type of normalization used for this histogram trace. If "", the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If "percent" / "probability", the span of each bar corresponds to the percentage / fraction of occurrences with respect to the total number of sample points (here, the sum of all bin HEIGHTS equals 100% / 1). If "density", the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin AREAS equals the total number of sample points). If "probability density", the area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1). /// Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. @@ -1535,8 +1625,13 @@ public static GenericChart StackedColumn( /// Set a group of histogram traces which will have compatible bin settings. Note that traces on the same subplot and with the same "orientation" under `barmode` "stack", "relative" and "group" are forced into the same bingroup, Using `bingroup`, traces under `barmode` "overlay" and on different axes (of the same axis type) can have compatible bin settings. Note that histogram and histogram2d" trace can share the same `bingroup` /// Sets the binning across the x dimension /// Sets the binning across the y dimension - /// Sets the color of the histogram's bars. - /// Sets the marker for the histogram's bars (use this for more finegrained control than the other marker-associated arguments). + /// Sets the color of the bars + /// Sets the colorscale for the bars. To have an effect, `MarkerColor` must map to color scale values. + /// Sets the color of the bar outlines + /// Sets a pattern shape for all bars + /// Sets an individual pattern shape for each bar + /// Sets the marker pattern (use this for more finegrained control than the other pattern-associated arguments). + /// Sets the marker of this trace. /// Sets the outline of the histogram's bars. /// Sets the x error of this trace. /// Sets the y error of this trace. @@ -1545,13 +1640,16 @@ public static GenericChart StackedColumn( /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Histogram( Optional> X = default, + Optional>> MultiX = default, Optional> Y = default, + Optional>> MultiY = default, Optional Orientation = default, Optional Name = default, Optional ShowLegend = default, Optional Opacity = default, Optional Text = default, Optional> MultiText = default, + Optional TextPosition = default, Optional HistFunc = default, Optional HistNorm = default, Optional AlignmentGroup = default, @@ -1562,6 +1660,11 @@ public static GenericChart Histogram( Optional XBins = default, Optional YBins = default, Optional MarkerColor = default, + Optional MarkerColorScale = default, + Optional MarkerOutline = default, + Optional MarkerPatternShape = default, + Optional> MultiMarkerPatternShape = default, + Optional MarkerPattern = default, Optional Marker = default, Optional Line = default, Optional XError = default, @@ -1576,13 +1679,16 @@ public static GenericChart Histogram( => Plotly.NET.Chart2D.Chart.Histogram( X: X.ToOption(), + MultiX: MultiX.ToOption(), Y: Y.ToOption(), + MultiY: MultiY.ToOption(), Orientation: Orientation.ToOption(), Name: Name.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), Text: Text.ToOption(), MultiText: MultiText.ToOption(), + TextPosition: TextPosition.ToOption(), HistFunc: HistFunc.ToOption(), HistNorm: HistNorm.ToOption(), AlignmentGroup: AlignmentGroup.ToOption(), @@ -1593,6 +1699,11 @@ public static GenericChart Histogram( XBins: XBins.ToOption(), YBins: YBins.ToOption(), MarkerColor: MarkerColor.ToOption(), + MarkerColorScale: MarkerColorScale.ToOption(), + MarkerOutline: MarkerOutline.ToOption(), + MarkerPatternShape: MarkerPatternShape.ToOption(), + MultiMarkerPatternShape: MultiMarkerPatternShape.ToOption(), + MarkerPattern: MarkerPattern.ToOption(), Marker: Marker.ToOption(), Line: Line.ToOption(), XError: XError.ToOption(), @@ -1685,7 +1796,9 @@ public static GenericChart Histogram2D( /// The sample data from which statistics are computed is set in `x` for vertically spanning boxes and in `y` for horizontally spanning boxes. /// /// Sets the x sample data or coordinates + /// Sets the x sample data or coordinates. Use two inner arrays here to plot multicategorial data /// Sets the y sample data or coordinates + /// Sets the y sample data or coordinates. Use two inner arrays here to plot multicategorial data /// Sets the trace name. The trace name appear as the legend item and on hover. /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets a text associated with each datum @@ -1707,10 +1820,13 @@ public static GenericChart Histogram2D( /// Determines whether or not notches are drawn. Notches displays a confidence interval around the median. We compute the confidence interval as median +/- 1.57 " IQR / sqrt(N), where IQR is the interquartile range and N is the sample size. If two boxes' notches do not overlap there is 95% confidence their medians differ. See https://sites.google.com/site/davidsstatistics/home/notched-box-plots for more info. Defaults to "false" unless `notchwidth` or `notchspan` is set. /// Sets the width of the notches relative to the box' width. For example, with 0, the notches are as wide as the box(es). /// Sets the method used to compute the sample's Q1 and Q3 quartiles. The "linear" method uses the 25th percentile for Q1 and 75th percentile for Q3 as computed using method #10 (listed on http://www.amstat.org/publications/jse/v14n3/langford.html). The "exclusive" method uses the median to divide the ordered dataset into two halves if the sample is odd, it does not include the median in either half - Q1 is then the median of the lower half and Q3 the median of the upper half. The "inclusive" method also uses the median to divide the ordered dataset into two halves but if the sample is odd, it includes the median in both halves - Q1 is then the median of the lower half and Q3 the median of the upper half. + /// Sets the upper and lower bound for the boxes quartiles means box is drawn between Q1 and Q3 SD means the box is drawn between Mean +- Standard Deviation Argument sdmultiple (default 1) to scale the box size So it could be drawn 1-stddev, 3-stddev etc /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart BoxPlot( - Optional> X = default, - Optional> Y = default, + Optional> X = default, + Optional>> MultiX = default, + Optional> Y = default, + Optional>> MultiY = default, Optional Name = default, Optional ShowLegend = default, Optional Text = default, @@ -1732,7 +1848,8 @@ public static GenericChart BoxPlot( Optional OffsetGroup = default, Optional Notched = default, Optional NotchWidth = default, - Optional QuartileMethod = default, + Optional QuartileMethod = default, + Optional SizeMode = default, Optional UseDefaults = default ) where XType : IConvertible @@ -1741,7 +1858,9 @@ public static GenericChart BoxPlot( => Plotly.NET.Chart2D.Chart.BoxPlot( X: X.ToOption(), + MultiX: MultiX.ToOption(), Y: Y.ToOption(), + MultiY: MultiY.ToOption(), Name: Name.ToOption(), ShowLegend: ShowLegend.ToOption(), Text: Text.ToOption(), @@ -1764,6 +1883,7 @@ public static GenericChart BoxPlot( Notched: Notched.ToOption(), NotchWidth: NotchWidth.ToOption(), QuartileMethod: QuartileMethod.ToOption(), + SizeMode: SizeMode.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -1774,8 +1894,10 @@ public static GenericChart BoxPlot( /// /// In vertical (horizontal) violin plots, statistics are computed using `y` (`x`) values. By supplying an `x` (`y`) array, one violin per distinct x (y) value is drawn If no `x` (`y`) array is provided, a single violin is drawn. That violin position is then positioned with with `name` or with `x0` (`y0`) if provided. /// - /// Sets the x sample data or coordinates. - /// Sets the y sample data or coordinates. + /// Sets the x sample data or coordinates + /// Sets the x sample data or coordinates. Use two inner arrays here to plot multicategorial data + /// Sets the y sample data or coordinates + /// Sets the y sample data or coordinates. Use two inner arrays here to plot multicategorial data /// Sets the trace name. The trace name appear as the legend item and on hover. /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets a text associated with each datum @@ -1808,7 +1930,9 @@ public static GenericChart BoxPlot( /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Violin( Optional> X = default, + Optional>> MultiX = default, Optional> Y = default, + Optional>> MultiY = default, Optional Name = default, Optional ShowLegend = default, Optional Text = default, @@ -1846,7 +1970,9 @@ public static GenericChart Violin( => Plotly.NET.Chart2D.Chart.Violin( X: X.ToOption(), + MultiX: MultiX.ToOption(), Y: Y.ToOption(), + MultiY: MultiY.ToOption(), Name: Name.ToOption(), ShowLegend: ShowLegend.ToOption(), Text: Text.ToOption(), @@ -1884,8 +2010,10 @@ public static GenericChart Violin( /// /// The sample data from which statistics are computed is set in `x` and `y` (where `x` and `y` represent marginal distributions, binning is set in `xbins` and `ybins` in this case) or `z` (where `z` represent the 2D distribution and binning set, binning is set by `x` and `y` in this case). The resulting distribution is visualized as a contour plot. /// - /// Sets the sample data to be binned on the x axis. - /// Sets the sample data to be binned on the y axis. + /// Sets the sample data to be binned on the x axis. + /// Sets the sample data to be binned on the x axis. Use two inner arrays here to plot multicategorial data + /// Sets the sample data to be binned on the y axis. + /// Sets the sample data to be binned on the y axis. Use two inner arrays here to plot multicategorial data /// Sets the trace name. The trace name appear as the legend item and on hover. /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the Opacity otf the trace. @@ -1900,20 +2028,31 @@ public static GenericChart Violin( /// Set a group of histogram traces which will have compatible y-bin settings. Using `ybingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible y-bin settings. Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup` /// Sets the binning across the y dimension /// Sets the marker of this trace. - /// Sets the contour line dash style - /// Sets the contour line color - /// Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing. - /// Sets the contour lines (use this for more finegrained control than the other contourline-associated arguments). + /// Sets the contour line dash style + /// Sets the contour line color + /// Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing. + /// Sets the width of the contour lines + /// Sets the contour lines (use this for more finegrained control than the other contourline-associated arguments). + /// Wether or not to show the contour line + /// Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace. + /// Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms. + /// If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters. + /// Determines whether to label the contour lines with their values. + /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. + /// Sets the starting contour level value. Must be less than `contours.end` + /// Sets the end contour level value. Must be more than `contours.start` + /// Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments). /// Sets the styles of the colorbar for this trace. /// Sets the colorscale for this trace. /// Whether or not to show the colorscale/colorbar /// Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - /// Sets the style of the contours /// Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is "true" or if `contours.size` is missing. /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Histogram2DContour( - IEnumerable x, - IEnumerable y, + Optional> X, + Optional>> MultiX, + Optional> Y, + Optional>> MultiY, Optional Name = default, Optional ShowLegend = default, Optional Opacity = default, @@ -1928,15 +2067,24 @@ public static GenericChart Histogram2DContour( Optional YBinGroup = default, Optional YBins = default, Optional Marker = default, - Optional ContourLineColor = default, - Optional ContourLineDash = default, - Optional ContourLineSmoothing = default, - Optional ContourLine = default, + Optional ContourLinesDash = default, + Optional ContourLinesColor = default, + Optional ContourLinesSmoothing = default, + Optional ContourLinesWidth = default, + Optional ContourLines = default, + Optional ShowContourLines = default, + Optional ContoursColoring = default, + Optional ContoursOperation = default, + Optional ContoursType = default, + Optional ShowContoursLabels = default, + Optional ContourLabelFont = default, + Optional ContoursStart = default, + Optional ContoursEnd = default, + Optional Contours = default, Optional ColorBar = default, Optional ColorScale = default, Optional ShowScale = default, Optional ReverseScale = default, - Optional Contours = default, Optional NContours = default, Optional UseDefaults = default ) @@ -1945,8 +2093,10 @@ public static GenericChart Histogram2DContour( where ZType : IConvertible => Plotly.NET.Chart2D.Chart.Histogram2DContour, ZType>( - x: x, - y: y, + X: X.ToOption(), + MultiX: MultiX.ToOption(), + Y: Y.ToOption(), + MultiY: MultiY.ToOption(), Name: Name.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), @@ -1961,15 +2111,24 @@ public static GenericChart Histogram2DContour( YBinGroup: YBinGroup.ToOption(), YBins: YBins.ToOption(), Marker: Marker.ToOption(), - ContourLinesColor: ContourLineColor.ToOption(), - ContourLinesDash: ContourLineDash.ToOption(), - ContourLinesSmoothing: ContourLineSmoothing.ToOption(), - ContourLines: ContourLine.ToOption(), + ContourLinesDash: ContourLinesDash.ToOption(), + ContourLinesColor: ContourLinesColor.ToOption(), + ContourLinesSmoothing: ContourLinesSmoothing.ToOption(), + ContourLinesWidth: ContourLinesWidth.ToOption(), + ContourLines: ContourLines.ToOption(), + ShowContourLines: ShowContourLines.ToOption(), + ContoursColoring: ContoursColoring.ToOption(), + ContoursOperation: ContoursOperation.ToOption(), + ContoursType: ContoursType.ToOption(), + ShowContoursLabels: ShowContoursLabels.ToOption(), + ContoursLabelFont: ContourLabelFont.ToOption(), + ContoursStart: ContoursStart.ToOption(), + ContoursEnd: ContoursEnd.ToOption(), + Contours: Contours.ToOption(), ColorBar: ColorBar.ToOption(), ColorScale: ColorScale.ToOption(), ShowScale: ShowScale.ToOption(), ReverseScale: ReverseScale.ToOption(), - Contours: Contours.ToOption(), NContours: NContours.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -1980,12 +2139,14 @@ public static GenericChart Histogram2DContour( /// A heatmap is a data visualization technique that shows magnitude of a phenomenon as color in two dimensions. /// /// Sets the 2-dimensional z data, which will be visualized with the color scale. + /// Sets the x coordinates + /// Sets the x coordinates. Use two inner arrays here to plot multicategorial data + /// Sets the y coordinates + /// Sets the y coordinates. Use two inner arrays here to plot multicategorial data /// Sets the trace name. The trace name appear as the legend item and on hover. /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the Opacity otf the trace. - /// Sets the x coordinates. /// Sets the horizontal gap (in pixels) between bricks. - /// Sets the y coordinates. /// Sets the vertical gap (in pixels) between bricks. /// Sets a text associated with each datum /// Sets individual text for each datum @@ -2000,12 +2161,14 @@ public static GenericChart Histogram2DContour( /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Heatmap( IEnumerable> zData, + Optional> X = default, + Optional>> MultiX = default, + Optional> Y = default, + Optional>> MultiY = default, Optional Name = default, Optional ShowLegend = default, Optional Opacity = default, - Optional> X = default, Optional XGap = default, - Optional> Y = default, Optional YGap = default, Optional Text = default, Optional> MultiText = default, @@ -2026,12 +2189,14 @@ public static GenericChart Heatmap( => Plotly.NET.Chart2D.Chart.Heatmap, ZType, XType, YType, TextType>( zData: zData, + X: X.ToOption(), + MultiX: MultiX.ToOption(), + Y: Y.ToOption(), + MultiY: MultiY.ToOption(), Name: Name.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), - X: X.ToOption(), XGap: XGap.ToOption(), - Y: Y.ToOption(), YGap: YGap.ToOption(), Text: Text.ToOption(), MultiText: MultiText.ToOption(), @@ -2059,8 +2224,10 @@ public static GenericChart Heatmap( /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the Opacity otf the trace. /// Sets the x coordinates. + /// Sets the x coordinates. Use two inner arrays here to plot multicategorial data /// Sets the horizontal gap (in pixels) between bricks. /// Sets the y coordinates. + /// Sets the y coordinates. Use two inner arrays here to plot multicategorial data /// Sets the vertical gap (in pixels) between bricks. /// Sets a text associated with each datum /// Sets individual text for each datum @@ -2080,8 +2247,10 @@ public static GenericChart AnnotatedHeatmap( Optional ShowLegend = default, Optional Opacity = default, Optional> X = default, + Optional>> MultiX = default, Optional XGap = default, Optional> Y = default, + Optional>> MultiY = default, Optional YGap = default, Optional Text = default, Optional> MultiText = default, @@ -2107,8 +2276,10 @@ public static GenericChart AnnotatedHeatmap( ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), X: X.ToOption(), + MultiX: MultiX.ToOption(), XGap: XGap.ToOption(), Y: Y.ToOption(), + MultiY: MultiY.ToOption(), YGap: YGap.ToOption(), Text: Text.ToOption(), MultiText: MultiText.ToOption(), @@ -2178,7 +2349,9 @@ public static GenericChart Image( /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the Opacity otf the trace. /// Sets the x coordinates. + /// Sets the x coordinates. Use two inner arrays here to plot multicategorial data /// Sets the y coordinates. + /// Sets the y coordinates. Use two inner arrays here to plot multicategorial data /// Sets a text associated with each datum /// Sets individual text for each datum /// Sets the styles of the colorbar for this trace. @@ -2186,15 +2359,19 @@ public static GenericChart Image( /// Whether or not to show the colorscale/colorbar /// Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. /// Transposes the z data. - /// Sets the contour line dash style - /// Sets the contour line color - /// Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing. - /// Sets the contour lines (use this for more finegrained control than the other contourline-associated arguments). + /// Sets the contour line dash style + /// Sets the contour line color + /// Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing. + /// Sets the width of the contour lines + /// Sets the contour lines (use this for more finegrained control than the other contourline-associated arguments). + /// Wether or not to show the contour line /// Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace. /// Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms. /// If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters. - /// Determines whether to label the contour lines with their values. + /// Determines whether to label the contour lines with their values. /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. + /// Sets the starting contour level value. Must be less than `contours.end` + /// Sets the end contour level value. Must be more than `contours.start` /// Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments). /// Sets the fill color if `contours.type` is "constraint". Defaults to a half-transparent variant of the line color, marker color, or marker line color, whichever is available. /// Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is "true" or if `contours.size` is missing. @@ -2204,25 +2381,31 @@ public static GenericChart Contour( Optional Name = default, Optional ShowLegend = default, Optional Opacity = default, - Optional> X = default, - Optional> Y = default, + Optional> X = default, + Optional>> MultiX = default, + Optional> Y = default, + Optional>> MultiY = default, Optional Text = default, Optional> MultiText = default, Optional ColorBar = default, Optional ColorScale = default, Optional ShowScale = default, Optional ReverseScale = default, - Optional Transpose = default, - Optional ContourLineColor = default, - Optional ContourLineDash = default, - Optional ContourLineSmoothing = default, - Optional ContourLine = default, - Optional ContoursColoring = default, - Optional ContoursOperation = default, - Optional ContoursType = default, - Optional ShowContourLabels = default, - Optional ContourLabelFont = default, - Optional Contours = default, + Optional Transpose = default, + Optional ContourLinesDash = default, + Optional ContourLinesColor = default, + Optional ContourLinesSmoothing = default, + Optional ContourLinesWidth = default, + Optional ContourLines = default, + Optional ShowContourLines = default, + Optional ContoursColoring = default, + Optional ContoursOperation = default, + Optional ContoursType = default, + Optional ShowContoursLabels = default, + Optional ContourLabelFont = default, + Optional ContoursStart = default, + Optional ContoursEnd = default, + Optional Contours = default, Optional FillColor = default, Optional NContours = default, Optional UseDefaults = default @@ -2238,7 +2421,9 @@ public static GenericChart Contour( ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), X: X.ToOption(), + MultiX: MultiX.ToOption(), Y: Y.ToOption(), + MultiY: MultiY.ToOption(), Text: Text.ToOption(), MultiText: MultiText.ToOption(), ColorBar: ColorBar.ToOption(), @@ -2246,15 +2431,19 @@ public static GenericChart Contour( ShowScale: ShowScale.ToOption(), ReverseScale: ReverseScale.ToOption(), Transpose: Transpose.ToOption(), - ContourLinesColor: ContourLineColor.ToOption(), - ContourLinesDash: ContourLineDash.ToOption(), - ContourLinesSmoothing: ContourLineSmoothing.ToOption(), - ContourLines: ContourLine.ToOption(), + ContourLinesDash: ContourLinesDash.ToOption(), + ContourLinesColor: ContourLinesColor.ToOption(), + ContourLinesSmoothing: ContourLinesSmoothing.ToOption(), + ContourLinesWidth: ContourLinesWidth.ToOption(), + ContourLines: ContourLines.ToOption(), + ShowContourLines: ShowContourLines.ToOption(), ContoursColoring: ContoursColoring.ToOption(), ContoursOperation: ContoursOperation.ToOption(), ContoursType: ContoursType.ToOption(), - ShowContoursLabels: ShowContourLabels.ToOption(), + ShowContoursLabels: ShowContoursLabels.ToOption(), ContoursLabelFont: ContourLabelFont.ToOption(), + ContoursStart: ContoursStart.ToOption(), + ContoursEnd: ContoursEnd.ToOption(), Contours: Contours.ToOption(), FillColor: FillColor.ToOption(), NContours: NContours.ToOption(), @@ -2271,7 +2460,8 @@ public static GenericChart Contour( /// Sets the high values. /// Sets the low values. /// Sets the close values. - /// Sets the x coordinates. If absent, linear coordinate will be generated. + /// Sets the x coordinates. If absent, linear coordinate will be generated. + /// Sets the x coordinates. If absent, linear coordinate will be generated. Use two inner arrays here to plot multicategorial data /// Sets the trace name. The trace name appear as the legend item and on hover. /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the Opacity otf the trace. @@ -2283,13 +2473,15 @@ public static GenericChart Contour( /// Sets the color of decreasing values /// Sets the style options of decreasing values (use this for more finegrained control than the other increasing-associated arguments). /// Sets the width of the open/close tick marks relative to the "x" minimal interval. + /// Whether or not to show a rangeslider for the xaxis /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart OHLC( IEnumerable open, IEnumerable high, IEnumerable low, IEnumerable close, - IEnumerable x, + Optional> X, + Optional>> MultiX, Optional Name = default, Optional ShowLegend = default, Optional Opacity = default, @@ -2301,6 +2493,7 @@ public static GenericChart OHLC( Optional DecreasingColor = default, Optional Decreasing = default, Optional TickWidth = default, + Optional ShowXAxisRangeSlider = default, Optional UseDefaults = default ) where OHLCType : IConvertible @@ -2312,7 +2505,8 @@ public static GenericChart OHLC( high: high, low: low, close: close, - x: x, + X: X.ToOption(), + MultiX: MultiX.ToOption(), Name: Name.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), @@ -2324,6 +2518,7 @@ public static GenericChart OHLC( DecreasingColor: DecreasingColor.ToOption(), Decreasing: Decreasing.ToOption(), TickWidth: TickWidth.ToOption(), + ShowXAxisRangeSlider: ShowXAxisRangeSlider.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -2336,7 +2531,8 @@ public static GenericChart OHLC( /// Sets the high values. /// Sets the low values. /// Sets the close values. - /// Sets the x coordinates. If absent, linear coordinate will be generated. + /// Sets the x coordinates. If absent, linear coordinate will be generated. + /// Sets the x coordinates. If absent, linear coordinate will be generated. Use two inner arrays here to plot multicategorial data /// Sets the trace name. The trace name appear as the legend item and on hover. /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the Opacity otf the trace. @@ -2348,13 +2544,15 @@ public static GenericChart OHLC( /// Sets the color of decreasing values /// Sets the style options of decreasing values (use this for more finegrained control than the other increasing-associated arguments). /// Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es). + /// Whether or not to show a rangeslider for the xaxis /// If set to false, ignore the global default settings set in `Defaults` public static GenericChart Candlestick( IEnumerable open, IEnumerable high, IEnumerable low, IEnumerable close, - IEnumerable x, + Optional> X, + Optional>> MultiX, Optional Name = default, Optional ShowLegend = default, Optional Opacity = default, @@ -2366,6 +2564,7 @@ public static GenericChart Candlestick( Optional DecreasingColor = default, Optional Decreasing = default, Optional WhiskerWidth = default, + Optional ShowXAxisRangeSlider = default, Optional UseDefaults = default ) where OHLCType : IConvertible @@ -2377,7 +2576,8 @@ public static GenericChart Candlestick( high: high, low: low, close: close, - x: x, + X: X.ToOption(), + MultiX: MultiX.ToOption(), Name: Name.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), @@ -2389,6 +2589,7 @@ public static GenericChart Candlestick( DecreasingColor: DecreasingColor.ToOption(), Decreasing: Decreasing.ToOption(), WhiskerWidth: WhiskerWidth.ToOption(), + ShowXAxisRangeSlider: ShowXAxisRangeSlider.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -2468,12 +2669,20 @@ public static GenericChart Splom( /// Sets the marker color of the point trace. /// Sets the marker symbol of the point trace. /// Sets the marker size of the point trace. - /// Sets the color of the contour lines of the histogram2dcontour trace. - /// Sets the smoothing of the contour lines of the histogram2dcontour trace. - /// Sets the width of the contour lines of the histogram2dcontour trace. - /// Whether or not to show contour lines - /// Whether or not to show contour labels - /// Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace. + /// Sets the contour line dash style + /// Sets the contour line color + /// Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing. + /// Sets the width of the contour lines + /// Sets the contour lines (use this for more finegrained control than the other contourline-associated arguments). + /// Wether or not to show the contour line + /// Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace. + /// Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms. + /// If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters. + /// Determines whether to label the contour lines with their values. + /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. + /// Sets the starting contour level value. Must be less than `contours.end` + /// Sets the end contour level value. Must be more than `contours.start` + /// Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments). /// Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is "true" or if `contours.size` is missing. /// Specifies the type of normalization used for this histogram trace. If "", the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If "percent" / "probability", the span of each bar corresponds to the percentage / fraction of occurrences with respect to the total number of sample points (here, the sum of all bin HEIGHTS equals 100% / 1). If "density", the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin AREAS equals the total number of sample points). If "probability density", the area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1). /// Sets the opacity of the histogram2dcontour trace. @@ -2487,16 +2696,24 @@ public static GenericChart PointDensity( Optional PointOpacity = default, Optional PointMarkerColor = default, Optional PointMarkerSymbol = default, - Optional PointMarkerSize = default, - Optional ContourLineColor = default, - Optional ContourLineSmoothing = default, - Optional ContourLineWidth = default, - Optional ShowContourLines = default, - Optional ShowContourLabels = default, - Optional ContourColoring = default, - Optional NContours = default, - Optional HistNorm = default, - Optional ContourOpacity = default, + Optional PointMarkerSize = default, + Optional ContourLinesDash = default, + Optional ContourLinesColor = default, + Optional ContourLinesSmoothing = default, + Optional ContourLinesWidth = default, + Optional ContourLines = default, + Optional ShowContourLines = default, + Optional ContoursColoring = default, + Optional ContoursOperation = default, + Optional ContoursType = default, + Optional ShowContoursLabels = default, + Optional ContourLabelFont = default, + Optional ContoursStart = default, + Optional ContoursEnd = default, + Optional Contours = default, + Optional NContours = default, + Optional HistNorm = default, + Optional ContourOpacity = default, Optional ColorBar = default, Optional ColorScale = default, Optional ShowScale = default, @@ -2512,12 +2729,20 @@ public static GenericChart PointDensity( PointMarkerColor: PointMarkerColor.ToOption(), PointMarkerSymbol: PointMarkerSymbol.ToOption(), PointMarkerSize: PointMarkerSize.ToOption(), - ContourLinesColor: ContourLineColor.ToOption(), - ContourLinesSmoothing: ContourLineSmoothing.ToOption(), - ContourLinesWidth: ContourLineWidth.ToOption(), + ContourLinesDash: ContourLinesDash.ToOption(), + ContourLinesColor: ContourLinesColor.ToOption(), + ContourLinesSmoothing: ContourLinesSmoothing.ToOption(), + ContourLinesWidth: ContourLinesWidth.ToOption(), + ContourLines: ContourLines.ToOption(), ShowContourLines: ShowContourLines.ToOption(), - ShowContoursLabels: ShowContourLabels.ToOption(), - ContoursColoring: ContourColoring.ToOption(), + ContoursColoring: ContoursColoring.ToOption(), + ContoursOperation: ContoursOperation.ToOption(), + ContoursType: ContoursType.ToOption(), + ShowContoursLabels: ShowContoursLabels.ToOption(), + ContoursLabelFont: ContourLabelFont.ToOption(), + ContoursStart: ContoursStart.ToOption(), + ContoursEnd: ContoursEnd.ToOption(), + Contours: Contours.ToOption(), NContours: NContours.ToOption(), HistNorm: HistNorm.ToOption(), ContourOpacity: ContourOpacity.ToOption(), diff --git a/src/Plotly.NET.CSharp/ChartAPI/ChartDomain.cs b/src/Plotly.NET.CSharp/ChartAPI/ChartDomain.cs index 354e756ef..1d3a0e2b7 100644 --- a/src/Plotly.NET.CSharp/ChartAPI/ChartDomain.cs +++ b/src/Plotly.NET.CSharp/ChartAPI/ChartDomain.cs @@ -34,7 +34,10 @@ public static partial class Chart /// Sets the width of the section outline. /// Sets the width of each individual section outline. /// Sets the section outline (use this for more finegrained control than the other section outline-associated arguments). - /// Sets the marker of this trace. + /// Sets a pattern shape for all sections + /// Sets an individual pattern shape for each bar + /// Sets the marker pattern (use this for more finegrained control than the other pattern-associated arguments). + /// Sets the marker for the sections (use this for more finegrained control than the other marker-associated arguments). /// Determines which trace information appear on the graph. /// Specifies the direction at which succeeding sectors follow one another. /// Sets the fraction of the radius to cut out of the pie. Use this to make a donut chart. @@ -59,6 +62,9 @@ public static GenericChart Pie( Optional SectionOutlineWidth = default, Optional> SectionOutlineMultiWidth = default, Optional SectionOutline = default, + Optional MarkerPatternShape = default, + Optional> MultiMarkerPatternShape = default, + Optional MarkerPattern = default, Optional Marker = default, Optional TextInfo = default, Optional Direction = default, @@ -89,6 +95,9 @@ public static GenericChart Pie( SectionOutlineWidth: SectionOutlineWidth.ToOption(), SectionOutlineMultiWidth: SectionOutlineMultiWidth.ToOption(), SectionOutline: SectionOutline.ToOption(), + MarkerPatternShape: MarkerPatternShape.ToOption(), + MultiMarkerPatternShape: MultiMarkerPatternShape.ToOption(), + MarkerPattern: MarkerPattern.ToOption(), Marker: Marker.ToOption(), TextInfo: TextInfo.ToOption(), Direction: Direction.ToOption(), @@ -121,7 +130,10 @@ public static GenericChart Pie( /// Sets the width of the section outline. /// Sets the width of each individual section outline. /// Sets the section outline (use this for more finegrained control than the other section outline-associated arguments). - /// Sets the marker of this trace. + /// Sets a pattern shape for all sections + /// Sets an individual pattern shape for each section + /// Sets the marker pattern (use this for more finegrained control than the other pattern-associated arguments). + /// Sets the marker for the sections (use this for more finegrained control than the other marker-associated arguments). /// Determines which trace information appear on the graph. /// Specifies the direction at which succeeding sectors follow one another. /// Instead of the first slice starting at 12 o'clock, rotate to some other angle. @@ -145,6 +157,9 @@ public static GenericChart Doughnut( Optional SectionOutlineWidth = default, Optional> SectionOutlineMultiWidth = default, Optional SectionOutline = default, + Optional MarkerPatternShape = default, + Optional> MultiMarkerPatternShape = default, + Optional MarkerPattern = default, Optional Marker = default, Optional TextInfo = default, Optional Direction = default, @@ -175,6 +190,9 @@ public static GenericChart Doughnut( SectionOutlineWidth: SectionOutlineWidth.ToOption(), SectionOutlineMultiWidth: SectionOutlineMultiWidth.ToOption(), SectionOutline: SectionOutline.ToOption(), + MarkerPatternShape: MarkerPatternShape.ToOption(), + MultiMarkerPatternShape: MultiMarkerPatternShape.ToOption(), + MarkerPattern: MarkerPattern.ToOption(), Marker: Marker.ToOption(), TextInfo: TextInfo.ToOption(), Direction: Direction.ToOption(), @@ -205,7 +223,10 @@ public static GenericChart Doughnut( /// Sets the width of the section outline. /// Sets the width of each individual section outline. /// Sets the section outline (use this for more finegrained control than the other section outline-associated arguments). - /// Sets the marker of this trace. + /// Sets a pattern shape for all sections + /// Sets an individual pattern shape for each section + /// Sets the marker pattern (use this for more finegrained control than the other pattern-associated arguments). + /// Sets the marker for the sections (use this for more finegrained control than the other marker-associated arguments). /// Determines which trace information appear on the graph. /// /// @@ -225,7 +246,10 @@ public static GenericChart FunnelArea( Optional SectionOutlineColor = default, Optional SectionOutlineWidth = default, Optional> SectionOutlineMultiWidth = default, - Optional SectionOutline = default, + Optional SectionOutline = default, + Optional MarkerPatternShape = default, + Optional> MultiMarkerPatternShape = default, + Optional MarkerPattern = default, Optional Marker = default, Optional TextInfo = default, Optional AspectRatio = default, @@ -252,6 +276,9 @@ public static GenericChart FunnelArea( SectionOutlineWidth: SectionOutlineWidth.ToOption(), SectionOutlineMultiWidth: SectionOutlineMultiWidth.ToOption(), SectionOutline: SectionOutline.ToOption(), + MarkerPatternShape: MarkerPatternShape.ToOption(), + MultiMarkerPatternShape: MultiMarkerPatternShape.ToOption(), + MarkerPattern: MarkerPattern.ToOption(), Marker: Marker.ToOption(), TextInfo: TextInfo.ToOption(), AspectRatio: AspectRatio.ToOption(), @@ -282,7 +309,10 @@ public static GenericChart FunnelArea( /// Sets the width of the section outline. /// Sets the width of each individual section outline. /// Sets the section outline (use this for more finegrained control than the other section outline-associated arguments). - /// Sets the marker of this trace. + /// Sets a pattern shape for all sections + /// Sets an individual pattern shape for each section + /// Sets the marker pattern (use this for more finegrained control than the other pattern-associated arguments). + /// Sets the marker for the sections (use this for more finegrained control than the other marker-associated arguments). /// Determines which trace information appear on the graph. /// Determines how the items in `values` are summed. When set to "total", items in `values` are taken to be value of all its descendants. When set to "remainder", items in `values` corresponding to the root and the branches sectors are taken to be the extra part not part of the sum of the values at their leaves. /// Determines default for `values` when it is not provided, by inferring a 1 for each of the "leaves" and/or "branches", otherwise 0. @@ -312,6 +342,9 @@ public static GenericChart Sunburst SectionOutlineWidth = default, Optional> SectionOutlineMultiWidth = default, Optional SectionOutline = default, + Optional MarkerPatternShape = default, + Optional> MultiMarkerPatternShape = default, + Optional MarkerPattern = default, Optional Marker = default, Optional TextInfo = default, Optional BranchValues = default, @@ -349,6 +382,9 @@ public static GenericChart SunburstSets the width of the section outline. /// Sets the width of each individual section outline. /// Sets the section outline (use this for more finegrained control than the other section outline-associated arguments). - /// Sets the marker of this trace. + /// Sets a pattern shape for all sections + /// Sets an individual pattern shape for each section + /// Sets the marker pattern (use this for more finegrained control than the other pattern-associated arguments). + /// Sets the marker for the sections (use this for more finegrained control than the other marker-associated arguments). /// Determines which trace information appear on the graph. /// Determines how the items in `values` are summed. When set to "total", items in `values` are taken to be value of all its descendants. When set to "remainder", items in `values` corresponding to the root and the branches sectors are taken to be the extra part not part of the sum of the values at their leaves. /// Determines default for `values` when it is not provided, by inferring a 1 for each of the "leaves" and/or "branches", otherwise 0. @@ -420,6 +459,9 @@ public static GenericChart Treemap SectionOutlineWidth = default, Optional> SectionOutlineMultiWidth = default, Optional SectionOutline = default, + Optional MarkerPatternShape = default, + Optional> MultiMarkerPatternShape = default, + Optional MarkerPattern = default, Optional Marker = default, Optional TextInfo = default, Optional BranchValues = default, @@ -448,6 +490,8 @@ public static GenericChart Treemap( /// Sets the width of the section outline. /// Sets the width of each individual section outline. /// Sets the section outline (use this for more finegrained control than the other section outline-associated arguments). - /// Sets the marker of this trace. + /// Sets a pattern shape for all sections + /// Sets an individual pattern shape for each section + /// Sets the marker pattern (use this for more finegrained control than the other pattern-associated arguments). + /// Sets the marker for the sections (use this for more finegrained control than the other marker-associated arguments). /// Determines how the items in `values` are summed. When set to "total", items in `values` are taken to be value of all its descendants. When set to "remainder", items in `values` corresponding to the root and the branches sectors are taken to be the extra part not part of the sum of the values at their leaves. /// Determines default for `values` when it is not provided, by inferring a 1 for each of the "leaves" and/or "branches", otherwise 0. /// Sets the orientation of the tiling. @@ -774,6 +824,9 @@ public static GenericChart Icicle SectionOutlineWidth = default, Optional> SectionOutlineMultiWidth = default, Optional SectionOutline = default, + Optional MarkerPatternShape = default, + Optional> MultiMarkerPatternShape = default, + Optional MarkerPattern = default, Optional Marker = default, Optional TextInfo = default, Optional BranchValues = default, @@ -804,6 +857,8 @@ public static GenericChart Icicle( /// Sets the longitude coordinates (in degrees East). /// Sets the latitude coordinates (in degrees North). /// Determines the drawing mode for this scatter trace. + /// Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets. /// Sets the trace name. The trace name appear as the legend item and on hover /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the opactity of the trace @@ -443,6 +445,7 @@ public static GenericChart ScatterMapbox longitudes, IEnumerable latitudes, StyleParam.Mode mode, + Optional MapboxStyle = default, Optional Name = default, Optional ShowLegend = default, Optional Opacity = default, @@ -475,6 +478,7 @@ public static GenericChart ScatterMapboxSets the longitude coordinates (in degrees East). /// Sets the latitude coordinates (in degrees North). /// Sets the trace name. The trace name appear as the legend item and on hover + /// Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets. /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the opactity of the trace /// Sets the opactity of individual datum markers @@ -531,6 +536,7 @@ public static GenericChart PointMapbox( IEnumerable longitudes, IEnumerable latitudes, Optional Name = default, + Optional MapboxStyle = default, Optional ShowLegend = default, Optional Opacity = default, Optional> MultiOpacity = default, @@ -557,6 +563,7 @@ public static GenericChart PointMapbox( longitudes: longitudes, latitudes: latitudes, Name: Name.ToOption(), + MapboxStyle: MapboxStyle.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), MultiOpacity: MultiOpacity.ToOption(), @@ -587,6 +594,7 @@ public static GenericChart PointMapbox( /// Sets the latitude coordinates (in degrees North). /// /// Sets the trace name. The trace name appear as the legend item and on hover + /// Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets. /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the opactity of the trace /// Sets the opactity of individual datum markers @@ -612,6 +620,7 @@ public static GenericChart LineMapbox( IEnumerable latitudes, Optional ShowMarkers = default, Optional Name = default, + Optional MapboxStyle = default, Optional ShowLegend = default, Optional Opacity = default, Optional> MultiOpacity = default, @@ -642,6 +651,7 @@ public static GenericChart LineMapbox( latitudes: latitudes, ShowMarkers: ShowMarkers.ToOption(), Name: Name.ToOption(), + MapboxStyle: MapboxStyle.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), MultiOpacity: MultiOpacity.ToOption(), @@ -675,6 +685,7 @@ public static GenericChart LineMapbox( /// Sets the latitude coordinates (in degrees North). /// Sets the size of the points. /// Sets the trace name. The trace name appear as the legend item and on hover + /// Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets. /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the opactity of the trace /// Sets the opactity of individual datum markers @@ -695,6 +706,7 @@ public static GenericChart BubbleMapbox IEnumerable latitudes, IEnumerable sizes, Optional Name = default, + Optional MapboxStyle = default, Optional ShowLegend = default, Optional Opacity = default, Optional> MultiOpacity = default, @@ -720,6 +732,7 @@ public static GenericChart BubbleMapbox latitudes: latitudes, sizes: sizes, Name: Name.ToOption(), + MapboxStyle: MapboxStyle.ToOption(), ShowLegend: ShowLegend.ToOption(), Opacity: Opacity.ToOption(), MultiOpacity: MultiOpacity.ToOption(), @@ -752,6 +765,7 @@ public static GenericChart BubbleMapbox /// The color values for each location /// Sets the GeoJSON data associated with this trace. It can be set as a valid GeoJSON object or as a URL string. Note that we only accept GeoJSONs of type "FeatureCollection" or "Feature" with geometries of type "Polygon" or "MultiPolygon". /// Sets the trace name. The trace name appear as the legend item and on hover. + /// Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets. /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Support nested property, for example "properties.name". /// Sets a text associated with each datum @@ -767,6 +781,7 @@ public static GenericChart ChoroplethMapbox( IEnumerable z, object geoJson, Optional Name = default, + Optional MapboxStyle = default, Optional ShowLegend = default, Optional FeatureIdKey = default, Optional Text = default, @@ -785,6 +800,7 @@ public static GenericChart ChoroplethMapbox( locations: locations, z: z, Name: Name.ToOption(), + MapboxStyle: MapboxStyle.ToOption(), ShowLegend: ShowLegend.ToOption(), geoJson: geoJson, FeatureIdKey: FeatureIdKey.ToOption(), @@ -808,6 +824,7 @@ public static GenericChart ChoroplethMapbox( /// Sets the longitude coordinates (in degrees East). /// Sets the latitude coordinates (in degrees North). /// Sets the trace name. The trace name appear as the legend item and on hover. + /// Sets the base mapbox layer. Default is `OpenStreetMap`. Note that you will need an access token for some Mapbox presets. /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the opacity of the trace /// Sets the points' weight. For example, a value of 10 would be equivalent to having 10 points of weight 1 in the same spot @@ -824,6 +841,7 @@ public static GenericChart DensityMapbox longitudes, IEnumerable latitudes, Optional Name = default, + Optional MapboxStyle = default, Optional ShowLegend = default, Optional Opacity = default, Optional> Z = default, @@ -846,6 +864,7 @@ public static GenericChart DensityMapboxSets the axis line color. /// Determines whether or not grid lines are drawn. If "true", the grid lines are drawn at every tick mark. /// Sets the color of the grid lines. + /// Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px"). /// Determines whether or not a line is drawn at along the 0 value of this axis. If "true", the zero line is drawn on top of the grid lines. /// Sets the line color of the zero line. /// If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to the corresponding opposite-letter axis. If set to "free", this axis' position is determined by `position`. @@ -134,6 +135,7 @@ public static GenericChart WithXAxisStyle( Optional LineColor = default, Optional ShowGrid = default, Optional GridColor = default, + Optional GridDash = default, Optional ZeroLine = default, Optional ZeroLineColor = default, Optional Anchor = default, @@ -169,6 +171,7 @@ public static GenericChart WithXAxisStyle( LineColor: LineColor.ToOption(), ShowGrid: ShowGrid.ToOption(), GridColor: GridColor.ToOption(), + GridDash: GridDash.ToOption(), ZeroLine: ZeroLine.ToOption(), ZeroLineColor: ZeroLineColor.ToOption(), Anchor: Anchor.ToOption(), @@ -191,7 +194,7 @@ public static GenericChart WithXAxisStyle( /// /// If there is already an axis set at the given id, the styles are applied to it. If there is no axis present, a new LinearAxis object with the given styles will be set. /// - /// The chart in which to change the Y axis style + /// The chart in which to change the X axis style /// Sets the text of the axis title. /// Sets the font of the axis title. /// Sets the standoff distance (in px) between the axis labels and the title text. @@ -207,11 +210,14 @@ public static GenericChart WithXAxisStyle( /// Sets the axis line color. /// Determines whether or not grid lines are drawn. If "true", the grid lines are drawn at every tick mark. /// Sets the color of the grid lines. + /// Sets the dash style of lines. Set to a dash type string ("solid", "dot", "dash", "longdash", "dashdot", or "longdashdot") or a dash length list in px (eg "5px,10px,2px,2px"). /// Determines whether or not a line is drawn at along the 0 value of this axis. If "true", the zero line is drawn on top of the grid lines. /// Sets the line color of the zero line. /// If set to an opposite-letter axis id (e.g. `x2`, `y`), this axis is bound to the corresponding opposite-letter axis. If set to "free", this axis' position is determined by `position`. /// Determines whether a x (y) axis is positioned at the "bottom" ("left") or "top" ("right") of the plotting area. /// If set a same-letter axis id, this axis is overlaid on top of the corresponding same-letter axis, with traces and axes visible for both axes. If "false", this axis does not overlay any same-letter axes. In this case, for axes with overlapping domains only the highest-numbered axis will be visible. + /// Automatically reposition the axis to avoid overlap with other axes with the same `overlaying` value. This repositioning will account for any `shift` amount applied to other axes on the same side with `autoshift` is set to true. Only has an effect if `anchor` is set to "free". + /// Moves the axis a given number of pixels from where it would have been otherwise. Accepts both positive and negative values, which will shift the axis either right or left, respectively. If `autoshift` is set to true, then this defaults to a padding of -3 if `side` is set to "left". and defaults to +3 if `side` is set to "right". Defaults to 0 if `autoshift` is set to false. Only has an effect if `anchor` is set to "free". /// Tuple of (X*Y fractions). Sets the domain of this axis (in plot fraction). /// Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to "free". /// Specifies the ordering logic for the case of categorical variables. By default, plotly uses "trace", which specifies the order that is present in the data supplied. Set `categoryorder` to "category ascending" or "category descending" if order should be determined by the alphanumerical order of the category names. Set `categoryorder` to "array" to derive the ordering from the attribute `categoryarray`. If a category is not found in the `categoryarray` array, the sorting behavior for that attribute will be identical to the "trace" mode. The unspecified categories will follow the categories in `categoryarray`. Set `categoryorder` to "total ascending" or "total descending" if order should be determined by the numerical order of the values. Similarly, the order can be determined by the min, max, sum, mean or median of all the values. @@ -238,11 +244,14 @@ public static GenericChart WithYAxisStyle( Optional LineColor = default, Optional ShowGrid = default, Optional GridColor = default, + Optional GridDash = default, Optional ZeroLine = default, Optional ZeroLineColor = default, Optional Anchor = default, Optional Side = default, Optional Overlaying = default, + Optional AutoShift = default, + Optional Shift = default, Optional> Domain = default, Optional Position = default, Optional CategoryOrder = default, @@ -273,11 +282,14 @@ public static GenericChart WithYAxisStyle( LineColor: LineColor.ToOption(), ShowGrid: ShowGrid.ToOption(), GridColor: GridColor.ToOption(), + GridDash: GridDash.ToOption(), ZeroLine: ZeroLine.ToOption(), ZeroLineColor: ZeroLineColor.ToOption(), Anchor: Anchor.ToOption(), Side: Side.ToOption(), Overlaying: Overlaying.ToOption(), + AutoShift: AutoShift.ToOption(), + Shift: Shift.ToOption(), Domain: Domain.ToOption(), Position: Position.ToOption(), CategoryOrder: CategoryOrder.ToOption(), @@ -374,21 +386,24 @@ public static GenericChart WithXAxisRangeSlider( /// /// The chart for which to set the legend /// The new Legend for the chart's layout + /// The target Legend id with which the Legend should be set. Default is 1. public static GenericChart WithLegend( this GenericChart gChart, - Legend legend + Legend legend, + Optional Id ) => Plotly.NET.Chart.WithLegend( - legend: legend + legend: legend, + Id: Id.ToOption() ).Invoke(gChart); /// - /// Sets the given Legend styles on the input chart's Legend. + /// Sets the given Legend styles on the input chart's Legend, optionally passing a target Legend id. /// /// If there is already a Legend set , the styles are applied to it. If there is no Legend present, a new Legend object with the given styles will be set. /// - /// The chart for which to set the legend styles + /// The chart for which to set the legend /// Sets the legend background color. Defaults to `layout.paper_bgcolor`. /// Sets the color of the border enclosing the legend. /// Sets the width (in px) of the border enclosing the legend. @@ -407,10 +422,14 @@ Legend legend /// Determines the order at which the legend items are displayed. If "normal", the items are displayed top-to-bottom in the same order as the input data. If "reversed", the items are displayed in the opposite order as "normal". If "grouped", the items are displayed in groups (when a trace `legendgroup` is provided). if "grouped+reversed", the items are displayed in the opposite order as "grouped". /// Controls persistence of legend-driven changes in trace and pie label visibility. Defaults to `layout.uirevision`. /// Sets the vertical alignment of the symbols with respect to their associated text. + /// Determines whether or not this legend is visible. /// Sets the x position (in normalized coordinates) of the legend. Defaults to "1.02" for vertical legends and defaults to "0" for horizontal legends. /// Sets the legend's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the legend. Value "auto" anchors legends to the right for `x` values greater than or equal to 2/3, anchors legends to the left for `x` values less than or equal to 1/3 and anchors legends with respect to their center otherwise. + /// Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only. /// Sets the y position (in normalized coordinates) of the legend. Defaults to "1" for vertical legends, defaults to "-0.1" for horizontal legends on graphs w/o range sliders and defaults to "1.1" for horizontal legends on graph with one or multiple range sliders. /// Sets the legend's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the legend. Value "auto" anchors legends at their bottom for `y` values less than or equal to 1/3, anchors legends to at their top for `y` values greater than or equal to 2/3 and anchors legends with respect to their middle otherwise. + /// Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only. + /// The target Legend id. Default is 1. public static GenericChart WithLegendStyle( this GenericChart gChart, Optional BGColor = default, @@ -431,10 +450,14 @@ public static GenericChart WithLegendStyle( Optional TraceOrder = default, Optional UIRevision = default, Optional VerticalAlign = default, + Optional Visible = default, Optional X = default, - Optional XAnchor = default, + Optional XAnchor = default, + Optional XRef = default, Optional Y = default, - Optional YAnchor = default + Optional YAnchor = default, + Optional YRef = default, + Optional Id = default ) => Plotly.NET.Chart.WithLegendStyle( @@ -456,10 +479,14 @@ public static GenericChart WithLegendStyle( TraceOrder: TraceOrder.ToOption(), UIRevision: UIRevision.ToOption(), VerticalAlign: VerticalAlign.ToOption(), + Visible: Visible.ToOption(), X: X.ToOption(), XAnchor: XAnchor.ToOption(), + XRef: XRef.ToOption(), Y: Y.ToOption(), - YAnchor: YAnchor.ToOption() + YAnchor: YAnchor.ToOption(), + YRef: YRef.ToOption(), + Id: Id.ToOption() ).Invoke(gChart); } diff --git a/src/Plotly.NET/ChartAPI/Chart.fs b/src/Plotly.NET/ChartAPI/Chart.fs index a84a10993..428773a39 100644 --- a/src/Plotly.NET/ChartAPI/Chart.fs +++ b/src/Plotly.NET/ChartAPI/Chart.fs @@ -2656,6 +2656,7 @@ type Chart = /// Sets the y position (in normalized coordinates) of the legend. Defaults to "1" for vertical legends, defaults to "-0.1" for horizontal legends on graphs w/o range sliders and defaults to "1.1" for horizontal legends on graph with one or multiple range sliders. /// Sets the legend's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the legend. Value "auto" anchors legends at their bottom for `y` values less than or equal to 1/3, anchors legends to at their top for `y` values greater than or equal to 2/3 and anchors legends with respect to their middle otherwise. /// Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only. + /// The target Legend id. Default is 1. [] static member withLegendStyle ( diff --git a/src/Plotly.NET/ChartAPI/Chart2D.fs b/src/Plotly.NET/ChartAPI/Chart2D.fs index 6e71c0b9a..2347cf727 100644 --- a/src/Plotly.NET/ChartAPI/Chart2D.fs +++ b/src/Plotly.NET/ChartAPI/Chart2D.fs @@ -4397,7 +4397,7 @@ module Chart2D = /// Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace. /// Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms. /// If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters. - /// Determines whether to label the contour lines with their values. + /// Determines whether to label the contour lines with their values. /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. /// Sets the starting contour level value. Must be less than `contours.end` /// Sets the end contour level value. Must be more than `contours.start` @@ -4544,7 +4544,7 @@ module Chart2D = /// Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace. /// Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms. /// If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters. - /// Determines whether to label the contour lines with their values. + /// Determines whether to label the contour lines with their values. /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. /// Sets the starting contour level value. Must be less than `contours.end` /// Sets the end contour level value. Must be more than `contours.start` @@ -5122,7 +5122,7 @@ module Chart2D = /// Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace. /// Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms. /// If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters. - /// Determines whether to label the contour lines with their values. + /// Determines whether to label the contour lines with their values. /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. /// Sets the starting contour level value. Must be less than `contours.end` /// Sets the end contour level value. Must be more than `contours.start` @@ -5817,7 +5817,6 @@ module Chart2D = /// Sets the marker color of the point trace. /// Sets the marker symbol of the point trace. /// Sets the marker size of the point trace. - /// Sets the contour line dash style /// Sets the contour line color /// Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing. @@ -5827,12 +5826,14 @@ module Chart2D = /// Determines the coloring method showing the contour values. If "fill", coloring is done evenly between each contour level If "heatmap", a heatmap gradient coloring is applied between each contour level. If "lines", coloring is done on the contour lines. If "none", no coloring is applied on this trace. /// Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms. /// If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters. - /// Determines whether to label the contour lines with their values. + /// Determines whether to label the contour lines with their values. /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. /// Sets the starting contour level value. Must be less than `contours.end` /// Sets the end contour level value. Must be more than `contours.start` /// Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments). - + /// Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is "true" or if `contours.size` is missing. + /// Specifies the type of normalization used for this histogram trace. If "", the span of each bar corresponds to the number of occurrences (i.e. the number of data points lying inside the bins). If "percent" / "probability", the span of each bar corresponds to the percentage / fraction of occurrences with respect to the total number of sample points (here, the sum of all bin HEIGHTS equals 100% / 1). If "density", the span of each bar corresponds to the number of occurrences in a bin divided by the size of the bin interval (here, the sum of all bin AREAS equals the total number of sample points). If "probability density", the area of each bar corresponds to the probability that an event will fall into the corresponding bin (here, the sum of all bin AREAS equals 1). + /// Sets the opacity of the histogram2dcontour trace. /// Sets the color bar. /// Sets the colorscale of the histogram2dcontour trace. /// whether or not to show the colorbar diff --git a/tests/ConsoleApps/CSharpConsole/Program.cs b/tests/ConsoleApps/CSharpConsole/Program.cs index 20ae982f9..c363b57e5 100644 --- a/tests/ConsoleApps/CSharpConsole/Program.cs +++ b/tests/ConsoleApps/CSharpConsole/Program.cs @@ -8,808 +8,808 @@ class Program { static void Main(string[] args) { - Chart.Grid( - nRows: 10, - nCols: 7, - gCharts: - new Plotly.NET.GenericChart[] - { - //2D basic traces + //Chart.Grid( + // nRows: 10, + // nCols: 7, + // gCharts: + // new Plotly.NET.GenericChart[] + // { + // //2D basic traces - //simple scatter derived - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.Scatter( - x: new int [] { 1, 2, 3 }, - y: new int [] { 5, 3, 4 }, - mode: Mode.Markers, - Name: "scatter", - MultiText: new int [] { 3, 4 } - ), - Chart.Point( - x: new int [] { 1, 2, 3 }, - y: new int [] { 6, 4, 5 }, - Name: "point", - Text: "hi" - ), - Chart.Line( - x: new int [] { 1, 2, 3 }, - y: new int [] { 7, 5, 6 }, - Name: "line" - ), - Chart.Spline( - x: new int [] { 1, 2, 3}, - y: new int [] { 8, 6, 7 }, - Name: "spline" - ), - Chart.Bubble( - x: new int [] { 1, 2, 3 }, - y: new int [] { 9, 7, 8 }, - sizes: new int [] { 10, 20, 30 }, - Name: "bubble" - ) - } - ).WithTraceInfo( - LegendGroup: "simple-scatter-derived", - LegendGroupTitle: Plotly.NET.Title.init("simple scatter-derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), + // //simple scatter derived + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.Scatter( + // x: new int [] { 1, 2, 3 }, + // y: new int [] { 5, 3, 4 }, + // mode: Mode.Markers, + // Name: "scatter", + // MultiText: new int [] { 3, 4 } + // ), + // Chart.Point( + // x: new int [] { 1, 2, 3 }, + // y: new int [] { 6, 4, 5 }, + // Name: "point", + // Text: "hi" + // ), + // Chart.Line( + // x: new int [] { 1, 2, 3 }, + // y: new int [] { 7, 5, 6 }, + // Name: "line" + // ), + // Chart.Spline( + // x: new int [] { 1, 2, 3}, + // y: new int [] { 8, 6, 7 }, + // Name: "spline" + // ), + // Chart.Bubble( + // x: new int [] { 1, 2, 3 }, + // y: new int [] { 9, 7, 8 }, + // sizes: new int [] { 10, 20, 30 }, + // Name: "bubble" + // ) + // } + // ).WithTraceInfo( + // LegendGroup: "simple-scatter-derived", + // LegendGroupTitle: Plotly.NET.Title.init("simple scatter-derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), - //extended scatter derived - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.Range( - x: new int [] { 1, 2, 3 }, - y: new int [] { 5, 3, 4 }, - upper: new int [] { 6, 4, 5 }, - lower: new int [] { 4, 2, 3 }, - mode: Mode.Lines, - Name: "range" - ), - Chart.Area( - x: new int [] { 1, 2}, - y: new int [] { 3, 1}, - Name: "area" - ), - Chart.SplineArea( - x: new int [] { 3, 4, 5}, - y: new int [] { 3, 1, 4}, - Name: "splinearea" - ), - Chart.StackedArea( - x: new int [] { 6, 7}, - y: new int [] { 3, 1}, - Name: "stacked area 1" - ), - Chart.StackedArea( - x: new int [] { 6, 7}, - y: new int [] { 3, 2}, - Name: "stacked area 2" - ) - } - ).WithTraceInfo( - LegendGroup: "extended-scatter-derived", - LegendGroupTitle: Plotly.NET.Title.init("extended scatter-derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.Bar( - values: new int [] { 1,2 }, - Keys: new string [] { "first", "second"}, - Name: "bar" - ), - Chart.StackedBar( - values: new int [] { 1,2 }, - Keys: new string [] { "third", "4th"}, - Name: "stacked bar 1" - ), - Chart.StackedBar( - values: new int [] { 1,2 }, - Keys: new string [] { "third", "4th"}, - Name: "stacked bar 2" - ), - } - ).WithTraceInfo( - LegendGroup: "bar-and-derived-traces", - LegendGroupTitle: Plotly.NET.Title.init("bar and derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.Column( - values: new int [] { 3,4 }, - Keys: new string [] { "first", "second"}, - Name: "column" - ), - Chart.StackedColumn( - values: new int [] { 1,2 }, - Keys: new string [] { "third", "4th"}, - Name: "stacked column 1" - ), - Chart.StackedColumn( - values: new int [] { 1,2 }, - Keys: new string [] { "third", "4th"}, - Name: "stacked column 2" - ), - } - ).WithTraceInfo( - LegendGroup: "bar-and-derived-traces", - LegendGroupTitle: Plotly.NET.Title.init("bar and derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Heatmap( - zData: new int [] [] - { - new int [] { 1,2,3}, - new int [] { 2,1,2}, - new int [] { 3,2,1} - }, - ShowScale: false, - Name: "heatmap", - ShowLegend: true - ).WithTraceInfo( - LegendGroup: "other-simple-2D", - LegendGroupTitle: Plotly.NET.Title.init("other simple 2D traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Image( - Source: @"data:image/gif;base64,R0lGODdhEAAQAMwAAPj7+FmhUYjNfGuxYYDJdYTIeanOpT+DOTuANXi/bGOrWj6CONzv2sPjv2CmV1unU4zPgI/Sg6DJnJ3ImTh8Mtbs00aNP1CZSGy0YqLEn47RgXW8amasW7XWsmmvX2iuXiwAAAAAEAAQAAAFVyAgjmRpnihqGCkpDQPbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" - ).WithTraceInfo( - LegendGroup: "other-simple-2D", - LegendGroupTitle: Plotly.NET.Title.init("other simple 2D traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Invisible(), + // //extended scatter derived + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.Range( + // x: new int [] { 1, 2, 3 }, + // y: new int [] { 5, 3, 4 }, + // upper: new int [] { 6, 4, 5 }, + // lower: new int [] { 4, 2, 3 }, + // mode: Mode.Lines, + // Name: "range" + // ), + // Chart.Area( + // x: new int [] { 1, 2}, + // y: new int [] { 3, 1}, + // Name: "area" + // ), + // Chart.SplineArea( + // x: new int [] { 3, 4, 5}, + // y: new int [] { 3, 1, 4}, + // Name: "splinearea" + // ), + // Chart.StackedArea( + // x: new int [] { 6, 7}, + // y: new int [] { 3, 1}, + // Name: "stacked area 1" + // ), + // Chart.StackedArea( + // x: new int [] { 6, 7}, + // y: new int [] { 3, 2}, + // Name: "stacked area 2" + // ) + // } + // ).WithTraceInfo( + // LegendGroup: "extended-scatter-derived", + // LegendGroupTitle: Plotly.NET.Title.init("extended scatter-derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.Bar( + // values: new int [] { 1,2 }, + // Keys: new string [] { "first", "second"}, + // Name: "bar" + // ), + // Chart.StackedBar( + // values: new int [] { 1,2 }, + // Keys: new string [] { "third", "4th"}, + // Name: "stacked bar 1" + // ), + // Chart.StackedBar( + // values: new int [] { 1,2 }, + // Keys: new string [] { "third", "4th"}, + // Name: "stacked bar 2" + // ), + // } + // ).WithTraceInfo( + // LegendGroup: "bar-and-derived-traces", + // LegendGroupTitle: Plotly.NET.Title.init("bar and derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.Column( + // values: new int [] { 3,4 }, + // Keys: new string [] { "first", "second"}, + // Name: "column" + // ), + // Chart.StackedColumn( + // values: new int [] { 1,2 }, + // Keys: new string [] { "third", "4th"}, + // Name: "stacked column 1" + // ), + // Chart.StackedColumn( + // values: new int [] { 1,2 }, + // Keys: new string [] { "third", "4th"}, + // Name: "stacked column 2" + // ), + // } + // ).WithTraceInfo( + // LegendGroup: "bar-and-derived-traces", + // LegendGroupTitle: Plotly.NET.Title.init("bar and derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Heatmap( + // zData: new int [] [] + // { + // new int [] { 1,2,3}, + // new int [] { 2,1,2}, + // new int [] { 3,2,1} + // }, + // ShowScale: false, + // Name: "heatmap", + // ShowLegend: true + // ).WithTraceInfo( + // LegendGroup: "other-simple-2D", + // LegendGroupTitle: Plotly.NET.Title.init("other simple 2D traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Image( + // Source: @"data:image/gif;base64,R0lGODdhEAAQAMwAAPj7+FmhUYjNfGuxYYDJdYTIeanOpT+DOTuANXi/bGOrWj6CONzv2sPjv2CmV1unU4zPgI/Sg6DJnJ3ImTh8Mtbs00aNP1CZSGy0YqLEn47RgXW8amasW7XWsmmvX2iuXiwAAAAAEAAQAAAFVyAgjmRpnihqGCkpDQPbGkNUOFk6DZqgHCNGg2T4QAQBoIiRSAwBE4VA4FACKgkB5NGReASFZEmxsQ0whPDi9BiACYQAInXhwOUtgCUQoORFCGt/g4QAIQA7" + // ).WithTraceInfo( + // LegendGroup: "other-simple-2D", + // LegendGroupTitle: Plotly.NET.Title.init("other simple 2D traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Invisible(), - //2D distributions - Chart.Histogram( - X: new int [] { 1,2,2,2,3,4,5,5 }, - MultiText: new int [] { 1,2,3,4,5,6,7}, - Name: "histogram" - ).WithTraceInfo( - LegendGroup: "scientific", - LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Histogram2D( - x: new int [] { 1,2,2,2,3,4,5,5 }, - y: new int [] { 1,2,2,2,3,4,5,5 }, - ShowScale: false, - ShowLegend: true, - Name: "histogram2D" - ).WithTraceInfo( - LegendGroup: "scientific", - LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.BoxPlot( - X: new int [] { 1,2,2,2,3,4,5,5 }, - Name: "Boxplot" - ), - Chart.Violin( - X: new int [] { 1,2,2,2,3,4,5,5 }, - Name: "Violin" - ), - } - ).WithTraceInfo( - LegendGroup: "scientific", - LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Contour( - zData: new int [] [] - { - new int [] { 1,2,3}, - new int [] { 2,1,2}, - new int [] { 3,2,1} - }, - ShowScale: false, - ShowLegend: true, - Name: "contour" - ).WithTraceInfo( - LegendGroup: "scientific", - LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Histogram2DContour( - x: new int [] { 1,2,2,2,3,4,5,5 }, - y: new int [] { 1,2,2,2,3,4,5,5 }, - ShowScale: false, - ShowLegend: true, - Name: "histogram2Dcontour" - ).WithTraceInfo( - LegendGroup: "scientific", - LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.PointDensity( - x: new int [] { 1,2,2,2,3,4,5,5 }, - y: new int [] { 1,2,2,2,3,4,5,5 }, - ShowScale: false - ).WithTraceInfo( - LegendGroup: "scientific", - LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Invisible(), + // //2D distributions + // Chart.Histogram( + // X: new int [] { 1,2,2,2,3,4,5,5 }, + // MultiText: new int [] { 1,2,3,4,5,6,7}, + // Name: "histogram" + // ).WithTraceInfo( + // LegendGroup: "scientific", + // LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Histogram2D( + // x: new int [] { 1,2,2,2,3,4,5,5 }, + // y: new int [] { 1,2,2,2,3,4,5,5 }, + // ShowScale: false, + // ShowLegend: true, + // Name: "histogram2D" + // ).WithTraceInfo( + // LegendGroup: "scientific", + // LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.BoxPlot( + // X: new int [] { 1,2,2,2,3,4,5,5 }, + // Name: "Boxplot" + // ), + // Chart.Violin( + // X: new int [] { 1,2,2,2,3,4,5,5 }, + // Name: "Violin" + // ), + // } + // ).WithTraceInfo( + // LegendGroup: "scientific", + // LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Contour( + // zData: new int [] [] + // { + // new int [] { 1,2,3}, + // new int [] { 2,1,2}, + // new int [] { 3,2,1} + // }, + // ShowScale: false, + // ShowLegend: true, + // Name: "contour" + // ).WithTraceInfo( + // LegendGroup: "scientific", + // LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Histogram2DContour( + // x: new int [] { 1,2,2,2,3,4,5,5 }, + // y: new int [] { 1,2,2,2,3,4,5,5 }, + // ShowScale: false, + // ShowLegend: true, + // Name: "histogram2Dcontour" + // ).WithTraceInfo( + // LegendGroup: "scientific", + // LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.PointDensity( + // x: new int [] { 1,2,2,2,3,4,5,5 }, + // y: new int [] { 1,2,2,2,3,4,5,5 }, + // ShowScale: false + // ).WithTraceInfo( + // LegendGroup: "scientific", + // LegendGroupTitle: Plotly.NET.Title.init("scientific/2D distributions", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Invisible(), - //2D Finance traces - Chart.OHLC( - open: new double [] {1.2, 2.7}, - high: new double [] {1.8, 8.5}, - low: new double [] {0.5, 0.1}, - close: new double [] {1.1, 2.9}, - x: new DateTime [] {DateTime.Parse("07/07/2021"), DateTime.Parse("07/07/2022") }, - Name: "ohlc" - ).WithXAxisRangeSlider( - rangeSlider: Plotly.NET.LayoutObjects.RangeSlider.init( - Visible: false - )).WithTraceInfo( - LegendGroup: "finance", - LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Candlestick( - open: new double [] {1.2, 2.7}, - high: new double [] {1.8, 8.5}, - low: new double [] {0.5, 0.1}, - close: new double [] {1.1, 2.9}, - x: new DateTime [] {DateTime.Parse("07/07/2021"), DateTime.Parse("07/07/2022") }, - Name: "candlestick" - ).WithXAxisRangeSlider( - rangeSlider: Plotly.NET.LayoutObjects.RangeSlider.init( - Visible: false - )).WithTraceInfo( - LegendGroup: "finance", - LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Waterfall( - x: new string [] {"A", "B", "Net", "Purch", "Other", "Profit"}, - y: new int [] {60, 80, 0, -40, -20, 0}, - Measure: new Plotly.NET.StyleParam.WaterfallMeasure [] { - Plotly.NET.StyleParam.WaterfallMeasure.Relative, - Plotly.NET.StyleParam.WaterfallMeasure.Relative, - Plotly.NET.StyleParam.WaterfallMeasure.Total, - Plotly.NET.StyleParam.WaterfallMeasure.Relative, - Plotly.NET.StyleParam.WaterfallMeasure.Relative, - Plotly.NET.StyleParam.WaterfallMeasure.Total - }, - Name: "waterfall" - ).WithTraceInfo( - LegendGroup: "finance", - LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Funnel( - x: new double [] { 1200, 909.4, 600.6, 300, 80 }, - y: new string[] { "A", "B", "C", "D", "E"}, - Name: "funnel" - ).WithTraceInfo( - LegendGroup: "finance", - LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.StackedFunnel( - x: new double [] { 1200, 909.4}, - y: new string[] { "A", "B"}, - Name: "stackedfunnel 1" - ), - Chart.StackedFunnel( - x: new double [] { 1200, 100.4,}, - y: new string[] { "A", "B"}, - Name: "stackedfunnel 2" - ), - } - ).WithTraceInfo( - LegendGroup: "finance", - LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.FunnelArea( - values: new int [] { 5, 4}, - MultiText: new string[] { "A", "B"}, - Name: "funnelarea" - ).WithTraceInfo( - LegendGroup: "finance", - LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Indicator( - value: 200, - mode: Plotly.NET.StyleParam.IndicatorMode.NumberDeltaGauge, - DeltaReference: 160, - Name: "indicator" - ).WithTraceInfo( - LegendGroup: "finance", - LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) - ), + // //2D Finance traces + // Chart.OHLC( + // open: new double [] {1.2, 2.7}, + // high: new double [] {1.8, 8.5}, + // low: new double [] {0.5, 0.1}, + // close: new double [] {1.1, 2.9}, + // x: new DateTime [] {DateTime.Parse("07/07/2021"), DateTime.Parse("07/07/2022") }, + // Name: "ohlc" + // ).WithXAxisRangeSlider( + // rangeSlider: Plotly.NET.LayoutObjects.RangeSlider.init( + // Visible: false + // )).WithTraceInfo( + // LegendGroup: "finance", + // LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Candlestick( + // open: new double [] {1.2, 2.7}, + // high: new double [] {1.8, 8.5}, + // low: new double [] {0.5, 0.1}, + // close: new double [] {1.1, 2.9}, + // x: new DateTime [] {DateTime.Parse("07/07/2021"), DateTime.Parse("07/07/2022") }, + // Name: "candlestick" + // ).WithXAxisRangeSlider( + // rangeSlider: Plotly.NET.LayoutObjects.RangeSlider.init( + // Visible: false + // )).WithTraceInfo( + // LegendGroup: "finance", + // LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Waterfall( + // x: new string [] {"A", "B", "Net", "Purch", "Other", "Profit"}, + // y: new int [] {60, 80, 0, -40, -20, 0}, + // Measure: new Plotly.NET.StyleParam.WaterfallMeasure [] { + // Plotly.NET.StyleParam.WaterfallMeasure.Relative, + // Plotly.NET.StyleParam.WaterfallMeasure.Relative, + // Plotly.NET.StyleParam.WaterfallMeasure.Total, + // Plotly.NET.StyleParam.WaterfallMeasure.Relative, + // Plotly.NET.StyleParam.WaterfallMeasure.Relative, + // Plotly.NET.StyleParam.WaterfallMeasure.Total + // }, + // Name: "waterfall" + // ).WithTraceInfo( + // LegendGroup: "finance", + // LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Funnel( + // x: new double [] { 1200, 909.4, 600.6, 300, 80 }, + // y: new string[] { "A", "B", "C", "D", "E"}, + // Name: "funnel" + // ).WithTraceInfo( + // LegendGroup: "finance", + // LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.StackedFunnel( + // x: new double [] { 1200, 909.4}, + // y: new string[] { "A", "B"}, + // Name: "stackedfunnel 1" + // ), + // Chart.StackedFunnel( + // x: new double [] { 1200, 100.4,}, + // y: new string[] { "A", "B"}, + // Name: "stackedfunnel 2" + // ), + // } + // ).WithTraceInfo( + // LegendGroup: "finance", + // LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.FunnelArea( + // values: new int [] { 5, 4}, + // MultiText: new string[] { "A", "B"}, + // Name: "funnelarea" + // ).WithTraceInfo( + // LegendGroup: "finance", + // LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Indicator( + // value: 200, + // mode: Plotly.NET.StyleParam.IndicatorMode.NumberDeltaGauge, + // DeltaReference: 160, + // Name: "indicator" + // ).WithTraceInfo( + // LegendGroup: "finance", + // LegendGroupTitle: Plotly.NET.Title.init("finance charts", Font: Plotly.NET.Font.init(Size: 20)) + // ), - //3D traces - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.Scatter3D( - x: new int[] { 1, 2 }, - y: new int [] { 13, 14 }, - z: new int [] { 14, 15 }, - mode: Mode.Markers, - Name: "scatter3D" - ), - Chart.Point3D( - x: new int[] { 3, 4 }, - y: new int [] { 13, 14 }, - z: new int [] { 14, 15 }, - Name: "point3D" - ), - Chart.Line3D( - x: new int[] { 5, 6 }, - y: new int [] { 13, 14 }, - z: new int [] { 14, 15 }, - Name: "line3D" - ), - Chart.Bubble3D( - x: new int[] { 7, 8 }, - y: new int [] { 13, 14 }, - z: new int [] { 14, 15 }, - sizes: new int [] {30, 40}, - Name: "bubble3D" - ), - } - ).WithTraceInfo( - LegendGroup: "3D-scatter-derived", - LegendGroupTitle: Plotly.NET.Title.init("3D scatter-derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Surface( - zData: new int [] [] - { - new int [] { 1, 2, 1 }, - new int [] { 1, 5, 1 }, - new int [] { 1, 2, 1 } - }, - ShowScale: false, - Name: "surface", - ShowLegend: true - ).WithTraceInfo( - LegendGroup: "3D-other", - LegendGroupTitle: Plotly.NET.Title.init("other 3D charts", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Mesh3D( - x: new int [] { 0, 1, 2, 0 }, - y: new int [] { 0, 0, 1, 2 }, - z: new int [] { 0, 2, 0, 1 }, - ShowScale: false, - Name: "mesh3D", - ShowLegend: true - ), - Chart.Cone( - x: new int [] { 0, 1, 2, 0 }, - y: new int [] { 0, 0, 1, 2 }, - z: new int [] { 0, 2, 0, 1 }, - u: new int [] { 0, 1, 2, 0 }, - v: new int [] { 0, 0, 1, 2 }, - w: new int [] { 0, 2, 0, 1 }, - ShowScale: false, - Name: "cone", - ShowLegend: true - ), - Chart.StreamTube( - x: new int [] { 0, 0, 0 }, - y: new int [] { 0, 1, 2}, - z: new int [] { 0, 0, 0}, - u: new int [] { 0, 0, 0}, - v: new int [] { 1, 1, 1}, - w: new int [] { 0, 0, 0}, - ShowScale: false, - Name: "streamtube", - ShowLegend: true - ), - Chart.Volume( - x: new double [] { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 2, 2, 2, 2, 2, 2, 2, 2, 2 }, - y: new double [] { 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2, 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2, 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2 }, - z: new double [] { 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2}, - value: new double [] { 0.8414709848, 0.6649966577, 0.4546487134, 0.6649966577, 0.3458103097,04704000269, 0.4546487134, 04704000269, -0.1892006238, 0.6649966577, 0.3458103097, 04704000269, 0.3458103097, -06853149997, -0.217228915,04704000269, -0.217228915, -0465692497, 0.4546487134, 04704000269,-0.1892006238, 04704000269, -0.217228915, -0465692497, -0.1892006238,-0465692497, 0.1236697808}, - ShowScale: false, - Name: "volume", - ShowLegend: true - ), - Chart.IsoSurface( - x: new double [] { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 2, 2, 2, 2, 2, 2, 2, 2, 2 }, - y: new double [] { 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2, 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2, 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2 }, - z: new double [] { 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2}, - value: new double [] { 0.8414709848, 0.6649966577, 0.4546487134, 0.6649966577, 0.3458103097,04704000269, 0.4546487134, 04704000269, -0.1892006238, 0.6649966577, 0.3458103097, 04704000269, 0.3458103097, -06853149997, -0.217228915,04704000269, -0.217228915, -0465692497, 0.4546487134, 04704000269,-0.1892006238, 04704000269, -0.217228915, -0465692497, -0.1892006238,-0465692497, 0.1236697808}, - ShowScale: false, - Name: "isosurface", - ShowLegend: true - ), + // //3D traces + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.Scatter3D( + // x: new int[] { 1, 2 }, + // y: new int [] { 13, 14 }, + // z: new int [] { 14, 15 }, + // mode: Mode.Markers, + // Name: "scatter3D" + // ), + // Chart.Point3D( + // x: new int[] { 3, 4 }, + // y: new int [] { 13, 14 }, + // z: new int [] { 14, 15 }, + // Name: "point3D" + // ), + // Chart.Line3D( + // x: new int[] { 5, 6 }, + // y: new int [] { 13, 14 }, + // z: new int [] { 14, 15 }, + // Name: "line3D" + // ), + // Chart.Bubble3D( + // x: new int[] { 7, 8 }, + // y: new int [] { 13, 14 }, + // z: new int [] { 14, 15 }, + // sizes: new int [] {30, 40}, + // Name: "bubble3D" + // ), + // } + // ).WithTraceInfo( + // LegendGroup: "3D-scatter-derived", + // LegendGroupTitle: Plotly.NET.Title.init("3D scatter-derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Surface( + // zData: new int [] [] + // { + // new int [] { 1, 2, 1 }, + // new int [] { 1, 5, 1 }, + // new int [] { 1, 2, 1 } + // }, + // ShowScale: false, + // Name: "surface", + // ShowLegend: true + // ).WithTraceInfo( + // LegendGroup: "3D-other", + // LegendGroupTitle: Plotly.NET.Title.init("other 3D charts", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Mesh3D( + // x: new int [] { 0, 1, 2, 0 }, + // y: new int [] { 0, 0, 1, 2 }, + // z: new int [] { 0, 2, 0, 1 }, + // ShowScale: false, + // Name: "mesh3D", + // ShowLegend: true + // ), + // Chart.Cone( + // x: new int [] { 0, 1, 2, 0 }, + // y: new int [] { 0, 0, 1, 2 }, + // z: new int [] { 0, 2, 0, 1 }, + // u: new int [] { 0, 1, 2, 0 }, + // v: new int [] { 0, 0, 1, 2 }, + // w: new int [] { 0, 2, 0, 1 }, + // ShowScale: false, + // Name: "cone", + // ShowLegend: true + // ), + // Chart.StreamTube( + // x: new int [] { 0, 0, 0 }, + // y: new int [] { 0, 1, 2}, + // z: new int [] { 0, 0, 0}, + // u: new int [] { 0, 0, 0}, + // v: new int [] { 1, 1, 1}, + // w: new int [] { 0, 0, 0}, + // ShowScale: false, + // Name: "streamtube", + // ShowLegend: true + // ), + // Chart.Volume( + // x: new double [] { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 2, 2, 2, 2, 2, 2, 2, 2, 2 }, + // y: new double [] { 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2, 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2, 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2 }, + // z: new double [] { 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2}, + // value: new double [] { 0.8414709848, 0.6649966577, 0.4546487134, 0.6649966577, 0.3458103097,04704000269, 0.4546487134, 04704000269, -0.1892006238, 0.6649966577, 0.3458103097, 04704000269, 0.3458103097, -06853149997, -0.217228915,04704000269, -0.217228915, -0465692497, 0.4546487134, 04704000269,-0.1892006238, 04704000269, -0.217228915, -0465692497, -0.1892006238,-0465692497, 0.1236697808}, + // ShowScale: false, + // Name: "volume", + // ShowLegend: true + // ), + // Chart.IsoSurface( + // x: new double [] { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 1.5, 2, 2, 2, 2, 2, 2, 2, 2, 2 }, + // y: new double [] { 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2, 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2, 1, 1, 1, 1.5, 1.5, 1.5, 2, 2, 2 }, + // z: new double [] { 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2, 1, 1.5, 2}, + // value: new double [] { 0.8414709848, 0.6649966577, 0.4546487134, 0.6649966577, 0.3458103097,04704000269, 0.4546487134, 04704000269, -0.1892006238, 0.6649966577, 0.3458103097, 04704000269, 0.3458103097, -06853149997, -0.217228915,04704000269, -0.217228915, -0465692497, 0.4546487134, 04704000269,-0.1892006238, 04704000269, -0.217228915, -0465692497, -0.1892006238,-0465692497, 0.1236697808}, + // ShowScale: false, + // Name: "isosurface", + // ShowLegend: true + // ), - //polar traces - Chart.ScatterPolar( - theta: new int [] { 0, 90, 180, 270 }, - r: new int [] { 10, 20, 15, 20 }, - mode: Mode.Markers, - Name: "scatterpolar" - ), - Chart.PointPolar( - theta: new int [] { 0, 90, 180, 270 }, - r: new int [] { 10, 20, 15, 20 }, - Name: "pointpolar" - ), - Chart.LinePolar( - theta: new int [] { 0, 90, 180, 270 }, - r: new int [] { 10, 20, 15, 20 }, - Name: "linepolar" - ), - Chart.SplinePolar( - theta: new int [] { 0, 90, 180, 270 }, - r: new int [] { 10, 20, 15, 20 }, - Name: "splinepolar" - ), - Chart.BubblePolar( - theta: new int [] { 0, 90, 180, 270 }, - r: new int [] { 10, 20, 15, 20 }, - sizes: new int [] { 10, 30, 15, 40 }, - Name: "bubblepolar" - ), - Chart.BarPolar( - theta: new int [] { 0, 90, 180, 270 }, - r: new int [] { 10, 20, 15, 20 }, - Name: "barpolar" - ), - Chart.Invisible(), + // //polar traces + // Chart.ScatterPolar( + // theta: new int [] { 0, 90, 180, 270 }, + // r: new int [] { 10, 20, 15, 20 }, + // mode: Mode.Markers, + // Name: "scatterpolar" + // ), + // Chart.PointPolar( + // theta: new int [] { 0, 90, 180, 270 }, + // r: new int [] { 10, 20, 15, 20 }, + // Name: "pointpolar" + // ), + // Chart.LinePolar( + // theta: new int [] { 0, 90, 180, 270 }, + // r: new int [] { 10, 20, 15, 20 }, + // Name: "linepolar" + // ), + // Chart.SplinePolar( + // theta: new int [] { 0, 90, 180, 270 }, + // r: new int [] { 10, 20, 15, 20 }, + // Name: "splinepolar" + // ), + // Chart.BubblePolar( + // theta: new int [] { 0, 90, 180, 270 }, + // r: new int [] { 10, 20, 15, 20 }, + // sizes: new int [] { 10, 30, 15, 40 }, + // Name: "bubblepolar" + // ), + // Chart.BarPolar( + // theta: new int [] { 0, 90, 180, 270 }, + // r: new int [] { 10, 20, 15, 20 }, + // Name: "barpolar" + // ), + // Chart.Invisible(), - //geo/mapbox traces - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.ScatterGeo( - longitudes: new int [] { 1, 20 }, - latitudes: new int [] { 1, 40 }, - mode: Mode.Markers, - Name: "scattergeo" - ), - Chart.PointGeo( - longitudes: new int [] { 40, 50 }, - latitudes: new int [] { 60, 70 }, - Name: "pointgeo" - ), - Chart.LineGeo( - longitudes: new int [] { 10, -100}, - latitudes: new int [] { 50, 50 }, - Name: "linegeo" - ), - Chart.BubbleGeo( - longitudes: new int [] { 80, -80}, - latitudes: new int [] { 20, -20 }, - sizes: new int [] { 10, 20 }, - Name: "bubblegeo" - ), - } - ).WithTraceInfo( - LegendGroup: "scattergeo-derived", - LegendGroupTitle: Plotly.NET.Title.init("scattergeo derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.ChoroplethMap( - locations: new string [] {"USA", "Germany", "Australia"}, - z: new int [] {1, 2, 3}, - LocationMode: LocationFormat.CountryNames, - ShowScale: false, - ShowLegend: true, - Name: "choropleth" - ).WithTraceInfo( - LegendGroup: "other-geo", - LegendGroupTitle: Plotly.NET.Title.init("other geo charts", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.ScatterMapbox( - longitudes: new int [] { 1, 2 }, - latitudes: new int [] { 1, 2 }, - mode: Mode.Markers, - Name: "scattermapbox" - ), - Chart.PointMapbox( - longitudes: new int [] { 10, 11 }, - latitudes: new int [] { 10, 11 }, - Name: "pointmapbox" - ), - Chart.LineMapbox( - longitudes: new int [] { -1, 11}, - latitudes: new int [] { 11, 1 }, - Name: "linemapbox" - ), - Chart.BubbleMapbox( - longitudes: new int [] { 22, -11}, - latitudes: new int [] { 5, 5 }, - sizes: new int [] { 10, 20 }, - Name: "bubblemapbox" - ), - } - ).WithMapboxStyle( - Style: MapboxStyle.OpenStreetMap, - Id: 38 - ).WithTraceInfo( - LegendGroup: "scattermapbox-derived", - LegendGroupTitle: Plotly.NET.Title.init("scattermapbox derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.DensityMapbox( - longitudes: new int [] { 1,2,2,2,3,4,5,5 }, - latitudes: new int [] { 1,2,2,2,3,4,5,5 }, - ShowScale: false - ).WithMapboxStyle( - Style: MapboxStyle.OpenStreetMap, - Id: 39 - ).WithTraceInfo( - LegendGroup: "other-mapbox", - LegendGroupTitle: Plotly.NET.Title.init("other mapbox charts", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Invisible(), - Chart.Invisible(), - Chart.Invisible(), + // //geo/mapbox traces + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.ScatterGeo( + // longitudes: new int [] { 1, 20 }, + // latitudes: new int [] { 1, 40 }, + // mode: Mode.Markers, + // Name: "scattergeo" + // ), + // Chart.PointGeo( + // longitudes: new int [] { 40, 50 }, + // latitudes: new int [] { 60, 70 }, + // Name: "pointgeo" + // ), + // Chart.LineGeo( + // longitudes: new int [] { 10, -100}, + // latitudes: new int [] { 50, 50 }, + // Name: "linegeo" + // ), + // Chart.BubbleGeo( + // longitudes: new int [] { 80, -80}, + // latitudes: new int [] { 20, -20 }, + // sizes: new int [] { 10, 20 }, + // Name: "bubblegeo" + // ), + // } + // ).WithTraceInfo( + // LegendGroup: "scattergeo-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scattergeo derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.ChoroplethMap( + // locations: new string [] {"USA", "Germany", "Australia"}, + // z: new int [] {1, 2, 3}, + // LocationMode: LocationFormat.CountryNames, + // ShowScale: false, + // ShowLegend: true, + // Name: "choropleth" + // ).WithTraceInfo( + // LegendGroup: "other-geo", + // LegendGroupTitle: Plotly.NET.Title.init("other geo charts", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.ScatterMapbox( + // longitudes: new int [] { 1, 2 }, + // latitudes: new int [] { 1, 2 }, + // mode: Mode.Markers, + // Name: "scattermapbox" + // ), + // Chart.PointMapbox( + // longitudes: new int [] { 10, 11 }, + // latitudes: new int [] { 10, 11 }, + // Name: "pointmapbox" + // ), + // Chart.LineMapbox( + // longitudes: new int [] { -1, 11}, + // latitudes: new int [] { 11, 1 }, + // Name: "linemapbox" + // ), + // Chart.BubbleMapbox( + // longitudes: new int [] { 22, -11}, + // latitudes: new int [] { 5, 5 }, + // sizes: new int [] { 10, 20 }, + // Name: "bubblemapbox" + // ), + // } + // ).WithMapboxStyle( + // Style: MapboxStyle.OpenStreetMap, + // Id: 38 + // ).WithTraceInfo( + // LegendGroup: "scattermapbox-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scattermapbox derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.DensityMapbox( + // longitudes: new int [] { 1,2,2,2,3,4,5,5 }, + // latitudes: new int [] { 1,2,2,2,3,4,5,5 }, + // ShowScale: false + // ).WithMapboxStyle( + // Style: MapboxStyle.OpenStreetMap, + // Id: 39 + // ).WithTraceInfo( + // LegendGroup: "other-mapbox", + // LegendGroupTitle: Plotly.NET.Title.init("other mapbox charts", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Invisible(), + // Chart.Invisible(), + // Chart.Invisible(), - //ternary traces - Chart.ScatterTernary( - A: new int [] { 1, 2 }, - B: new int [] { 3, 4 }, - C: new int [] { 10, 2 }, - Name: "scatterternary" - ).WithTraceInfo( - LegendGroup: "scatterternary-derived", - LegendGroupTitle: Plotly.NET.Title.init("scatterternary derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.PointTernary( - A: new int [] { 1, 2 }, - B: new int [] { 3, 4 }, - C: new int [] { 10, 2 }, - Name: "pointternary" - ).WithTraceInfo( - LegendGroup: "scatterternary-derived", - LegendGroupTitle: Plotly.NET.Title.init("scatterternary derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.LineTernary( - A: new int [] { 1, 2 }, - B: new int [] { 3, 4 }, - C: new int [] { 10, 2 }, - Name: "lineternary" - ).WithTraceInfo( - LegendGroup: "scatterternary-derived", - LegendGroupTitle: Plotly.NET.Title.init("scatterternary derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.BubbleTernary( - sizes: new int [] {30, 40}, - A: new int [] { 1, 2 }, - B: new int [] { 3, 4 }, - C: new int [] { 10, 2 }, - Name: "bubbleternary" - ).WithTraceInfo( - LegendGroup: "scatterternary-derived", - LegendGroupTitle: Plotly.NET.Title.init("scatterternary derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Invisible(), - Chart.Invisible(), - Chart.Invisible(), + // //ternary traces + // Chart.ScatterTernary( + // A: new int [] { 1, 2 }, + // B: new int [] { 3, 4 }, + // C: new int [] { 10, 2 }, + // Name: "scatterternary" + // ).WithTraceInfo( + // LegendGroup: "scatterternary-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scatterternary derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.PointTernary( + // A: new int [] { 1, 2 }, + // B: new int [] { 3, 4 }, + // C: new int [] { 10, 2 }, + // Name: "pointternary" + // ).WithTraceInfo( + // LegendGroup: "scatterternary-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scatterternary derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.LineTernary( + // A: new int [] { 1, 2 }, + // B: new int [] { 3, 4 }, + // C: new int [] { 10, 2 }, + // Name: "lineternary" + // ).WithTraceInfo( + // LegendGroup: "scatterternary-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scatterternary derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.BubbleTernary( + // sizes: new int [] {30, 40}, + // A: new int [] { 1, 2 }, + // B: new int [] { 3, 4 }, + // C: new int [] { 10, 2 }, + // Name: "bubbleternary" + // ).WithTraceInfo( + // LegendGroup: "scatterternary-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scatterternary derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Invisible(), + // Chart.Invisible(), + // Chart.Invisible(), - //carpet traces - Chart.Carpet( - carpetId: "carpet1", - A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, - B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, - Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0}, - Name:"carpet", - ShowLegend: true - ), - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.Carpet( - carpetId: "carpet2", - A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, - B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, - Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0} - ), - Chart.ScatterCarpet( - a: new int [] {4,5,5,6}, - b: new int [] {1,1,2,3}, - carpetAnchorId: "carpet2", - mode: Mode.Markers, - Name: "scattercarpet" - ) - } - ).WithTraceInfo( - LegendGroup: "scattercarpet-derived", - LegendGroupTitle: Plotly.NET.Title.init("scattercarpet derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.Carpet( - carpetId: "carpet3", - A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, - B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, - Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0} - ), - Chart.PointCarpet( - a: new int [] {4,5,5,6}, - b: new int [] {1,1,2,3}, - carpetAnchorId: "carpet3", - Name: "pointcarpet" - ) - } - ).WithTraceInfo( - LegendGroup: "scattercarpet-derived", - LegendGroupTitle: Plotly.NET.Title.init("scattercarpet derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.Carpet( - carpetId: "carpet4", - A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, - B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, - Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0} - ), - Chart.LineCarpet( - a: new int [] {4,5,5,6}, - b: new int [] {1,1,2,3}, - carpetAnchorId: "carpet4", - Name: "linecarpet" - ) - } - ).WithTraceInfo( - LegendGroup: "scattercarpet-derived", - LegendGroupTitle: Plotly.NET.Title.init("scattercarpet derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.Carpet( - carpetId: "carpet5", - A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, - B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, - Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0} - ), - Chart.SplineCarpet( - a: new int [] {4,5,5,6}, - b: new int [] {1,1,2,3}, - carpetAnchorId: "carpet5", - Name: "splinecarpet" - ) - } - ).WithTraceInfo( - LegendGroup: "scattercarpet-derived", - LegendGroupTitle: Plotly.NET.Title.init("scattercarpet derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.Carpet( - carpetId: "carpet6", - A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, - B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, - Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0} - ), - Chart.BubbleCarpet( - sizes: new int [] {10, 20, 30, 40}, - a: new int [] {4,5,5,6}, - b: new int [] {1,1,2,3}, - carpetAnchorId: "carpet6", - Name: "bubblecarpet" - ) - } - ).WithTraceInfo( - LegendGroup: "scattercarpet-derived", - LegendGroupTitle: Plotly.NET.Title.init("scattercarpet derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Combine( - new Plotly.NET.GenericChart [] - { - Chart.Carpet( - carpetId: "carpet7", - A: new double [] { 0.0, 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 3.0}, - B: new double[] { 4.0, 4.0, 4.0, 4.0, 5.0, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0, 6.0}, - X: new double[] { 2.0, 3.0, 4.0, 5.0, 2.2, 3.1, 4.1, 5.1, 1.5, 2.5, 3.5, 4.5}, - Y: new double [] { 1.0, 1.4, 1.6, 1.75, 2.0, 2.5, 2.7, 2.75, 3.0, 3.5, 3.7, 3.75} - ), - Chart.ContourCarpet( - z: new double [] { 1.0, 1.96, 2.56, 3.0625, 4.0, 5.0625, 1.0, 7.5625, 9.0, 12.25, 15.21, 14.0625 }, - carpetAnchorId: "carpet7", - A: new int [] { 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3}, - B: new int[] { 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6}, - ShowScale: false, - ShowLegend: true, - Name: "contourcarpet" - ) - } - ).WithTraceInfo( - LegendGroup: "carpet-other", - LegendGroupTitle: Plotly.NET.Title.init("other carpet traces", Font: Plotly.NET.Font.init(Size: 20)) - ), + // //carpet traces + // Chart.Carpet( + // carpetId: "carpet1", + // A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, + // B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, + // Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0}, + // Name:"carpet", + // ShowLegend: true + // ), + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.Carpet( + // carpetId: "carpet2", + // A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, + // B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, + // Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0} + // ), + // Chart.ScatterCarpet( + // a: new int [] {4,5,5,6}, + // b: new int [] {1,1,2,3}, + // carpetAnchorId: "carpet2", + // mode: Mode.Markers, + // Name: "scattercarpet" + // ) + // } + // ).WithTraceInfo( + // LegendGroup: "scattercarpet-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scattercarpet derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.Carpet( + // carpetId: "carpet3", + // A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, + // B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, + // Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0} + // ), + // Chart.PointCarpet( + // a: new int [] {4,5,5,6}, + // b: new int [] {1,1,2,3}, + // carpetAnchorId: "carpet3", + // Name: "pointcarpet" + // ) + // } + // ).WithTraceInfo( + // LegendGroup: "scattercarpet-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scattercarpet derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.Carpet( + // carpetId: "carpet4", + // A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, + // B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, + // Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0} + // ), + // Chart.LineCarpet( + // a: new int [] {4,5,5,6}, + // b: new int [] {1,1,2,3}, + // carpetAnchorId: "carpet4", + // Name: "linecarpet" + // ) + // } + // ).WithTraceInfo( + // LegendGroup: "scattercarpet-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scattercarpet derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.Carpet( + // carpetId: "carpet5", + // A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, + // B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, + // Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0} + // ), + // Chart.SplineCarpet( + // a: new int [] {4,5,5,6}, + // b: new int [] {1,1,2,3}, + // carpetAnchorId: "carpet5", + // Name: "splinecarpet" + // ) + // } + // ).WithTraceInfo( + // LegendGroup: "scattercarpet-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scattercarpet derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.Carpet( + // carpetId: "carpet6", + // A: new double [] {4.0, 4.0, 4.0, 4.5, 4.5, 4.5, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0}, + // B: new double [] {1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0, 1.0, 2.0, 3.0}, + // Y: new double [] {2.0, 3.5, 4.0, 3.0, 4.5, 5.0, 5.5, 6.5, 7.5, 8.0, 8.5, 10.0} + // ), + // Chart.BubbleCarpet( + // sizes: new int [] {10, 20, 30, 40}, + // a: new int [] {4,5,5,6}, + // b: new int [] {1,1,2,3}, + // carpetAnchorId: "carpet6", + // Name: "bubblecarpet" + // ) + // } + // ).WithTraceInfo( + // LegendGroup: "scattercarpet-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scattercarpet derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Combine( + // new Plotly.NET.GenericChart [] + // { + // Chart.Carpet( + // carpetId: "carpet7", + // A: new double [] { 0.0, 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 3.0, 0.0, 1.0, 2.0, 3.0}, + // B: new double[] { 4.0, 4.0, 4.0, 4.0, 5.0, 5.0, 5.0, 5.0, 6.0, 6.0, 6.0, 6.0}, + // X: new double[] { 2.0, 3.0, 4.0, 5.0, 2.2, 3.1, 4.1, 5.1, 1.5, 2.5, 3.5, 4.5}, + // Y: new double [] { 1.0, 1.4, 1.6, 1.75, 2.0, 2.5, 2.7, 2.75, 3.0, 3.5, 3.7, 3.75} + // ), + // Chart.ContourCarpet( + // z: new double [] { 1.0, 1.96, 2.56, 3.0625, 4.0, 5.0625, 1.0, 7.5625, 9.0, 12.25, 15.21, 14.0625 }, + // carpetAnchorId: "carpet7", + // A: new int [] { 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, 2, 3}, + // B: new int[] { 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 6}, + // ShowScale: false, + // ShowLegend: true, + // Name: "contourcarpet" + // ) + // } + // ).WithTraceInfo( + // LegendGroup: "carpet-other", + // LegendGroupTitle: Plotly.NET.Title.init("other carpet traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), - //domain traces - Chart.Pie( - values: new double [] {69, 420}, - Labels: new string [] {"A", "B"}, - Name: "pie" - ), - Chart.Sunburst( - Values: new int [] {19, 26, 55}, - labels: new string [] {"A", "B", "C"}, - parents: new string [] {"", "", "B"}, - Name: "sunburst" - ), - Chart.Treemap( - Values: new int [] {19, 26, 55}, - labels: new string [] {"A", "B", "C"}, - parents: new string [] {"", "", "B"}, - Name: "treemap" - ), - Chart.ParallelCoord( - dimensions: new Plotly.NET.TraceObjects.Dimension [] { - Plotly.NET.TraceObjects.Dimension.initParallel(Label: "A", Values: new int [] {1, 4, 3}), - Plotly.NET.TraceObjects.Dimension.initParallel(Label: "B", Values: new int [] {3, 1, 2}) - }, - Name: "parcoords" - ), - Chart.ParallelCategories( - dimensions: new Plotly.NET.TraceObjects.Dimension [] { - Plotly.NET.TraceObjects.Dimension.initParallel(Label: "A", Values: new int [] {1, 1, 2}), - Plotly.NET.TraceObjects.Dimension.initParallel(Label: "B", Values: new int [] {3, 3, 3}) - }, - Name: "parcats" - ), - Chart.Sankey( - nodes: Plotly.NET.TraceObjects.SankeyNodes.init( - Label: new string [] {"A", "B", "C", "D"} - ), - links: Plotly.NET.TraceObjects.SankeyLinks.init( - Source: new int [] {0, 1, 1 }, - Target: new int [] {2, 2, 3 }, - Value: new int [] {1, 2, 5} - ) - ), - Chart.Icicle( - Values: new int [] {19, 26, 55}, - labels: new string [] {"A", "B", "C"}, - parents: new string [] {"", "", "B"}, - Name: "icicle" - ), + // //domain traces + // Chart.Pie( + // values: new double [] {69, 420}, + // Labels: new string [] {"A", "B"}, + // Name: "pie" + // ), + // Chart.Sunburst( + // Values: new int [] {19, 26, 55}, + // labels: new string [] {"A", "B", "C"}, + // parents: new string [] {"", "", "B"}, + // Name: "sunburst" + // ), + // Chart.Treemap( + // Values: new int [] {19, 26, 55}, + // labels: new string [] {"A", "B", "C"}, + // parents: new string [] {"", "", "B"}, + // Name: "treemap" + // ), + // Chart.ParallelCoord( + // dimensions: new Plotly.NET.TraceObjects.Dimension [] { + // Plotly.NET.TraceObjects.Dimension.initParallel(Label: "A", Values: new int [] {1, 4, 3}), + // Plotly.NET.TraceObjects.Dimension.initParallel(Label: "B", Values: new int [] {3, 1, 2}) + // }, + // Name: "parcoords" + // ), + // Chart.ParallelCategories( + // dimensions: new Plotly.NET.TraceObjects.Dimension [] { + // Plotly.NET.TraceObjects.Dimension.initParallel(Label: "A", Values: new int [] {1, 1, 2}), + // Plotly.NET.TraceObjects.Dimension.initParallel(Label: "B", Values: new int [] {3, 3, 3}) + // }, + // Name: "parcats" + // ), + // Chart.Sankey( + // nodes: Plotly.NET.TraceObjects.SankeyNodes.init( + // Label: new string [] {"A", "B", "C", "D"} + // ), + // links: Plotly.NET.TraceObjects.SankeyLinks.init( + // Source: new int [] {0, 1, 1 }, + // Target: new int [] {2, 2, 3 }, + // Value: new int [] {1, 2, 5} + // ) + // ), + // Chart.Icicle( + // Values: new int [] {19, 26, 55}, + // labels: new string [] {"A", "B", "C"}, + // parents: new string [] {"", "", "B"}, + // Name: "icicle" + // ), - //smith traces - Chart.ScatterSmith( - real: new double [] {1,2,3,4}, - imag: new double [] {1,2,3,4}, - mode: Mode.Markers, - Name: "scattersmith" - ).WithTraceInfo( - LegendGroup: "scattersmith-derived", - LegendGroupTitle: Plotly.NET.Title.init("scattersmith derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.PointSmith( - real: new double [] {1,2,3,4}, - imag: new double [] {1,2,3,4}, - Name: "pointsmith" - ).WithTraceInfo( - LegendGroup: "scattersmith-derived", - LegendGroupTitle: Plotly.NET.Title.init("scattersmith derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.LineSmith( - real: new double [] {1,2,3,4}, - imag: new double [] {1,2,3,4}, - Name: "linesmith" - ).WithTraceInfo( - LegendGroup: "scattersmith-derived", - LegendGroupTitle: Plotly.NET.Title.init("scattersmith derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.BubbleSmith( - sizes: new int [] {10, 20, 30, 40}, - real: new double [] {1,2,3,4}, - imag: new double [] {1,2,3,4}, - Name: "bubblesmith" - ).WithTraceInfo( - LegendGroup: "scattersmith-derived", - LegendGroupTitle: Plotly.NET.Title.init("scattersmith derived traces", Font: Plotly.NET.Font.init(Size: 20)) - ), - Chart.Invisible(), - Chart.Invisible(), - Chart.Invisible() - } - ) - .WithSize(1600, 2200) - .Show(); + // //smith traces + // Chart.ScatterSmith( + // real: new double [] {1,2,3,4}, + // imag: new double [] {1,2,3,4}, + // mode: Mode.Markers, + // Name: "scattersmith" + // ).WithTraceInfo( + // LegendGroup: "scattersmith-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scattersmith derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.PointSmith( + // real: new double [] {1,2,3,4}, + // imag: new double [] {1,2,3,4}, + // Name: "pointsmith" + // ).WithTraceInfo( + // LegendGroup: "scattersmith-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scattersmith derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.LineSmith( + // real: new double [] {1,2,3,4}, + // imag: new double [] {1,2,3,4}, + // Name: "linesmith" + // ).WithTraceInfo( + // LegendGroup: "scattersmith-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scattersmith derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.BubbleSmith( + // sizes: new int [] {10, 20, 30, 40}, + // real: new double [] {1,2,3,4}, + // imag: new double [] {1,2,3,4}, + // Name: "bubblesmith" + // ).WithTraceInfo( + // LegendGroup: "scattersmith-derived", + // LegendGroupTitle: Plotly.NET.Title.init("scattersmith derived traces", Font: Plotly.NET.Font.init(Size: 20)) + // ), + // Chart.Invisible(), + // Chart.Invisible(), + // Chart.Invisible() + // } + //) + //.WithSize(1600, 2200) + //.Show(); } } } diff --git a/tests/ExtensionLibsTests/CSharpTests/ExtensionMethodsTests.cs b/tests/ExtensionLibsTests/CSharpTests/ExtensionMethodsTests.cs index 5167d6a05..108789a1f 100644 --- a/tests/ExtensionLibsTests/CSharpTests/ExtensionMethodsTests.cs +++ b/tests/ExtensionLibsTests/CSharpTests/ExtensionMethodsTests.cs @@ -7,7 +7,7 @@ namespace Plotly.NET.CSharp.Tests { public class ExtensionMethodsTests { - internal GenericChart chart = Chart2D.Chart.Point(x: new double[] { 1, 2 }, y: new double[] { 5, 10 }, UseDefaults: false); + internal GenericChart chart = Chart.Point(x: new double[] { 1, 2 }, y: new double[] { 5, 10 }, UseDefaults: false); [Fact] public void CanUseCSharpExtensionMethod() From 04e3813d7137dc5a0735babd16923f67bfaf9685 Mon Sep 17 00:00:00 2001 From: Kevin Schneider Date: Thu, 17 Oct 2024 15:28:29 +0200 Subject: [PATCH 3/5] fix all xml doc warnings --- src/Plotly.NET.CSharp/ChartAPI/Chart.cs | 13 ++++++++++++- src/Plotly.NET.CSharp/ChartAPI/Chart2D.cs | 8 +++----- src/Plotly.NET/ChartAPI/Chart.fs | 19 +++++++++++++++++-- src/Plotly.NET/ChartAPI/Chart2D.fs | 9 ++++----- src/Plotly.NET/ChartAPI/GenericChart.fs | 2 +- src/Plotly.NET/CommonAbstractions/ColorBar.fs | 2 ++ .../DisplayOptions/DisplayOptions.fs | 12 ++++++++++-- 7 files changed, 49 insertions(+), 16 deletions(-) diff --git a/src/Plotly.NET.CSharp/ChartAPI/Chart.cs b/src/Plotly.NET.CSharp/ChartAPI/Chart.cs index 8a335e920..10cbdd274 100644 --- a/src/Plotly.NET.CSharp/ChartAPI/Chart.cs +++ b/src/Plotly.NET.CSharp/ChartAPI/Chart.cs @@ -10,11 +10,22 @@ namespace Plotly.NET.CSharp { + /// + /// + /// public static partial class Chart { + /// + /// Create a combined chart with the given charts merged + /// + /// the charts to combine + /// public static GenericChart Combine(IEnumerable gCharts) => Plotly.NET.Chart.Combine(gCharts); - + /// + /// Creates a chart that is completely invisible when rendered. The Chart object however is NOT empty! Combining this chart with other charts will have unforseen consequences (it has for example invisible axes that can override other axes if used in Chart.Combine) + /// + /// public static GenericChart Invisible() => Plotly.NET.Chart.Invisible(); /// diff --git a/src/Plotly.NET.CSharp/ChartAPI/Chart2D.cs b/src/Plotly.NET.CSharp/ChartAPI/Chart2D.cs index 0ec84d91d..f5d9f0e69 100644 --- a/src/Plotly.NET.CSharp/ChartAPI/Chart2D.cs +++ b/src/Plotly.NET.CSharp/ChartAPI/Chart2D.cs @@ -18,11 +18,9 @@ public static partial class Chart /// /// Scatter charts are the basis of Point, Line, and Bubble Charts, and can be customized as such. We also provide abstractions for those: Chart.Line, Chart.Point, Chart.Bubble /// - /// Sets the x coordinates of the plotted data. - /// Sets the x coordinates of the plotted data. Use two inner arrays here to plot multicategorial data - /// Sets the y coordinates of the plotted data. - /// Sets the x coordinates of the plotted data. Use two inner arrays here to plot multicategorial data - /// Determines the drawing mode for this scatter trace. + /// Sets the x coordinates of the plotted data. + /// Sets the y coordinates of the plotted data. + /// Determines the drawing mode for this scatter trace. /// Sets the trace name. The trace name appear as the legend item and on hover /// Determines whether or not an item corresponding to this trace is shown in the legend. /// Sets the opactity of the trace diff --git a/src/Plotly.NET/ChartAPI/Chart.fs b/src/Plotly.NET/ChartAPI/Chart.fs index 428773a39..dc8ab847d 100644 --- a/src/Plotly.NET/ChartAPI/Chart.fs +++ b/src/Plotly.NET/ChartAPI/Chart.fs @@ -664,6 +664,10 @@ type Chart = /// /// Applies the given styles to the ColorBar object(s) of the chart's trace(s). Overwrites attributes with the same name that are already set. /// + /// Sets the colorbar's title + /// Sets the title font. + /// Sets the standoff distance (in px) between the axis labels and the title text The default value is a function of the axis tick labels, the title `font.size` and the axis `linewidth`. Note that the axis title position is always constrained within the margins, so the actual standoff distance is always less than the set or default value. By setting `standoff` and turning on `automargin`, plotly.js will push the margins to fit the axis title at given standoff distance. + /// Sets the Title object (use this for more finegrained control than the other title-associated arguments) /// Sets the color of padded area. /// Sets the axis line color. /// Sets the width (in px) or the border enclosing this color bar. @@ -700,7 +704,6 @@ type Chart = /// Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`. /// Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`. /// Sets the tick width (in px). - /// Sets the ColorBar title. /// Sets the x position of the color bar (in plot fraction). /// Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar. /// Sets the amount of padding (in px) along the x direction. @@ -3690,12 +3693,20 @@ type Chart = /// /// Applies the given styles to the chart's DisplayOptions object. Overwrites attributes with the same name that are already set. /// + /// The title metadata for the document + /// The document charset + /// The description metadata for the document + /// base64 encoded favicon image /// Additional tags that will be included in the document's head - /// HTML tags that appear below the chart in HTML docs + /// HTML tags that appear below the chart in HTML docs /// Sets how plotly is referenced in the head of html docs. When CDN, a script tag that references the plotly.js CDN is included in the output. When Full, a script tag containing the plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline [] static member withDisplayOptionsStyle ( + ?DocumentTitle: string, + ?DocumentCharset: string, + ?DocumentDescription: string, + ?DocumentFavicon: XmlNode, ?AdditionalHeadTags: XmlNode list, ?ChartDescription: XmlNode list, ?PlotlyJSReference: PlotlyJSReference @@ -3704,6 +3715,10 @@ type Chart = let displayOpts' = DisplayOptions.init ( + ?DocumentTitle = DocumentTitle, + ?DocumentCharset = DocumentCharset, + ?DocumentDescription = DocumentDescription, + ?DocumentFavicon = DocumentFavicon, ?AdditionalHeadTags = AdditionalHeadTags, ?ChartDescription = ChartDescription, ?PlotlyJSReference = PlotlyJSReference diff --git a/src/Plotly.NET/ChartAPI/Chart2D.fs b/src/Plotly.NET/ChartAPI/Chart2D.fs index 2347cf727..3be2daff7 100644 --- a/src/Plotly.NET/ChartAPI/Chart2D.fs +++ b/src/Plotly.NET/ChartAPI/Chart2D.fs @@ -4398,7 +4398,7 @@ module Chart2D = /// Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms. /// If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters. /// Determines whether to label the contour lines with their values. - /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. + /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. /// Sets the starting contour level value. Must be less than `contours.end` /// Sets the end contour level value. Must be more than `contours.start` /// Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments). @@ -4545,7 +4545,7 @@ module Chart2D = /// Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms. /// If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters. /// Determines whether to label the contour lines with their values. - /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. + /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. /// Sets the starting contour level value. Must be less than `contours.end` /// Sets the end contour level value. Must be more than `contours.start` /// Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments). @@ -4553,7 +4553,6 @@ module Chart2D = /// Sets the colorscale for this trace. /// Whether or not to show the colorscale/colorbar /// Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - /// Sets the style of the contours /// Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is "true" or if `contours.size` is missing. /// If set to false, ignore the global default settings set in `Defaults` [] @@ -5123,7 +5122,7 @@ module Chart2D = /// Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms. /// If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters. /// Determines whether to label the contour lines with their values. - /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. + /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. /// Sets the starting contour level value. Must be less than `contours.end` /// Sets the end contour level value. Must be more than `contours.start` /// Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments). @@ -5827,7 +5826,7 @@ module Chart2D = /// Sets the constraint operation. "=" keeps regions equal to `value` "<" and "<=" keep regions less than `value` ">" and ">=" keep regions greater than `value` "[]", "()", "[)", and "(]" keep regions inside `value[0]` to `value[1]` "][", ")(", "](", ")[" keep regions outside `value[0]` to value[1]` Open vs. closed intervals make no difference to constraint display, but all versions are allowed for consistency with filter transforms. /// If `levels`, the data is represented as a contour plot with multiple levels displayed. If `constraint`, the data is represented as constraints with the invalid region shaded as specified by the `operation` and `value` parameters. /// Determines whether to label the contour lines with their values. - /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. + /// Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. /// Sets the starting contour level value. Must be less than `contours.end` /// Sets the end contour level value. Must be more than `contours.start` /// Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments). diff --git a/src/Plotly.NET/ChartAPI/GenericChart.fs b/src/Plotly.NET/ChartAPI/GenericChart.fs index e8c9ad6bc..ba6336b4d 100644 --- a/src/Plotly.NET/ChartAPI/GenericChart.fs +++ b/src/Plotly.NET/ChartAPI/GenericChart.fs @@ -534,7 +534,7 @@ type GenericChart = /// If false, empty objects are used. /// /// wether or not to set default objects for Layout, Config and DisplayOptions - /// the input Trace collection + /// the input Trace static member ofTraceObject (useDefaults: bool) (trace: Trace) = GenericChart.ofTraceObjects useDefaults (Seq.singleton trace) /// diff --git a/src/Plotly.NET/CommonAbstractions/ColorBar.fs b/src/Plotly.NET/CommonAbstractions/ColorBar.fs index 0c3eca708..d4ccffb3a 100644 --- a/src/Plotly.NET/CommonAbstractions/ColorBar.fs +++ b/src/Plotly.NET/CommonAbstractions/ColorBar.fs @@ -200,9 +200,11 @@ type ColorBar() = /// Sets the x position of the color bar (in plot fraction). Defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. /// 'Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the *left*, *center*, or *right* of the color bar. Defaults to *left* when `orientation` is *v* and *center* when `orientation` is *h*. /// Sets the amount of padding (in px) along the x direction. + /// Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only. /// Sets the y position of the color bar (in plot fraction).Defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*.' /// 'Sets this color bar\'s vertical position anchor. This anchor binds the `y` position to the *top*, *middle* or *bottom* of the color bar.Defaults to *middle* when `orientation` is *v* and *bottom* when `orientation` is *h*.' /// Sets the amount of padding (in px) along the y direction. + /// Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only. static member style ( ?BGColor: Color, diff --git a/src/Plotly.NET/DisplayOptions/DisplayOptions.fs b/src/Plotly.NET/DisplayOptions/DisplayOptions.fs index c03c7215e..c1a04ffe4 100644 --- a/src/Plotly.NET/DisplayOptions/DisplayOptions.fs +++ b/src/Plotly.NET/DisplayOptions/DisplayOptions.fs @@ -22,8 +22,12 @@ type DisplayOptions() = /// /// Returns a new DisplayOptions object with the given styles /// + /// The title metadata for the document + /// The document charset + /// The description metadata for the document + /// base64 encoded favicon image /// Additional tags that will be included in the document's head - /// HTML tags that appear below the chart in HTML docs + /// HTML tags that appear below the chart in HTML docs /// Sets how plotly is referenced in the head of html docs. When CDN, a script tag that references the plotly.js CDN is included in the output. When Full, a script tag containing the plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline static member init ( @@ -49,8 +53,12 @@ type DisplayOptions() = /// /// Returns a function sthat applies the given styles to a DisplayOptions object /// + /// The title metadata for the document + /// The document charset + /// The description metadata for the document + /// base64 encoded favicon image /// Additional tags that will be included in the document's head - /// HTML tags that appear below the chart in HTML docs + /// HTML tags that appear below the chart in HTML docs /// Sets how plotly is referenced in the head of html docs. When CDN, a script tag that references the plotly.js CDN is included in the output. When Full, a script tag containing the plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline static member style ( From ceb2a4b0701db695386007a6bcb625dd3c444474 Mon Sep 17 00:00:00 2001 From: Kevin Schneider Date: Thu, 17 Oct 2024 15:36:48 +0200 Subject: [PATCH 4/5] make core internals visible to all other projects --- src/Plotly.NET/Plotly.NET.fsproj | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/Plotly.NET/Plotly.NET.fsproj b/src/Plotly.NET/Plotly.NET.fsproj index 52690bd3b..839ee387d 100644 --- a/src/Plotly.NET/Plotly.NET.fsproj +++ b/src/Plotly.NET/Plotly.NET.fsproj @@ -36,6 +36,13 @@ + + + + + + + From b6df9ea079b984fdefbe5dd72cbf5670d6a22b35 Mon Sep 17 00:00:00 2001 From: Kevin Schneider Date: Wed, 23 Oct 2024 09:42:57 +0200 Subject: [PATCH 5/5] Remove CompiledName attributes, fix some xml docs, fix Chart.withSlider/s not having an append argument --- src/Plotly.NET.CSharp/ChartAPI/Chart.cs | 2 +- .../GenericChartExtensions.cs | 20 +- src/Plotly.NET/ChartAPI/Chart.fs | 192 ++++++------------ src/Plotly.NET/CommonAbstractions/Colors.fs | 8 - .../Traces/ObjectAbstractions/Contours.fs | 7 - 5 files changed, 78 insertions(+), 151 deletions(-) diff --git a/src/Plotly.NET.CSharp/ChartAPI/Chart.cs b/src/Plotly.NET.CSharp/ChartAPI/Chart.cs index 10cbdd274..050f20fd7 100644 --- a/src/Plotly.NET.CSharp/ChartAPI/Chart.cs +++ b/src/Plotly.NET.CSharp/ChartAPI/Chart.cs @@ -20,7 +20,7 @@ public static partial class Chart /// /// the charts to combine /// - public static GenericChart Combine(IEnumerable gCharts) => Plotly.NET.Chart.Combine(gCharts); + public static GenericChart Combine(IEnumerable gCharts) => Plotly.NET.Chart.combine(gCharts); /// /// Creates a chart that is completely invisible when rendered. The Chart object however is NOT empty! Combining this chart with other charts will have unforseen consequences (it has for example invisible axes that can override other axes if used in Chart.Combine) diff --git a/src/Plotly.NET.CSharp/GenericChartExtensions.cs b/src/Plotly.NET.CSharp/GenericChartExtensions.cs index 231dcedd4..5daaa06eb 100644 --- a/src/Plotly.NET.CSharp/GenericChartExtensions.cs +++ b/src/Plotly.NET.CSharp/GenericChartExtensions.cs @@ -35,7 +35,7 @@ public static void SaveHtml( string path, Optional OpenInBrowser = default ) => - Plotly.NET.Chart.SaveHtml( + Plotly.NET.Chart.saveHtml( path: path, OpenInBrowser: OpenInBrowser.ToOption() ).Invoke(gChart); @@ -44,7 +44,7 @@ public static void SaveHtml( /// Saves the given chart as a temporary html file and opens it in the browser. /// /// The chart to show in the browser - public static void Show(this GenericChart gChart) => Plotly.NET.Chart.Show(gChart); + public static void Show(this GenericChart gChart) => Plotly.NET.Chart.show(gChart); /// /// Sets trace information on the given chart. @@ -65,7 +65,7 @@ public static GenericChart WithTraceInfo( Optional LegendGroup = default, Optional LegendGroupTitle = default ) => - Plotly.NET.Chart.WithTraceInfo( + Plotly.NET.Chart.withTraceInfo( Name: Name.ToOption(), Visible: Visible.ToOption(), ShowLegend: ShowLegend.ToOption(), @@ -80,7 +80,7 @@ public static GenericChart WithSize( Optional<int> Width = default, Optional<int> Height = default ) => - Plotly.NET.Chart.WithSize(Width: Width.ToOption(), Height: Height.ToOption()).Invoke(gChart); + Plotly.NET.Chart.withSize(Width: Width.ToOption(), Height: Height.ToOption()).Invoke(gChart); /// <summary> /// Sets the given x axis styles on the input chart's layout. @@ -155,7 +155,7 @@ public static GenericChart WithXAxisStyle<MinType, MaxType, CategoryArrayType>( where MaxType : IConvertible where CategoryArrayType : IConvertible => - Plotly.NET.Chart.WithXAxisStyle<MinType, MaxType, CategoryArrayType>( + Plotly.NET.Chart.withXAxisStyle<MinType, MaxType, CategoryArrayType>( TitleText: TitleText.ToOption(), TitleFont: TitleFont.ToOption(), TitleStandoff: TitleStandoff.ToOption(), @@ -266,7 +266,7 @@ public static GenericChart WithYAxisStyle<MinType, MaxType, CategoryArrayType>( where MaxType : IConvertible where CategoryArrayType : IConvertible => - Plotly.NET.Chart.WithYAxisStyle<MinType, MaxType, CategoryArrayType>( + Plotly.NET.Chart.withYAxisStyle<MinType, MaxType, CategoryArrayType>( TitleText: TitleText.ToOption(), TitleFont: TitleFont.ToOption(), TitleStandoff: TitleStandoff.ToOption(), @@ -316,7 +316,7 @@ public static GenericChart WithMapbox( Optional<int> Id = default ) => - Plotly.NET.Chart.WithMapbox( + Plotly.NET.Chart.withMapbox( mapbox: mapbox, Id: Id.ToOption() ).Invoke(gChart); @@ -374,7 +374,7 @@ public static GenericChart WithXAxisRangeSlider( Optional<StyleParam.SubPlotId> Id = default ) => - Plotly.NET.Chart.WithXAxisRangeSlider( + Plotly.NET.Chart.withXAxisRangeSlider( rangeSlider: rangeSlider, Id: Id.ToOption() ).Invoke(gChart); @@ -393,7 +393,7 @@ public static GenericChart WithLegend( Optional<int> Id ) => - Plotly.NET.Chart.WithLegend( + Plotly.NET.Chart.withLegend( legend: legend, Id: Id.ToOption() ).Invoke(gChart); @@ -460,7 +460,7 @@ public static GenericChart WithLegendStyle( Optional<int> Id = default ) => - Plotly.NET.Chart.WithLegendStyle( + Plotly.NET.Chart.withLegendStyle( BGColor: BGColor.ToOption(), BorderColor: BorderColor.ToOption(), BorderWidth: BorderWidth.ToOption(), diff --git a/src/Plotly.NET/ChartAPI/Chart.fs b/src/Plotly.NET/ChartAPI/Chart.fs index dc8ab847d..5574d5700 100644 --- a/src/Plotly.NET/ChartAPI/Chart.fs +++ b/src/Plotly.NET/ChartAPI/Chart.fs @@ -23,7 +23,6 @@ type Chart = /// </summary> /// <param name="path">The path to save the chart html at.</param> /// <param name="OpenInBrowser">Whether or not to open the generated file in the browser (default: false)</param> - [<CompiledName("SaveHtml")>] static member saveHtml(path: string, ?OpenInBrowser: bool) = fun (ch: GenericChart) -> let show = defaultArg OpenInBrowser false @@ -45,7 +44,6 @@ type Chart = /// Saves the given chart as a temporary html file and opens it in the browser. /// </summary> /// <param name="ch">The chart to show in the browser</param> - [<CompiledName("Show")>] static member show(ch: GenericChart) = let guid = Guid.NewGuid().ToString() let tempPath = Path.GetTempPath() @@ -55,7 +53,6 @@ type Chart = // ####################### /// Create a combined chart with the given charts merged - [<CompiledName("Combine")>] static member combine(gCharts: seq<GenericChart>) = GenericChart.combine gCharts //============================================================================================================== @@ -89,7 +86,6 @@ type Chart = /// <param name="LegendRank">Sets the legend rank for the chart's trace(s). Items and groups with smaller ranks are presented on top/left side while with `"reversed" `legend.traceorder` they are on bottom/right side. The default legendrank is 1000, so that you can use ranks less than 1000 to place certain items before all unranked items, and ranks greater than 1000 to go after all unranked items.</param> /// <param name="LegendGroup">Sets the legend group for the chart's trace(s). Traces part of the same legend group hide/show at the same time when toggling legend items.</param> /// <param name="LegendGroupTitle">Sets the title for the chart's trace legend group </param> - [<CompiledName("WithTraceInfo")>] static member withTraceInfo ( ?Name: string, @@ -123,7 +119,6 @@ type Chart = /// </summary> /// <param name="X">The new x axis anchor id for the chart's cartesian and/or carpet trace(s)</param> /// <param name="Y">The new x axis anchor id for the chart's cartesian and/or carpet trace(s)</param> - [<CompiledName("WithAxisAnchor")>] static member withAxisAnchor ( ?X, @@ -150,7 +145,6 @@ type Chart = /// Sets the color axis id for the chart's trace(s). /// </summary> /// <param name="id">The new color axis id for the chart's trace(s)</param> - [<CompiledName("WithColorAxisAnchor")>] static member withColorAxisAnchor(id: int) = fun (ch: GenericChart) -> ch |> GenericChart.mapTrace (Trace.setColorAxisAnchor id) @@ -158,7 +152,6 @@ type Chart = /// Sets the legend id for the chart's trace(s). /// </summary> /// <param name="id">The new Legend id for the chart's trace(s)</param> - [<CompiledName("WithLegendAnchor")>] static member withLegendAnchor(id: int) = fun (ch: GenericChart) -> ch |> GenericChart.mapTrace (Trace.setLegendAnchor id) @@ -167,7 +160,6 @@ type Chart = /// </summary> /// <param name="marker">The new marker for the chart's trace(s)</param> /// <param name="Combine">Whether or not to combine the objects if there is already a marker (default is false)</param> - [<CompiledName("SetMarker")>] static member setMarker(marker: Marker, ?Combine: bool) = let combine = defaultArg Combine false @@ -183,7 +175,6 @@ type Chart = /// If there is already a marker set, the objects are combined. /// </summary> /// <param name="marker">The new marker for the chart's trace(s)</param> - [<CompiledName("WithMarker")>] static member withMarker(marker: Marker) = (fun (ch: GenericChart) -> ch |> Chart.setMarker (marker, true)) @@ -224,7 +215,6 @@ type Chart = /// <param name="MultiSymbol3D">Sets the individual marker symbols for 3d traces.</param> /// <param name="OutlierColor">Sets the color of the outlier sample points.</param> /// <param name="OutlierWidth">Sets the width of the outlier sample points.</param> - [<CompiledName("WithMarkerStyle")>] static member withMarkerStyle ( ?Angle: float, @@ -308,7 +298,6 @@ type Chart = /// </summary> /// <param name="line">The new Line for the chart's trace(s)</param> /// <param name="Combine">Whether or not to combine the objects if there is already a Line (default is false)</param> - [<CompiledName("SetLine")>] static member setLine(line: Line, ?Combine: bool) = let combine = defaultArg Combine false @@ -324,7 +313,6 @@ type Chart = /// If there is already a Line set, the objects are combined. /// </summary> /// <param name="line">The new line for the chart's trace(s)</param> - [<CompiledName("WithLine")>] static member withLine(line: Line) = (fun (ch: GenericChart) -> ch |> Chart.setLine (line, true)) @@ -351,7 +339,6 @@ type Chart = /// <param name="MultiWidth">Sets the individual line width (in px).</param> /// <param name="OutlierColor">Sets the color of the outline of outliers</param> /// <param name="OutlierWidth">Sets the width of the outline of outliers</param> - [<CompiledName("WithLineStyle")>] static member withLineStyle ( ?BackOff: StyleParam.BackOff, @@ -407,7 +394,6 @@ type Chart = /// </summary> /// <param name="xError">The new Error in the x dimension for the chart's trace(s)</param> /// <param name="Combine">Whether or not to combine the objects if there is already an Error object set (default is false)</param> - [<CompiledName("SetXError")>] static member setXError(xError: Error, ?Combine: bool) = let combine = defaultArg Combine false @@ -423,7 +409,6 @@ type Chart = /// If there is already an error set, the objects are combined. /// </summary> /// <param name="xError">The new error for the chart's trace(s)</param> - [<CompiledName("WithXError")>] static member withXError(xError: Error) = (fun (ch: GenericChart) -> ch |> Chart.setXError (xError, true)) @@ -443,7 +428,6 @@ type Chart = /// <param name ="Color">Sets the stoke color of the error bars.</param> /// <param name ="Thickness">Sets the thickness (in px) of the error bars.</param> /// <param name ="Width">Sets the width (in px) of the cross-bar at both ends of the error bars.</param> - [<CompiledName("WithXErrorStyle")>] static member withXErrorStyle ( ?Visible: bool, @@ -485,7 +469,6 @@ type Chart = /// </summary> /// <param name="yError">The new Error in the x dimension for the chart's trace(s)</param> /// <param name="Combine">Whether or not to combine the objects if there is already an Error object set (default is false)</param> - [<CompiledName("SetYError")>] static member setYError(yError: Error, ?Combine: bool) = let combine = defaultArg Combine false @@ -501,7 +484,6 @@ type Chart = /// If there is already an error set, the objects are combined. /// </summary> /// <param name="yError">The new error for the chart's trace(s)</param> - [<CompiledName("WithYError")>] static member withYError(yError: Error) = (fun (ch: GenericChart) -> ch |> Chart.setYError (yError, true)) @@ -521,7 +503,6 @@ type Chart = /// <param name ="Color">Sets the stoke color of the error bars.</param> /// <param name ="Thickness">Sets the thickness (in px) of the error bars.</param> /// <param name ="Width">Sets the width (in px) of the cross-bar at both ends of the error bars.</param> - [<CompiledName("WithYErrorStyle")>] static member withYErrorStyle ( ?Visible: bool, @@ -563,7 +544,6 @@ type Chart = /// </summary> /// <param name="zError">The new Error in the x dimension for the chart's trace(s)</param> /// <param name="Combine">Whether or not to combine the objects if there is already an Error object set (default is false)</param> - [<CompiledName("SetZError")>] static member setZError(zError: Error, ?Combine: bool) = let combine = defaultArg Combine false @@ -579,7 +559,6 @@ type Chart = /// If there is already an error set, the objects are combined. /// </summary> /// <param name="zError">The new error for the chart's trace(s)</param> - [<CompiledName("WithZError")>] static member withZError(zError: Error) = (fun (ch: GenericChart) -> ch |> Chart.setZError (zError, true)) @@ -599,7 +578,6 @@ type Chart = /// <param name ="Color">Sets the stoke color of the error bars.</param> /// <param name ="Thickness">Sets the thickness (in px) of the error bars.</param> /// <param name ="Width">Sets the width (in px) of the cross-bar at both ends of the error bars.</param> - [<CompiledName("WithZErrorStyle")>] static member withZErrorStyle ( ?Visible: bool, @@ -641,7 +619,6 @@ type Chart = /// </summary> /// <param name="colorBar">The new ColorBar for the chart's trace(s)</param> /// <param name="Combine">Whether or not to combine the objects if there is already a ColorBar object set (default is false)</param> - [<CompiledName("SetColorBar")>] static member setColorBar(colorBar: ColorBar, ?Combine: bool) = let combine = defaultArg Combine false @@ -657,7 +634,6 @@ type Chart = /// If there is already a ColorBar set, the objects are combined. /// </summary> /// <param name="colorbar">The new ColorBar for the chart's trace(s)</param> - [<CompiledName("WithColorBar")>] static member withColorBar(colorbar: ColorBar) = (fun (ch: GenericChart) -> ch |> Chart.setColorBar (colorbar, true)) @@ -712,7 +688,6 @@ type Chart = /// <param name="YAnchor">Sets this color bar's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the color bar.</param> /// <param name="YPad">Sets the amount of padding (in px) along the y direction.</param> /// <param name="YRef">Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.</param> - [<CompiledName("WithColorbarStyle")>] static member withColorBarStyle ( ?TitleText: string, @@ -832,7 +807,6 @@ type Chart = /// /// If there is already an layout set, the object is replaced. /// </summary> - [<CompiledName("SetLayout")>] static member setLayout(layout: Layout) = (fun (ch: GenericChart) -> GenericChart.setLayout layout ch) @@ -841,7 +815,6 @@ type Chart = /// /// If there is already an layout set, the objects are combined. /// </summary> - [<CompiledName("WithLayout")>] static member withLayout(layout: Layout) = (fun (ch: GenericChart) -> GenericChart.addLayout layout ch) @@ -922,7 +895,6 @@ type Chart = /// <param name="Images">A collection containing all Images of this layout. </param> /// <param name="Sliders">A collection containing all Sliders of this layout. </param> /// <param name="UpdateMenus">A collection containing all UpdateMenus of this layout. </param> - [<CompiledName("WithLayoutStyle")>] static member withLayoutStyle ( ?Title: Title, @@ -1089,7 +1061,6 @@ type Chart = /// <param name="id">The target axis id with which the axis should be set.</param> /// <param name="SceneAxis">If set on a scene, define whether it is the x, y or z axis. default is x.</param> /// <param name="Combine">Whether or not to combine the objects if there is already an axis set (default is false)</param> - [<CompiledName("SetAxis")>] static member setAxis ( axis: LinearAxis, @@ -1169,7 +1140,6 @@ type Chart = /// </summary> /// <param name="xAxis">The x axis to set on the chart's layout</param> /// <param name="Id">The target axis id with which the axis should be set. Default is 1.</param> - [<CompiledName("WithXAxis")>] static member withXAxis(xAxis: LinearAxis, ?Id: StyleParam.SubPlotId) = let id = defaultArg Id (StyleParam.SubPlotId.XAxis 1) @@ -1212,7 +1182,6 @@ type Chart = /// <param name="BackgroundColor">Sets the background color of this axis' wall. (Only has an effect on 3D scenes)</param> /// <param name="ShowBackground">Sets whether or not this axis' wall has a background color. (Only has an effect on 3D scenes)</param> /// <param name="Id">The target axis id on which the styles should be applied. Default is 1.</param> - [<CompiledName("WithXAxisStyle")>] static member withXAxisStyle ( ?TitleText: string, @@ -1291,7 +1260,6 @@ type Chart = Chart.withXAxis (xaxis, ?Id = Id) /// Sets the range slider for the xAxis - [<CompiledName("WithXAxisRangeSlider")>] static member withXAxisRangeSlider(rangeSlider: RangeSlider, ?Id) = let xaxis = LinearAxis.init (RangeSlider = rangeSlider) @@ -1305,7 +1273,6 @@ type Chart = /// </summary> /// <param name="yAxis">The y axis to set on the chart's layout</param> /// <param name="Id">The target axis id with which the axis should be set. Default is 1.</param> - [<CompiledName("WithYAxis")>] static member withYAxis(yAxis: LinearAxis, ?Id: StyleParam.SubPlotId) = let id = defaultArg Id (StyleParam.SubPlotId.YAxis 1) @@ -1350,7 +1317,6 @@ type Chart = /// <param name="BackgroundColor">Sets the background color of this axis' wall. (Only has an effect on 3D scenes)</param> /// <param name="ShowBackground">Sets whether or not this axis' wall has a background color. (Only has an effect on 3D scenes)</param> /// <param name="Id">The target axis id on which the styles should be applied. Default is 1.</param> - [<CompiledName("WithYAxisStyle")>] static member withYAxisStyle ( ?TitleText: string, @@ -1439,7 +1405,6 @@ type Chart = /// </summary> /// <param name="zAxis">The z axis to set on the chart's layout</param> /// <param name="Id">The target scene id on which the axis should be set. Default is 1.</param> - [<CompiledName("WithZAxis")>] static member withZAxis(zAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Scene @@ -1481,7 +1446,6 @@ type Chart = /// <param name="BackgroundColor">Sets the background color of this axis' wall. (Only has an effect on 3D scenes)</param> /// <param name="ShowBackground">Sets whether or not this axis' wall has a background color. (Only has an effect on 3D scenes)</param> /// <param name="Id">The target scene id on which the axis styles should be applied. Default is 1.</param> - [<CompiledName("WithZAxisStyle")>] static member withZAxisStyle ( ?TitleText: string, @@ -1563,7 +1527,6 @@ type Chart = /// <param name="scene">The Scene object to set on the chart's layout</param> /// <param name="id">The target scene id with which the Scene object should be set.</param> /// <param name="Combine">Whether or not to combine the objects if there is already an Scene set (default is false)</param> - [<CompiledName("SetScene")>] static member setScene ( scene: Scene, @@ -1586,7 +1549,6 @@ type Chart = /// </summary> /// <param name="scene">The Scene to set on the chart's layout</param> /// <param name="Id">The target scene id on which the scene should be set. Default is 1.</param> - [<CompiledName("WithScene")>] static member withScene(scene: Scene, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Scene @@ -1611,7 +1573,6 @@ type Chart = /// <param name="YAxis">Sets this scene's yaxis</param> /// <param name="ZAxis">Sets this scene's zaxis</param> /// <param name="Id">The target scene id</param> - [<CompiledName("WithSceneStyle")>] static member withSceneStyle ( ?Annotations: seq<Annotation>, @@ -1653,7 +1614,6 @@ type Chart = /// <param name="polar">The Polar object to set on the chart's layout</param> /// <param name="id">The target polar id with which the Polar object should be set.</param> /// <param name="Combine">Whether or not to combine the objects if there is already an Polar set (default is false)</param> - [<CompiledName("SetPolar")>] static member setPolar ( polar: Polar, @@ -1676,7 +1636,6 @@ type Chart = /// </summary> /// <param name="polar">The new Polar for the chart's layout</param> /// <param name="Id">The target polar id on which the polar object should be set. Default is 1.</param> - [<CompiledName("WithPolar")>] static member withPolar(polar: Polar, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Polar @@ -1697,7 +1656,6 @@ type Chart = /// <param name="GridShape">Determines if the radial axis grid lines and angular axis line are drawn as "circular" sectors or as "linear" (polygon) sectors. Has an effect only when the angular axis has `type` "category". Note that `radialaxis.angle` is snapped to the angle of the closest vertex when `gridshape` is "circular" (so that radial axis scale is the same as the data scale).</param> /// <param name="UIRevision">Controls persistence of user-driven changes in axis attributes, if not overridden in the individual axes. Defaults to `layout.uirevision`.</param> /// <param name="Id">The target polar id</param> - [<CompiledName("WithPolarStyle")>] static member withPolarStyle ( ?Domain: Domain, @@ -1731,7 +1689,6 @@ type Chart = /// <param name="angularAxis">The AngularAxis to set on the target polar object on the chart's layout</param> /// <param name="id">The target polar id with which the AngularAxis should be set.(default is 1)</param> /// <param name="Combine">Whether or not to combine the objects if there is already an axis set (default is false)</param> - [<CompiledName("SetAngularAxis")>] static member setAngularAxis ( angularAxis: AngularAxis, @@ -1776,7 +1733,6 @@ type Chart = /// </summary> /// <param name="angularAxis">The new AngularAxis for the chart layout's polar object</param> /// <param name="Id">The target polar id on which the AngularAxis should be set. Default is 1.</param> - [<CompiledName("WithAngularAxis")>] static member withAngularAxis(angularAxis: AngularAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Polar @@ -1789,7 +1745,6 @@ type Chart = /// <param name="radialAxis">The RadialAxis to set on the target polar object on the chart's layout</param> /// <param name="id">The target polar id with which the RadialAxis should be set.(default is 1)</param> /// <param name="Combine">Whether or not to combine the objects if there is already an axis set (default is false)</param> - [<CompiledName("SetRadialAxis")>] static member setRadialAxis ( radialAxis: RadialAxis, @@ -1835,7 +1790,6 @@ type Chart = /// </summary> /// <param name="radialAxis">The new RadialAxis for the chart layout's polar object</param> /// <param name="Id">The target polar id on which the RadialAxis should be set. Default is 1.</param> - [<CompiledName("WithRadialAxis")>] static member withRadialAxis(radialAxis: RadialAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Polar @@ -1848,7 +1802,6 @@ type Chart = /// <param name="smith">The Smith object to set on the chart's layout</param> /// <param name="id">The target smith id with which the Smith object should be set.</param> /// <param name="Combine">Whether or not to combine the objects if there is already an Smith set (default is false)</param> - [<CompiledName("SetSmith")>] static member setSmith ( smith: Smith, @@ -1871,7 +1824,6 @@ type Chart = /// </summary> /// <param name="smith">The new Smith for the chart's layout</param> /// <param name="Id">The target smith id on which the smith object should be set. Default is 1.</param> - [<CompiledName("WithSmith")>] static member withSmith(smith: Smith, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Smith @@ -1883,8 +1835,6 @@ type Chart = /// /// If there is already a Smith set, the styles are applied to it. If there is no Smith present, a new Smith object with the given styles will be set. /// </summary> - - [<CompiledName("WithSmithStyle")>] static member withSmithStyle ( ?BGColor: Color, @@ -1905,7 +1855,6 @@ type Chart = /// <param name="imaginaryAxis">The ImaginaryAxis to set on the target polar object on the chart's layout</param> /// <param name="id">The target polar id with which the ImaginaryAxis should be set.(default is 1)</param> /// <param name="Combine">Whether or not to combine the objects if there is already an axis set (default is false)</param> - [<CompiledName("SetImaginaryAxis")>] static member setImaginaryAxis ( imaginaryAxis: ImaginaryAxis, @@ -1950,7 +1899,6 @@ type Chart = /// </summary> /// <param name="imaginaryAxis">The new ImaginaryAxis for the chart layout's smith object</param> /// <param name="Id">The target smith id on which the ImaginaryAxis should be set. Default is 1.</param> - [<CompiledName("WithImaginaryAxis")>] static member withImaginaryAxis(imaginaryAxis: ImaginaryAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Smith @@ -1963,7 +1911,6 @@ type Chart = /// <param name="realAxis">The RealAxis to set on the target smith object on the chart's layout</param> /// <param name="id">The target smith id with which the RealAxis should be set.(default is 1)</param> /// <param name="Combine">Whether or not to combine the objects if there is already an axis set (default is false)</param> - [<CompiledName("SetRealAxis")>] static member setRealAxis ( realAxis: RealAxis, @@ -2007,7 +1954,6 @@ type Chart = /// </summary> /// <param name="realAxis">The new RealAxis for the chart layout's smith object</param> /// <param name="Id">The target smith id on which the RealAxis should be set. Default is 1.</param> - [<CompiledName("WithRealAxis")>] static member withRealAxis(realAxis: RealAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Smith @@ -2020,7 +1966,6 @@ type Chart = /// <param name="geo">The Geo object to set on the chart's layout</param> /// <param name="id">The target Geo id with which the Geo object should be set.</param> /// <param name="Combine">Whether or not to combine the objects if there is already an Geo set (default is false)</param> - [<CompiledName("SetGeo")>] static member setGeo(geo: Geo, id: StyleParam.SubPlotId, ?Combine: bool) = let combine = defaultArg Combine false @@ -2038,7 +1983,6 @@ type Chart = /// </summary> /// <param name="geo">The new Geo for the chart's layout</param> /// <param name="Id">The target geo id on which the Geo should be set. Default is 1.</param> - [<CompiledName("WithGeo")>] static member withGeo(geo: Geo, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Geo @@ -2082,7 +2026,6 @@ type Chart = /// <param name="LatAxis">Sets the latitudinal axis for this geo trace</param> /// <param name="LonAxis">Sets the longitudinal axis for this geo trace</param> /// <param name="Id">the target geo id</param> - [<CompiledName("WithGeoStyle")>] static member withGeoStyle ( ?FitBounds: StyleParam.GeoFitBounds, @@ -2166,7 +2109,6 @@ type Chart = /// <param name="Parallels">For conic projection types only. Sets the parallels (tangent, secant) where the cone intersects the sphere.</param> /// <param name="Scale">Zooms in or out on the map view. A scale of "1" corresponds to the largest zoom level that fits the map's lon and lat ranges.</param> /// <param name="Id">the target geo id</param> - [<CompiledName("WithGeoProjection")>] static member withGeoProjection ( projectionType: StyleParam.GeoProjectionType, @@ -2195,7 +2137,6 @@ type Chart = /// <param name="mapbox">The Mapbox object to set on the chart's layout</param> /// <param name="id">The target Mapbox id with which the Mapbox object should be set.</param> /// <param name="Combine">Whether or not to combine the objects if there is already an Mapbox set (default is false)</param> - [<CompiledName("SetMapbox")>] static member setMapbox ( mapbox: Mapbox, @@ -2218,7 +2159,6 @@ type Chart = /// </summary> /// <param name="mapbox">The Mapbox to set on the chart's layout</param> /// <param name="Id">The target mapbox id on which the Mapbox should be set. Default is 1.</param> - [<CompiledName("WithMapbox")>] static member withMapbox(mapbox: Mapbox, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Mapbox @@ -2272,7 +2212,6 @@ type Chart = /// <param name="ternary">The Ternary object to set on the chart's layout</param> /// <param name="id">The target Ternary id with which the Ternary object should be set.</param> /// <param name="Combine">Whether or not to combine the objects if there is already an Ternary set (default is false)</param> - [<CompiledName("SetTernary")>] static member setTernary ( ternary: Ternary, @@ -2295,7 +2234,6 @@ type Chart = /// </summary> /// <param name="ternary">The Ternary to set on the chart's layout</param> /// <param name="Id">The target ternary id on which the Ternary should be set. Default is 1.</param> - [<CompiledName("WithTernary")>] static member withTernary(ternary: Ternary, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2343,7 +2281,6 @@ type Chart = /// <param name="aAxis">The a Axis to set on the target ternary object on the chart's layout</param> /// <param name="id">The target ternary id with which the a Axis should be set.(default is 1)</param> /// <param name="Combine">Whether or not to combine the objects if there is already an axis set (default is false)</param> - [<CompiledName("SetAAxis")>] static member setAAxis ( aAxis: LinearAxis, @@ -2389,7 +2326,6 @@ type Chart = /// </summary> /// <param name="aAxis">The new a axis for the chart layout's ternary object</param> /// <param name="Id">The target ternary id on which the a axis should be set. Default is 1.</param> - [<CompiledName("WithAAxis")>] static member withAAxis(aAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2402,7 +2338,6 @@ type Chart = /// <param name="bAxis">The b Axis to set on the target ternary object on the chart's layout</param> /// <param name="id">The target ternary id with which the b Axis should be set.(default is 1)</param> /// <param name="Combine">Whether or not to combine the objects if there is already an axis set (default is false)</param> - [<CompiledName("SetBAxis")>] static member setBAxis ( bAxis: LinearAxis, @@ -2448,7 +2383,6 @@ type Chart = /// </summary> /// <param name="bAxis">The new b axis for the chart layout's ternary object</param> /// <param name="Id">The target ternary id on which the b axis should be set. Default is 1.</param> - [<CompiledName("WithBAxis")>] static member withBAxis(bAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2461,7 +2395,6 @@ type Chart = /// <param name="cAxis">The c Axis to set on the target ternary object on the chart's layout</param> /// <param name="id">The target ternary id with which the c Axis should be set.(default is 1)</param> /// <param name="Combine">Whether or not to combine the objects if there is already an axis set (default is false)</param> - [<CompiledName("SetCAxis")>] static member setCAxis ( cAxis: LinearAxis, @@ -2507,7 +2440,6 @@ type Chart = /// </summary> /// <param name="cAxis">The new c axis for the chart layout's ternary object</param> /// <param name="Id">The target ternary id on which the c axis should be set. Default is 1.</param> - [<CompiledName("WithCAxis")>] static member withCAxis(cAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2519,7 +2451,6 @@ type Chart = /// </summary> /// <param name="layoutGrid">The new LayoutGrid for the chart's layout</param> /// <param name="Combine">Whether or not to combine the objects if there is already a ColorBar object set (default is false)</param> - [<CompiledName("SetLayoutGrid")>] static member setLayoutGrid(layoutGrid: LayoutGrid, ?Combine: bool) = let combine = defaultArg Combine false @@ -2535,7 +2466,6 @@ type Chart = /// If there is already a LayoutGrid set, the objects are combined. /// </summary> /// <param name="layoutGrid">The new LayoutGrid for the chart's layout</param> - [<CompiledName("WithLayoutGrid")>] static member withLayoutGrid(layoutGrid: LayoutGrid) = (fun (ch: GenericChart) -> ch |> Chart.setLayoutGrid (layoutGrid, true)) @@ -2556,7 +2486,6 @@ type Chart = /// <param name ="Domain">Sets the domains of this grid subplot (in plot fraction). The first and last cells end exactly at the domain edges, with no grout around the edges.</param> /// <param name ="XSide">Sets where the x axis labels and titles go. "bottom" means the very bottom of the grid. "bottom plot" is the lowest plot that each x axis is used in. "top" and "top plot" are similar.</param> /// <param name ="YSide">Sets where the y axis labels and titles go. "left" means the very left edge of the grid. "left plot" is the leftmost plot that each y axis is used in. "right" and "right plot" are similar.</param> - [<CompiledName("WithLayoutGridStyle")>] static member withLayoutGridStyle ( ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], @@ -2598,7 +2527,6 @@ type Chart = /// <param name="legend">The Legend to set on the chart's layout</param> /// <param name="id">The target Legend id with which the Legend should be set.</param> /// <param name="Combine">Whether or not to combine the objects if there is already an Legend set (default is false)</param> - [<CompiledName("SetLegend")>] static member setLegend ( legend: Legend, @@ -2621,7 +2549,6 @@ type Chart = /// </summary> /// <param name="legend">The Legend to set on the chart's layout</param> /// <param name="Id">The target Legend id with which the Legend should be set. Default is 1.</param> - [<CompiledName("WithLegend")>] static member withLegend(legend: Legend, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Legend @@ -2660,7 +2587,6 @@ type Chart = /// <param name="YAnchor">Sets the legend's vertical position anchor This anchor binds the `y` position to the "top", "middle" or "bottom" of the legend. Value "auto" anchors legends at their bottom for `y` values less than or equal to 1/3, anchors legends to at their top for `y` values greater than or equal to 2/3 and anchors legends with respect to their middle otherwise.</param> /// <param name="YRef">Sets the container `y` refers to. "container" spans the entire `height` of the plot. "paper" refers to the height of the plotting area only.</param> /// <param name="Id">The target Legend id. Default is 1.</param> - [<CompiledName("WithLegendStyle")>] static member withLegendStyle ( ?BGColor: Color, @@ -2723,11 +2649,10 @@ type Chart = ch |> Chart.withLegend(legend, ?Id = Id)) /// <summary> - /// + /// Sets the given annotations on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already annotations set. /// </summary> /// <param name="annotations">The annotations to add to the input charts layout</param> /// <param name="Append">If true, the input annotations will be appended to existing annotations, otherwise existing annotations will be removed (default: true)</param> - [<CompiledName("WithAnnotations")>] static member withAnnotations ( annotations: seq<Annotation>, @@ -2752,12 +2677,15 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Annotations = annotations')) - [<CompiledName("WithAnnotation")>] + /// <summary> + /// Sets the given annotation on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already annotations set. + /// </summary> + /// <param name="annotation">The annotations to add to the input charts layout</param> + /// <param name="Append">If true, the input annotation will be appended to existing annotations, otherwise existing annotations will be removed (default: true)</param> static member withAnnotation(annotation: Annotation, ?Append: bool) = Chart.withAnnotations ([ annotation ], ?Append = Append) // Set the title of a Chart - [<CompiledName("WithTitle")>] static member withTitle(title, ?TitleFont) = (fun (ch: GenericChart) -> let layout = @@ -2766,7 +2694,6 @@ type Chart = GenericChart.addLayout layout ch) // Set the title of a Chart - [<CompiledName("WithTitle")>] static member withTitle(title) = (fun (ch: GenericChart) -> let layout = @@ -2775,7 +2702,6 @@ type Chart = GenericChart.addLayout layout ch) /// Sets the size of a Chart (in pixels) - [<CompiledName("WithSize")>] static member withSize ( ?Width: int, @@ -2791,12 +2717,10 @@ type Chart = // Set the size of a Chart - [<CompiledName("WithSize")>] static member withSize(width: float, height: float) = Chart.withSize (Width = int width, Height = int height) // Set the margin of a Chart - [<CompiledName("WithMargin")>] static member withMargin(margin: Margin) = (fun (ch: GenericChart) -> let layout = @@ -2805,7 +2729,6 @@ type Chart = GenericChart.setLayout layout ch) // Set the margin of a Chart - [<CompiledName("WithMarginSize")>] static member withMarginSize ( ?Left, @@ -2827,22 +2750,14 @@ type Chart = Chart.withMargin (margin) - [<CompiledName("WithTemplate")>] static member withTemplate(template: Template) = (fun (ch: GenericChart) -> ch |> GenericChart.mapLayout (Layout.style (Template = (template :> DynamicObj)))) - // TODO: Include withLegend & withLegendStyle - - //Specifies the shape type to be drawn. If "line", a line is drawn from (`x0`,`y0`) to (`x1`,`y1`) If "circle", a circle is drawn from - //((`x0`+`x1`)/2, (`y0`+`y1`)/2)) with radius (|(`x0`+`x1`)/2 - `x0`|, |(`y0`+`y1`)/2 -`y0`)|) If "rect", a rectangle is drawn linking - //(`x0`,`y0`), (`x1`,`y0`), (`x1`,`y1`), (`x0`,`y1`), (`x0`,`y0`) - /// <summary> - /// + /// Sets the given shapes on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already shapes set. /// </summary> /// <param name="shapes">The shapes to add to the input charts layout</param> - /// <param name="Append">If true, the input annotations will be appended to existing annotations, otherwise existing annotations will be removed (default: true)</param> - [<CompiledName("WithShapes")>] + /// <param name="Append">If true, the input shapes will be appended to existing shapes, otherwise existing shapes will be removed (default: true)</param> static member withShapes(shapes: seq<Shape>, ?Append: bool) = let append = defaultArg Append true @@ -2861,16 +2776,19 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Shapes = shapes')) - [<CompiledName("WithShape")>] + /// <summary> + /// Sets the given shape on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already shapes set. + /// </summary> + /// <param name="shape">The shapes to add to the input charts layout</param> + /// <param name="Append">If true, the input shape will be appended to existing shapes, otherwise existing annotations will be shapes (default: true)</param> static member withShape(shape: Shape, ?Append: bool) = Chart.withShapes ([ shape ], ?Append = Append) /// <summary> - /// + /// Sets the given selections on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already selections set. /// </summary> /// <param name="selections">The selections to add to the input charts layout</param> - /// <param name="Append">If true, the input selections will be appended to existing annotations, otherwise existing annotations will be removed (default: true)</param> - [<CompiledName("WithSelections")>] + /// <param name="Append">If true, the input selections will be appended to existing selections, otherwise existing selections will be removed (default: true)</param> static member withSelections(selections: seq<Selection>, ?Append: bool) = let append = defaultArg Append true @@ -2891,7 +2809,11 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Selections = selections')) - [<CompiledName("WithSelection")>] + /// <summary> + /// Sets the given selection on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already selections set. + /// </summary> + /// <param name="selection">The selections to add to the input charts layout</param> + /// <param name="Append">If true, the input selection will be appended to existing selections, otherwise existing selections will be removed (default: true)</param> static member withSelection(selection: Selection, ?Append: bool) = Chart.withSelections ([ selection ], ?Append = Append) @@ -2904,7 +2826,6 @@ type Chart = /// /// If there is already a config set, the object is replaced. /// </summary> - [<CompiledName("SetConfig")>] static member setConfig(config: Config) = (fun (ch: GenericChart) -> GenericChart.setConfig config ch) @@ -2913,7 +2834,6 @@ type Chart = /// /// If there is already a config set, the objects are combined. /// </summary> - [<CompiledName("WithConfig")>] static member withConfig(config: Config) = (fun (ch: GenericChart) -> GenericChart.addConfig config ch) @@ -2979,7 +2899,6 @@ type Chart = /// instead of MM/DD/YYYY). Currently `grouping` and `currency` are ignored /// for our automatic number formatting, but can be used in custom formats. /// </param> - [<CompiledName("WithConfigStyle")>] static member withConfigStyle ( ?StaticPlot: bool, @@ -3105,7 +3024,6 @@ type Chart = /// <param name ="Domain">Sets the domains of this grid subplot (in plot fraction). The first and last cells end exactly at the domain edges, with no grout around the edges.</param> /// <param name ="XSide">Sets where the x axis labels and titles go. "bottom" means the very bottom of the grid. "bottom plot" is the lowest plot that each x axis is used in. "top" and "top plot" are similar.</param> /// <param name ="YSide">Sets where the y axis labels and titles go. "left" means the very left edge of the grid. "left plot" is the leftmost plot that each y axis is used in. "right" and "right plot" are similar.</param> - [<CompiledName("Grid")>] static member Grid ( nRows: int, @@ -3426,7 +3344,6 @@ type Chart = /// <param name ="Domain">Sets the domains of this grid subplot (in plot fraction). The first and last cells end exactly at the domain edges, with no grout around the edges.</param> /// <param name ="XSide">Sets where the x axis labels and titles go. "bottom" means the very bottom of the grid. "bottom plot" is the lowest plot that each x axis is used in. "top" and "top plot" are similar.</param> /// <param name ="YSide">Sets where the y axis labels and titles go. "left" means the very left edge of the grid. "left plot" is the leftmost plot that each y axis is used in. "right" and "right plot" are similar.</param> - [<CompiledName("Grid")>] static member Grid ( ?SubPlotTitles: #seq<string>, @@ -3543,7 +3460,6 @@ type Chart = /// <param name ="Domain">Sets the domains of this grid subplot (in plot fraction). The first and last cells end exactly at the domain edges, with no grout around the edges.</param> /// <param name ="XSide">Sets where the x axis labels and titles go. "bottom" means the very bottom of the grid. "bottom plot" is the lowest plot that each x axis is used in. "top" and "top plot" are similar.</param> /// <param name ="YSide">Sets where the y axis labels and titles go. "left" means the very left edge of the grid. "left plot" is the leftmost plot that each y axis is used in. "right" and "right plot" are similar.</param> - [<CompiledName("SingleStack")>] static member SingleStack ( ?SubPlotTitles: #seq<string>, @@ -3584,7 +3500,6 @@ type Chart = /// Sets the color axis with the given id on the chart layout - [<CompiledName("WithColorAxis")>] static member withColorAxis(colorAxis: ColorAxis, ?Id) = (fun (ch: GenericChart) -> let layout = @@ -3596,11 +3511,10 @@ type Chart = GenericChart.setLayout layout ch) /// <summary> - /// + /// Sets the given images on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already images set. /// </summary> /// <param name="images">The images to add to the input charts layout</param> - /// <param name="Append">If true, the input images will be appended to existing annotations, otherwise existing annotations will be removed (default: true)</param> - [<CompiledName("WithLayoutImages")>] + /// <param name="Append">If true, the input images will be appended to existing images, otherwise existing images will be removed (default: true)</param> static member withLayoutImages(images: seq<LayoutImage>, ?Append: bool) = let append = defaultArg Append true @@ -3621,17 +3535,20 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Images = images')) - [<CompiledName("WithLayoutImage")>] + /// <summary> + /// Sets the given image on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already images set. + /// </summary> + /// <param name="image">The images to add to the input charts layout</param> + /// <param name="Append">If true, the input image will be appended to existing images, otherwise existing images will be removed (default: true)</param> static member withLayoutImage(image: LayoutImage, ?Append: bool) = Chart.withLayoutImages ([ image ], ?Append = Append) /// <summary> - /// + /// Sets the given update menus on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already update menus set. /// </summary> /// <param name="updateMenus">The updatmenus to add to the input charts layout</param> - /// <param name="Append">If true, the input images will be appended to existing annotations, otherwise existing annotations will be removed (default: true)</param> - [<CompiledName("WithUpdateMenus")>] + /// <param name="Append">If true, the update menus will be appended to existing update menus, otherwise existing update menus will be removed (default: true)</param> static member withUpdateMenus ( updateMenus: seq<UpdateMenu>, @@ -3656,17 +3573,49 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (UpdateMenus = updateMenus')) - [<CompiledName("WithUpdateMenu")>] + /// <summary> + /// Sets the given update menu on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already update menus set. + /// </summary> + /// <param name="updateMenu">The updatmenus to add to the input charts layout</param> + /// <param name="Append">If true, the update menu will be appended to existing update menus, otherwise existing update menus will be removed (default: true)</param> static member withUpdateMenu(updateMenu: UpdateMenu, ?Append: bool) = Chart.withUpdateMenus ([ updateMenu ], ?Append = Append) - [<CompiledName("WithSliders")>] - static member withSliders(sliders: seq<Slider>) = - fun (ch: GenericChart) -> ch |> GenericChart.mapLayout (Layout.style (Sliders = sliders)) + /// <summary> + /// Sets the given sliders on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already update menus set. + /// </summary> + /// <param name="sliders">The sliders to add to the input charts layout</param> + /// <param name="Append">If true, the sliders will be appended to existing sliders, otherwise existing sliders will be removed (default: true)</param> + static member withSliders( + sliders: seq<Slider>, + ?Append: bool + ) = + let append = defaultArg Append true + + fun (ch: GenericChart) -> + + let sliders' = + + if append then + + let layout = GenericChart.getLayout ch - [<CompiledName("WithSlider")>] - static member withSlider(slider: Slider) = Chart.withSliders ([ slider ]) + layout.TryGetTypedPropertyValue<seq<Slider>>("sliders") + |> Option.defaultValue Seq.empty + |> Seq.append sliders + + else + sliders + + ch |> GenericChart.mapLayout (Layout.style (Sliders = sliders')) + + /// <summary> + /// Sets the given slider on the input chart's layout. Use the 'Append' argument to decide what should happen if there are already update menus set. + /// </summary> + /// <param name="slider">The slider to add to the input charts layout</param> + /// <param name="Append">If true, the slider will be appended to existing sliders, otherwise existing sliders will be removed (default: true)</param> + static member withSlider(slider: Slider, ?Append: bool) = Chart.withSliders ([ slider ], ?Append = Append) // ############################################################ @@ -3677,7 +3626,6 @@ type Chart = /// /// If there is already an DisplayOptions set, the object is replaced. /// </summary> - [<CompiledName("SetDisplayOptions")>] static member setDisplayOptions(displayOpts: DisplayOptions) = (fun (ch: GenericChart) -> GenericChart.setDisplayOptions displayOpts ch) @@ -3686,7 +3634,6 @@ type Chart = /// /// If there is already an DisplayOptions set, the objects are combined. /// </summary> - [<CompiledName("WithDisplayOptions")>] static member withDisplayOptions(displayOpts: DisplayOptions) = (fun (ch: GenericChart) -> GenericChart.addDisplayOptions displayOpts ch) @@ -3700,7 +3647,6 @@ type Chart = /// <param name="AdditionalHeadTags">Additional tags that will be included in the document's head </param> /// <param name="ChartDescription">HTML tags that appear below the chart in HTML docs</param> /// <param name="PlotlyJSReference">Sets how plotly is referenced in the head of html docs. When CDN, a script tag that references the plotly.js CDN is included in the output. When Full, a script tag containing the plotly.js source code (~3MB) is included in the output. HTML files generated with this option are fully self-contained and can be used offline</param> - [<CompiledName("WithDisplayOptionsStyle")>] static member withDisplayOptionsStyle ( ?DocumentTitle: string, @@ -3732,23 +3678,19 @@ type Chart = /// </summary> /// <param name="chartDescription">The chart description to add to the given chart's DisplayOptions object</param> /// <param name="ch">The chart to add a description to</param> - [<CompiledName("WithDescription")>] static member withDescription (chartDescription: XmlNode list) (ch: GenericChart) = ch |> GenericChart.mapDisplayOptions (DisplayOptions.addChartDescription chartDescription) /// Adds the given additional html tags on the chart's DisplayOptions. They will be included in the document's head - [<CompiledName("WithAdditionalHeadTags")>] static member withAdditionalHeadTags (additionalHeadTags: XmlNode list) (ch: GenericChart) = ch |> GenericChart.mapDisplayOptions (DisplayOptions.addAdditionalHeadTags additionalHeadTags) /// Sets the given additional head tags on the chart's DisplayOptions. They will be included in the document's head - [<CompiledName("WithHeadTags")>] static member withHeadTags (additionalHeadTags: XmlNode list) (ch: GenericChart) = ch |> GenericChart.mapDisplayOptions (DisplayOptions.setAdditionalHeadTags additionalHeadTags) /// Adds the necessary script tags to render tex strings to the chart's DisplayOptions - [<CompiledName("WithMathTex")>] static member withMathTex ( ?AppendTags: bool, diff --git a/src/Plotly.NET/CommonAbstractions/Colors.fs b/src/Plotly.NET/CommonAbstractions/Colors.fs index 3fab74867..2a3ec8baf 100644 --- a/src/Plotly.NET/CommonAbstractions/Colors.fs +++ b/src/Plotly.NET/CommonAbstractions/Colors.fs @@ -7,14 +7,12 @@ module internal Hex = open System - [<CompiledName("ToHexDigit")>] let toHexDigit n = if n < 10 then char (n + 0x30) else char (n + 0x37) - [<CompiledName("FromHexDigit")>] let fromHexDigit c = if c >= '0' && c <= '9' then int c - int '0' @@ -25,8 +23,6 @@ module internal Hex = else raise <| ArgumentException() - - [<CompiledName("Encode")>] let encode (prefix: string) (color: byte array) = let hex = Array.zeroCreate (color.Length * 2) @@ -41,8 +37,6 @@ module internal Hex = String.Concat(prefix, String(hex)) - - [<CompiledName("Decode")>] let decode (s: string) = match s with | null -> nullArg "s" @@ -69,8 +63,6 @@ module internal Hex = buf - - /// Represents an ARGB (alpha, red, green, blue) color [<JsonConverter(typeof<ARGBConverter>)>] type ARGB = diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Contours.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Contours.fs index a1435e2b0..0b806d21d 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Contours.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Contours.fs @@ -37,7 +37,6 @@ type Contour() = inherit DynamicObj() /// Initialized a Contour object - //[<CompiledName("init")>] static member init ( ?Color: Color, @@ -69,7 +68,6 @@ type Contour() = // Applies the styles to Contours() - //[<CompiledName("style")>] static member style ( ?Color: Color, @@ -135,7 +133,6 @@ type Contours() = /// Initialized Contours object - //[<CompiledName("init")>] static member initSurface ( ?X: Contour, @@ -145,7 +142,6 @@ type Contours() = Contours() |> Contours.style (?X = X, ?Y = Y, ?Z = Z) // Applies the styles to Contours() - //[<CompiledName("style")>] static member style ( ?X: Contour, @@ -182,8 +178,6 @@ type Contours() = |> DynObj.withOptionalPropertyBy "type" Type StyleParam.ContourType.convert |> DynObj.withOptionalProperty "value" Value - - // Initialized x-y-z-Contours with the same properties static member initXyz ( @@ -215,7 +209,6 @@ type Contours() = ) // Applies the styles to Contours() - //[<CompiledName("styleXyz")>] static member styleXyz ( ?Color: Color,