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/Chart.cs b/src/Plotly.NET.CSharp/ChartAPI/Chart.cs index 8a335e920..050f20fd7 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 { - public static GenericChart Combine(IEnumerable gCharts) => Plotly.NET.Chart.Combine(gCharts); - + /// + /// 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 7c7145718..f5d9f0e69 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,7 +16,7 @@ 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. @@ -39,11 +40,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 +73,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 +111,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 +142,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 +166,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 +195,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 +227,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 +260,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 +298,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 +335,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 +369,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 +408,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 +443,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 +473,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 +508,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 +547,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 +589,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 +634,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 +710,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 +742,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 +781,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 +817,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 +851,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 +890,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 +928,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 +958,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 +993,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 +1280,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 +1303,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 +1331,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 +1361,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 +1384,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 +1412,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 +1441,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 +1464,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 +1492,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 +1514,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 +1522,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 +1544,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 +1573,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 +1604,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 +1623,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 +1638,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 +1658,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 +1677,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 +1697,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 +1794,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 +1818,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 +1846,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 +1856,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 +1881,7 @@ public static GenericChart BoxPlot( Notched: Notched.ToOption(), NotchWidth: NotchWidth.ToOption(), QuartileMethod: QuartileMethod.ToOption(), + SizeMode: SizeMode.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -1774,8 +1892,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 +1928,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 +1968,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 +2008,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 +2026,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 +2065,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 +2091,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 +2109,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 +2137,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 +2159,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 +2187,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 +2222,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 +2245,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 +2274,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 +2347,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 +2357,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 +2379,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 +2419,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 +2429,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 +2458,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 +2471,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 +2491,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 +2503,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 +2516,7 @@ public static GenericChart OHLC( DecreasingColor: DecreasingColor.ToOption(), Decreasing: Decreasing.ToOption(), TickWidth: TickWidth.ToOption(), + ShowXAxisRangeSlider: ShowXAxisRangeSlider.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -2336,7 +2529,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 +2542,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 +2562,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 +2574,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 +2587,7 @@ public static GenericChart Candlestick( DecreasingColor: DecreasingColor.ToOption(), Decreasing: Decreasing.ToOption(), WhiskerWidth: WhiskerWidth.ToOption(), + ShowXAxisRangeSlider: ShowXAxisRangeSlider.ToOption(), UseDefaults: UseDefaults.ToOption() ); @@ -2468,12 +2667,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 +2694,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 +2727,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/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.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 DensityMapbox 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. @@ -103,6 +103,7 @@ public static GenericChart WithSize( /// <param name="LineColor">Sets the axis line color.</param> /// <param name="ShowGrid">Determines whether or not grid lines are drawn. If "true", the grid lines are drawn at every tick mark.</param> /// <param name="GridColor">Sets the color of the grid lines.</param> + /// <param name="GridDash">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").</param> /// <param name="ZeroLine">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.</param> /// <param name="ZeroLineColor">Sets the line color of the zero line.</param> /// <param name="Anchor">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`.</param> @@ -134,6 +135,7 @@ public static GenericChart WithXAxisStyle<MinType, MaxType, CategoryArrayType>( Optional<Color> LineColor = default, Optional<bool> ShowGrid = default, Optional<Color> GridColor = default, + Optional<StyleParam.DrawingStyle> GridDash = default, Optional<bool> ZeroLine = default, Optional<Color> ZeroLineColor = default, Optional<StyleParam.LinearAxisId> Anchor = default, @@ -153,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(), @@ -169,6 +171,7 @@ public static GenericChart WithXAxisStyle<MinType, MaxType, CategoryArrayType>( 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<MinType, MaxType, CategoryArrayType>( /// /// 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. /// </summary> - /// <param name="gChart">The chart in which to change the Y axis style</param> + /// <param name="gChart">The chart in which to change the X axis style</param> /// <param name="TitleText">Sets the text of the axis title.</param> /// <param name="TitleFont">Sets the font of the axis title.</param> /// <param name="TitleStandoff">Sets the standoff distance (in px) between the axis labels and the title text.</param> @@ -207,11 +210,14 @@ public static GenericChart WithXAxisStyle<MinType, MaxType, CategoryArrayType>( /// <param name="LineColor">Sets the axis line color.</param> /// <param name="ShowGrid">Determines whether or not grid lines are drawn. If "true", the grid lines are drawn at every tick mark.</param> /// <param name="GridColor">Sets the color of the grid lines.</param> + /// <param name="GridDash">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").</param> /// <param name="ZeroLine">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.</param> /// <param name="ZeroLineColor">Sets the line color of the zero line.</param> /// <param name="Anchor">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`.</param> /// <param name="Side">Determines whether a x (y) axis is positioned at the "bottom" ("left") or "top" ("right") of the plotting area.</param> /// <param name="Overlaying">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.</param> + /// <param name="AutoShift">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".</param> + /// <param name="Shift">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".</param> /// <param name="Domain">Tuple of (X*Y fractions). Sets the domain of this axis (in plot fraction).</param> /// <param name="Position">Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to "free".</param> /// <param name="CategoryOrder">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.</param> @@ -238,11 +244,14 @@ public static GenericChart WithYAxisStyle<MinType, MaxType, CategoryArrayType>( Optional<Color> LineColor = default, Optional<bool> ShowGrid = default, Optional<Color> GridColor = default, + Optional<StyleParam.DrawingStyle> GridDash = default, Optional<bool> ZeroLine = default, Optional<Color> ZeroLineColor = default, Optional<StyleParam.LinearAxisId> Anchor = default, Optional<StyleParam.Side> Side = default, Optional<StyleParam.LinearAxisId> Overlaying = default, + Optional<bool> AutoShift = default, + Optional<int> Shift = default, Optional<Tuple<double, double>> Domain = default, Optional<double> Position = default, Optional<StyleParam.CategoryOrder> CategoryOrder = default, @@ -257,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(), @@ -273,11 +282,14 @@ public static GenericChart WithYAxisStyle<MinType, MaxType, CategoryArrayType>( 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(), @@ -304,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); @@ -362,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); @@ -374,21 +386,24 @@ public static GenericChart WithXAxisRangeSlider( /// </summary> /// <param name="gChart">The chart for which to set the legend</param> /// <param name="legend">The new Legend for the chart's layout</param> + /// <param name="Id">The target Legend id with which the Legend should be set. Default is 1.</param> public static GenericChart WithLegend( this GenericChart gChart, - Legend legend + Legend legend, + Optional<int> Id ) => - Plotly.NET.Chart.WithLegend( - legend: legend + Plotly.NET.Chart.withLegend( + legend: legend, + Id: Id.ToOption() ).Invoke(gChart); /// <summary> - /// 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. /// </summary> - /// <param name="gChart">The chart for which to set the legend styles</param> + /// <param name="gChart">The chart for which to set the legend</param> /// <param name="BGColor">Sets the legend background color. Defaults to `layout.paper_bgcolor`.</param> /// <param name="BorderColor">Sets the color of the border enclosing the legend.</param> /// <param name="BorderWidth">Sets the width (in px) of the border enclosing the legend.</param> @@ -407,10 +422,14 @@ Legend legend /// <param name="TraceOrder">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".</param> /// <param name="UIRevision">Controls persistence of legend-driven changes in trace and pie label visibility. Defaults to `layout.uirevision`.</param> /// <param name="VerticalAlign">Sets the vertical alignment of the symbols with respect to their associated text.</param> + /// <param name="Visible">Determines whether or not this legend is visible.</param> /// <param name="X">Sets the x position (in normalized coordinates) of the legend. Defaults to "1.02" for vertical legends and defaults to "0" for horizontal legends.</param> /// <param name="XAnchor">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.</param> + /// <param name="XRef">Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.</param> /// <param name="Y">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.</param> /// <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> public static GenericChart WithLegendStyle( this GenericChart gChart, Optional<Color> BGColor = default, @@ -431,13 +450,17 @@ public static GenericChart WithLegendStyle( Optional<StyleParam.TraceOrder> TraceOrder = default, Optional<string> UIRevision = default, Optional<StyleParam.VerticalAlign> VerticalAlign = default, + Optional<bool> Visible = default, Optional<double> X = default, - Optional<StyleParam.XAnchorPosition> XAnchor = default, + Optional<StyleParam.XAnchorPosition> XAnchor = default, + Optional<string> XRef = default, Optional<double> Y = default, - Optional<StyleParam.YAnchorPosition> YAnchor = default + Optional<StyleParam.YAnchorPosition> YAnchor = default, + Optional<string> YRef = default, + Optional<int> Id = default ) => - Plotly.NET.Chart.WithLegendStyle( + Plotly.NET.Chart.withLegendStyle( BGColor: BGColor.ToOption(), BorderColor: BorderColor.ToOption(), BorderWidth: BorderWidth.ToOption(), @@ -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/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# -[<Extension>] -module GenericChartExtensions = - - type GenericChart with - - [<CompiledName("WithTraceInfo")>] - [<Extension>] - member this.WithTraceInfo - ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?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 - [<CompiledName("WithAxisAnchor")>] - [<Extension>] - member this.WithAxisAnchor - ( - [<Optional; DefaultParameterValue(null)>] ?X, - [<Optional; DefaultParameterValue(null)>] ?Y - ) = - this |> Chart.withAxisAnchor (?X = X, ?Y = Y) - - /// Apply styling to the Marker(s) of the chart as Object. - [<CompiledName("WithMarker")>] - [<Extension>] - member this.WithMarker(marker: Marker) = this |> Chart.withMarker marker - - /// Apply styling to the Marker(s) of the chart. - [<CompiledName("WithMarkerStyle")>] - [<Extension>] - member this.WithMarkerStyle - ( - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Colors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?Gradient: Gradient, - [<Optional; DefaultParameterValue(null)>] ?Outline: Line, - [<Optional; DefaultParameterValue(null)>] ?MaxDisplayed: int, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Pattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Size: int, - [<Optional; DefaultParameterValue(null)>] ?MultiSize: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?SizeMin: int, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.MarkerSizeMode, - [<Optional; DefaultParameterValue(null)>] ?SizeRef: int, - [<Optional; DefaultParameterValue(null)>] ?Symbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Symbol3D: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiSymbol3D: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?OutlierColor: Color, - [<Optional; DefaultParameterValue(null)>] ?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. - [<CompiledName("WithLine")>] - [<Extension>] - member this.WithLine(line: Line) = this |> Chart.withLine line - - /// Apply styling to the Line(s) of the chart. - [<CompiledName("WithLineStyle")>] - [<Extension>] - member this.WithLineStyle - ( - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?Dash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Shape: StyleParam.Shape, - [<Optional; DefaultParameterValue(null)>] ?Simplify: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?OutlierColor: Color, - [<Optional; DefaultParameterValue(null)>] ?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 - [<CompiledName("WithXError")>] - [<Extension>] - member this.WithXError(xError: Error) = this |> Chart.withXError xError - - /// Apply styling to the xError(s) of the chart as Object - [<CompiledName("WithXErrorStyle")>] - [<Extension>] - member this.WithXErrorStyle - ( - [<Optional; DefaultParameterValue(null)>] ?Array, - [<Optional; DefaultParameterValue(null)>] ?Arrayminus, - [<Optional; DefaultParameterValue(null)>] ?Symmetric, - [<Optional; DefaultParameterValue(null)>] ?Color, - [<Optional; DefaultParameterValue(null)>] ?Thickness, - [<Optional; DefaultParameterValue(null)>] ?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 - [<CompiledName("WithYError")>] - [<Extension>] - member this.WithYError(yError: Error) = this |> Chart.withYError (yError) - - /// Apply styling to the yError(s) of the chart as Object - [<CompiledName("WithYErrorStyle")>] - [<Extension>] - member this.WithYErrorStyle - ( - [<Optional; DefaultParameterValue(null)>] ?Array, - [<Optional; DefaultParameterValue(null)>] ?Arrayminus, - [<Optional; DefaultParameterValue(null)>] ?Symmetric, - [<Optional; DefaultParameterValue(null)>] ?Color, - [<Optional; DefaultParameterValue(null)>] ?Thickness, - [<Optional; DefaultParameterValue(null)>] ?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 - [<CompiledName("WithZError")>] - [<Extension>] - member this.WithZError(zError: Error) = this |> Chart.withZError (zError) - - - /// Apply styling to the zError(s) of the chart as Object - [<CompiledName("WithZErrorStyle")>] - [<Extension>] - member this.WithZErrorStyle - ( - [<Optional; DefaultParameterValue(null)>] ?Array, - [<Optional; DefaultParameterValue(null)>] ?Arrayminus, - [<Optional; DefaultParameterValue(null)>] ?Symmetric, - [<Optional; DefaultParameterValue(null)>] ?Color, - [<Optional; DefaultParameterValue(null)>] ?Thickness, - [<Optional; DefaultParameterValue(null)>] ?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 - [<CompiledName("WithXAxis")>] - [<Extension>] - member this.WithXAxis(xAxis: LinearAxis, [<Optional; DefaultParameterValue(null)>] ?Id: StyleParam.SubPlotId) = - this |> Chart.withXAxis (xAxis, ?Id = Id) - - // Sets x-Axis of 2d and 3d- Charts - [<CompiledName("WithXAxisStyle")>] - [<Extension>] - member this.WithXAxisStyle - ( - title, - [<Optional; DefaultParameterValue(null)>] ?MinMax, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid, - [<Optional; DefaultParameterValue(null)>] ?ShowLine, - [<Optional; DefaultParameterValue(null)>] ?Side, - [<Optional; DefaultParameterValue(null)>] ?Overlaying, - [<Optional; DefaultParameterValue(null)>] ?Id, - [<Optional; DefaultParameterValue(null)>] ?Domain, - [<Optional; DefaultParameterValue(null)>] ?Position, - [<Optional; DefaultParameterValue(null)>] ?ZeroLine, - [<Optional; DefaultParameterValue(null)>] ?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 - [<CompiledName("WithXAxisRangeSlider")>] - [<Extension>] - member this.WithXAxisRangeSlider(rangeSlider: RangeSlider, [<Optional; DefaultParameterValue(null)>] ?Id) = - let xaxis = - LinearAxis.init (RangeSlider = rangeSlider) - - this |> Chart.withXAxis (xaxis, ?Id = Id) - - // Sets y-Axis of 2d and 3d- Charts - [<CompiledName("WithYAxis")>] - [<Extension>] - member this.WithYAxis(yAxis: LinearAxis, [<Optional; DefaultParameterValue(null)>] ?Id: StyleParam.SubPlotId) = - this |> Chart.withYAxis (yAxis, ?Id = Id) - - // Sets y-Axis of 3d- Charts - [<CompiledName("WithYAxisStyle")>] - [<Extension>] - member this.WithYAxisStyle - ( - title, - [<Optional; DefaultParameterValue(null)>] ?MinMax, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid, - [<Optional; DefaultParameterValue(null)>] ?ShowLine, - [<Optional; DefaultParameterValue(null)>] ?Side, - [<Optional; DefaultParameterValue(null)>] ?Overlaying, - [<Optional; DefaultParameterValue(null)>] ?Id, - [<Optional; DefaultParameterValue(null)>] ?Domain, - [<Optional; DefaultParameterValue(null)>] ?Position, - [<Optional; DefaultParameterValue(null)>] ?ZeroLine, - [<Optional; DefaultParameterValue(null)>] ?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 - [<CompiledName("WithZAxis")>] - [<Extension>] - member this.WithZAxis(zAxis: LinearAxis, [<Optional; DefaultParameterValue(null)>] ?Id: int) = - this |> Chart.withZAxis (zAxis, ?Id = Id) - - - - // Sets z-Axis style with ... - [<CompiledName("WithZAxisStyle")>] - [<Extension>] - member this.WithZAxisStyle - ( - title, - [<Optional; DefaultParameterValue(null)>] ?MinMax, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid, - [<Optional; DefaultParameterValue(null)>] ?ShowLine, - [<Optional; DefaultParameterValue(null)>] ?Domain, - [<Optional; DefaultParameterValue(null)>] ?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) - - [<CompiledName("WithColorBar")>] - [<Extension>] - member this.withColorBar(colorbar: ColorBar) = - this - |> GenericChart.mapTrace (fun t -> - t |> DynObj.withProperty "colorbar" colorbar - ) - - [<CompiledName("WithColorbar")>] - [<Extension>] - member this.WithColorBarStyle - ( - title, - [<Optional; DefaultParameterValue(null)>] ?Length, - [<Optional; DefaultParameterValue(null)>] ?OutlineColor, - [<Optional; DefaultParameterValue(null)>] ?BorderColor, - [<Optional; DefaultParameterValue(null)>] ?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 - [<CompiledName("WithLayout")>] - [<Extension>] - member this.WithLayout(layout: Layout) = GenericChart.addLayout layout this - - // Set the Layout style of a Chart - [<CompiledName("WithLayoutStyle")>] - member this.WithLayoutStyle - ( - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Margin: Margin, - [<Optional; DefaultParameterValue(null)>] ?AutoSize: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: int, - [<Optional; DefaultParameterValue(null)>] ?Height: int, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?UniformText: UniformText, - [<Optional; DefaultParameterValue(null)>] ?Separators: string, - [<Optional; DefaultParameterValue(null)>] ?PaperBGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?PlotBGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: DefaultColorScales, - [<Optional; DefaultParameterValue(null)>] ?Colorway: Color, - [<Optional; DefaultParameterValue(null)>] ?ModeBar: ModeBar, - [<Optional; DefaultParameterValue(null)>] ?HoverMode: StyleParam.HoverMode, - [<Optional; DefaultParameterValue(null)>] ?ClickMode: StyleParam.ClickMode, - [<Optional; DefaultParameterValue(null)>] ?DragMode: StyleParam.DragMode, - [<Optional; DefaultParameterValue(null)>] ?SelectDirection: StyleParam.SelectDirection, - [<Optional; DefaultParameterValue(null)>] ?HoverDistance: int, - [<Optional; DefaultParameterValue(null)>] ?SpikeDistance: int, - [<Optional; DefaultParameterValue(null)>] ?Hoverlabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?Transition: Transition, - [<Optional; DefaultParameterValue(null)>] ?DataRevision: string, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?EditRevision: string, - [<Optional; DefaultParameterValue(null)>] ?SelectRevision: string, - [<Optional; DefaultParameterValue(null)>] ?Template: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?Computed: string, - [<Optional; DefaultParameterValue(null)>] ?Grid: LayoutGrid, - [<Optional; DefaultParameterValue(null)>] ?Calendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?NewShape: NewShape, - [<Optional; DefaultParameterValue(null)>] ?ActiveShape: ActiveShape, - [<Optional; DefaultParameterValue(null)>] ?HideSources: bool, - [<Optional; DefaultParameterValue(null)>] ?BarGap: float, - [<Optional; DefaultParameterValue(null)>] ?BarGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?BarMode: StyleParam.BarMode, - [<Optional; DefaultParameterValue(null)>] ?BarNorm: StyleParam.BarNorm, - [<Optional; DefaultParameterValue(null)>] ?ExtendPieColors: bool, - [<Optional; DefaultParameterValue(null)>] ?HiddenLabels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?PieColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?BoxGap: float, - [<Optional; DefaultParameterValue(null)>] ?BoxGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?BoxMode: StyleParam.BoxMode, - [<Optional; DefaultParameterValue(null)>] ?ViolinGap: float, - [<Optional; DefaultParameterValue(null)>] ?ViolinGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?ViolinMode: StyleParam.ViolinMode, - [<Optional; DefaultParameterValue(null)>] ?WaterfallGap: float, - [<Optional; DefaultParameterValue(null)>] ?WaterfallGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?WaterfallMode: StyleParam.WaterfallMode, - [<Optional; DefaultParameterValue(null)>] ?FunnelGap: float, - [<Optional; DefaultParameterValue(null)>] ?FunnelGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?FunnelMode: StyleParam.FunnelMode, - [<Optional; DefaultParameterValue(null)>] ?ExtendFunnelAreaColors: bool, - [<Optional; DefaultParameterValue(null)>] ?FunnelAreaColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendSunBurstColors: bool, - [<Optional; DefaultParameterValue(null)>] ?SunBurstColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendTreeMapColors: bool, - [<Optional; DefaultParameterValue(null)>] ?TreeMapColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendIcicleColors: bool, - [<Optional; DefaultParameterValue(null)>] ?IcicleColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?Annotations: seq<Annotation>, - [<Optional; DefaultParameterValue(null)>] ?Shapes: seq<Shape>, - [<Optional; DefaultParameterValue(null)>] ?Images: seq<LayoutImage>, - [<Optional; DefaultParameterValue(null)>] ?Sliders: seq<Slider>, - [<Optional; DefaultParameterValue(null)>] ?UpdateMenus: seq<UpdateMenu> - ) = - 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 - [<CompiledName("WithLayoutGrid")>] - [<Extension>] - member this.WithLayoutGrid(layoutGrid: LayoutGrid) = - let layout = - GenericChart.getLayout this |> Layout.setLayoutGrid layoutGrid - - GenericChart.setLayout layout this - - // Set the LayoutGrid options of a Chart - [<CompiledName("WithLegend")>] - member this.WithLegend(legend: Legend, [<Optional; DefaultParameterValue(null)>] ?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) - [<CompiledName("WithMap")>] - [<Extension>] - member this.WithGeo(geo: Geo, [<Optional; DefaultParameterValue(null)>] ?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) - [<CompiledName("WithMapbox")>] - [<Extension>] - member this.withMapbox(mapBox: Mapbox, [<Optional; DefaultParameterValue(null)>] ?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 - [<CompiledName("WithGeoStyle")>] - [<Extension>] - member this.WithGeoStyle - ( - [<Optional; DefaultParameterValue(null)>] ?Id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?FitBounds: StyleParam.GeoFitBounds, - [<Optional; DefaultParameterValue(null)>] ?Resolution: StyleParam.GeoResolution, - [<Optional; DefaultParameterValue(null)>] ?Scope: StyleParam.GeoScope, - [<Optional; DefaultParameterValue(null)>] ?Projection: GeoProjection, - [<Optional; DefaultParameterValue(null)>] ?Center: (float * float), - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?ShowCoastLines: bool, - [<Optional; DefaultParameterValue(null)>] ?CoastLineColor, - [<Optional; DefaultParameterValue(null)>] ?CoastLineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowLand: bool, - [<Optional; DefaultParameterValue(null)>] ?LandColor, - [<Optional; DefaultParameterValue(null)>] ?ShowOcean: bool, - [<Optional; DefaultParameterValue(null)>] ?OceanColor, - [<Optional; DefaultParameterValue(null)>] ?ShowLakes: bool, - [<Optional; DefaultParameterValue(null)>] ?LakeColor, - [<Optional; DefaultParameterValue(null)>] ?ShowRivers: bool, - [<Optional; DefaultParameterValue(null)>] ?RiverColor, - [<Optional; DefaultParameterValue(null)>] ?RiverWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowCountries: bool, - [<Optional; DefaultParameterValue(null)>] ?CountryColor, - [<Optional; DefaultParameterValue(null)>] ?CountryWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowSubunits: bool, - [<Optional; DefaultParameterValue(null)>] ?SubunitColor, - [<Optional; DefaultParameterValue(null)>] ?SubunitWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowFrame: bool, - [<Optional; DefaultParameterValue(null)>] ?FrameColor, - [<Optional; DefaultParameterValue(null)>] ?FrameWidth: float, - [<Optional; DefaultParameterValue(null)>] ?BgColor, - [<Optional; DefaultParameterValue(null)>] ?LatAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?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 - ) - - [<CompiledName("WithGeoProjection")>] - [<Extension>] - member this.WithMapProjection - ( - projectionType: StyleParam.GeoProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Rotation, - [<Optional; DefaultParameterValue(null)>] ?Parallels, - [<Optional; DefaultParameterValue(null)>] ?Scale, - [<Optional; DefaultParameterValue(null)>] ?Id - ) = - this - |> Chart.withGeoProjection ( - projectionType = projectionType, - ?Rotation = Rotation, - ?Parallels = Parallels, - ?Scale = Scale - ) - - - // Set the LayoutGrid options of a Chart - [<CompiledName("WithLayoutGridStyle")>] - [<Extension>] - member this.WithLayoutGridStyle - ( - [<Optional; DefaultParameterValue(null)>] ?SubPlots: - (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [<Optional; DefaultParameterValue(null)>] ?XAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?YAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?Rows: int, - [<Optional; DefaultParameterValue(null)>] ?Columns: int, - [<Optional; DefaultParameterValue(null)>] ?RowOrder: StyleParam.LayoutGridRowOrder, - [<Optional; DefaultParameterValue(null)>] ?Pattern: StyleParam.LayoutGridPattern, - [<Optional; DefaultParameterValue(null)>] ?XGap: float, - [<Optional; DefaultParameterValue(null)>] ?YGap: float, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?XSide: StyleParam.LayoutGridXSide, - [<Optional; DefaultParameterValue(null)>] ?YSide: StyleParam.LayoutGridYSide - ) = - - let layout = GenericChart.getLayout this in - - let updatedGrid = - let currentGrid = - match layout.TryGetTypedPropertyValue<LayoutGrid> "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 - - [<CompiledName("WithConfig")>] - [<Extension>] - member this.WithConfig(config: Config) = GenericChart.setConfig config this - - [<CompiledName("WithAnnotation")>] - [<Extension>] - member this.WithAnnotation(annotation: Annotation, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = - this |> Chart.withAnnotation (annotation, ?Append = Append) - - [<CompiledName("WithAnnotations")>] - [<Extension>] - member this.WithAnnotations - ( - annotations: Annotation seq, - [<Optional; DefaultParameterValue(true)>] ?Append: bool - ) = - this |> Chart.withAnnotations (annotations, ?Append = Append) - - // Set the title of a Chart - [<CompiledName("WithTitle")>] - [<Extension>] - member this.WithTitle(title, [<Optional; DefaultParameterValue(null)>] ?TitleFont) = - let layout = - Layout() |> Layout.style (Title = Title.init (Text = title, ?Font = TitleFont)) - - GenericChart.addLayout layout this - - // Set showLegend of a Chart - [<CompiledName("WithLegend")>] - [<Extension>] - member this.WithLegend(showlegend) = - let layout = - Layout() |> Layout.style (ShowLegend = showlegend) - - GenericChart.addLayout layout this - - // Set the size of a Chart - [<CompiledName("WithSize")>] - [<Extension>] - 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 - [<CompiledName("WithMargin")>] - [<Extension>] - member this.WithMargin(margin: Margin) = - let layout = - GenericChart.getLayout this |> Layout.style (Margin = margin) - - GenericChart.setLayout layout this - - // Set the margin of a Chart - [<CompiledName("WithMarginSize")>] - [<Extension>] - member this.WithMarginSize - ( - [<Optional; DefaultParameterValue(null)>] ?Left, - [<Optional; DefaultParameterValue(null)>] ?Right, - [<Optional; DefaultParameterValue(null)>] ?Top, - [<Optional; DefaultParameterValue(null)>] ?Bottom, - [<Optional; DefaultParameterValue(null)>] ?Pad, - [<Optional; DefaultParameterValue(null)>] ?Autoexpand - ) = - let margin = - Margin.init ( - ?Left = Left, - ?Right = Right, - ?Top = Top, - ?Bottom = Bottom, - ?Pad = Pad, - ?Autoexpand = Autoexpand - ) - - this |> Chart.withMargin (margin) - - [<CompiledName("WithTemplate")>] - [<Extension>] - 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`) - [<CompiledName("WithShape")>] - [<Extension>] - member this.WithShape(shape: Shape, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = - this |> Chart.withShape (shape, ?Append = Append) - - [<CompiledName("WithShapes")>] - [<Extension>] - member this.WithShapes(shapes: Shape seq, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = - this |> Chart.withShapes (shapes, ?Append = Append) - - // ############################################################ - // ####################### Apply to DisplayOptions - - /// Show chart in browser - [<CompiledName("WithDescription")>] - [<Extension>] - 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 <head> - [<CompiledName("WithAdditionalHeadTags")>] - [<Extension>] - 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 <head> - [<CompiledName("WithHeadTags")>] - [<Extension>] - member this.WithHeadTags(headTags: XmlNode list) = this |> Chart.withHeadTags headTags - - /// Adds the necessary script tags to render tex strings to the chart's DisplayOptions - [<CompiledName("WithMathTex")>] - [<Extension>] - member this.WithMathTex - ( - [<Optional; DefaultParameterValue(true)>] ?AppendTags: bool, - [<Optional; DefaultParameterValue(3)>] ?MathJaxVersion: int - ) = - let append = - Option.defaultValue true AppendTags - - this |> Chart.withMathTex (AppendTags = append, ?MathJaxVersion = MathJaxVersion) - - - /// Save chart as html single page - [<CompiledName("SaveHtml")>] - [<Extension>] - member this.SaveHtml(path: string, [<Optional; DefaultParameterValue(null)>] ?OpenInBrowser: bool) = - this |> Chart.saveHtml (path, ?OpenInBrowser = OpenInBrowser) - - /// Show chart in browser - [<CompiledName("Show")>] - [<Extension>] - member this.Show() = this |> Chart.show - - /// Sets the polar object with the given id on the chart layout - [<CompiledName("WithPolar")>] - member this.WithPolar(polar: Polar, [<Optional; DefaultParameterValue(null)>] ?Id) = - this |> Chart.withPolar (polar, ?Id = Id) - - /// Sets the angular axis of the polar object with the given id on the chart layout - [<CompiledName("WithAngularAxis")>] - member this.WithAngularAxis(angularAxis: AngularAxis, [<Optional; DefaultParameterValue(null)>] ?Id) = - this |> Chart.withAngularAxis (angularAxis, ?Id = Id) - - /// Sets the radial axis of the polar object with the given id on the chart layout - [<CompiledName("WithRadialAxis")>] - member this.WithRadialAxis(radialAxis: RadialAxis, [<Optional; DefaultParameterValue(null)>] ?Id) = - this |> Chart.withRadialAxis (radialAxis, ?Id = Id) - - /// Sets the color axis of the color axis with the given id on the chart layout - [<CompiledName("WithColorAxis")>] - member this.WithColorAxis(colorAxis: ColorAxis, [<Optional; DefaultParameterValue(null)>] ?Id) = - this |> Chart.withColorAxis (colorAxis, ?Id = Id) - - /// Sets the scene object with the given id on the chart layout - [<CompiledName("WithScene")>] - member this.WithScene(scene: Scene, [<Optional; DefaultParameterValue(null)>] ?Id) = - this |> Chart.withScene (scene, ?Id = Id) - - /// Sets the scene object with the given id on the chart layout - [<CompiledName("WithTernary")>] - member this.WithTernary(ternary: Ternary, [<Optional; DefaultParameterValue(null)>] ?Id) = - this |> Chart.withTernary (ternary, ?Id = Id) - - - [<CompiledName("WithLayoutImage")>] - [<Extension>] - member this.WithLayoutImage(image: LayoutImage, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = - this |> Chart.withLayoutImage (image, ?Append = Append) - - [<CompiledName("WithLayoutImages")>] - [<Extension>] - member this.WithLayoutImages - ( - images: seq<LayoutImage>, - [<Optional; DefaultParameterValue(true)>] ?Append: bool - ) = - this |> Chart.withLayoutImages (images, ?Append = Append) - - [<CompiledName("WithUpdateMenu")>] - [<Extension>] - member this.WithUpdateMenu(updateMenu: UpdateMenu, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = - this |> Chart.withUpdateMenu (updateMenu, ?Append = Append) - - [<CompiledName("WithUpdateMenus")>] - [<Extension>] - member this.WithUpdateMenus - ( - updateMenus: seq<UpdateMenu>, - [<Optional; DefaultParameterValue(true)>] ?Append: bool - ) = - this |> Chart.withUpdateMenus (updateMenus, ?Append = Append) - - [<CompiledName("WithSlider")>] - [<Extension>] - member this.WithSlider(slider: Slider) = this |> Chart.withSlider (slider) - - [<CompiledName("WithSliders")>] - [<Extension>] - member this.WithSliders(sliders: seq<Slider>) = this |> Chart.withSliders sliders diff --git a/src/Plotly.NET/ChartAPI/Chart.fs b/src/Plotly.NET/ChartAPI/Chart.fs index 0eef89cd0..5574d5700 100644 --- a/src/Plotly.NET/ChartAPI/Chart.fs +++ b/src/Plotly.NET/ChartAPI/Chart.fs @@ -23,8 +23,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?OpenInBrowser: bool) = + 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,15 +86,14 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title + ?Name: string, + ?Visible: StyleParam.Visible, + ?ShowLegend: bool, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title ) = fun (ch: GenericChart) -> ch @@ -123,11 +119,10 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?X, - [<Optional; DefaultParameterValue(null)>] ?Y + ?X, + ?Y ) = let idx = X |> Option.map StyleParam.LinearAxisId.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,43 +215,42 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?Angle: float, - [<Optional; DefaultParameterValue(null)>] ?AngleRef: StyleParam.AngleRef, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Colors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?CornerRadius: int, - [<Optional; DefaultParameterValue(null)>] ?Gradient: Gradient, - [<Optional; DefaultParameterValue(null)>] ?Outline: Line, - [<Optional; DefaultParameterValue(null)>] ?MaxDisplayed: int, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Pattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Size: int, - [<Optional; DefaultParameterValue(null)>] ?MultiSize: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?SizeMin: int, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.MarkerSizeMode, - [<Optional; DefaultParameterValue(null)>] ?SizeRef: int, - [<Optional; DefaultParameterValue(null)>] ?StandOff: float, - [<Optional; DefaultParameterValue(null)>] ?MultiStandOff: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Symbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Symbol3D: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiSymbol3D: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?OutlierColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlierWidth: int + ?Angle: float, + ?AngleRef: StyleParam.AngleRef, + ?AutoColorScale: bool, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Color: Color, + ?Colors: seq<Color>, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?Colorscale: StyleParam.Colorscale, + ?CornerRadius: int, + ?Gradient: Gradient, + ?Outline: Line, + ?MaxDisplayed: int, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Pattern: Pattern, + ?ReverseScale: bool, + ?ShowScale: bool, + ?Size: int, + ?MultiSize: seq<int>, + ?SizeMin: int, + ?SizeMode: StyleParam.MarkerSizeMode, + ?SizeRef: int, + ?StandOff: float, + ?MultiStandOff: seq<float>, + ?Symbol: StyleParam.MarkerSymbol, + ?MultiSymbol: seq<StyleParam.MarkerSymbol>, + ?Symbol3D: StyleParam.MarkerSymbol3D, + ?MultiSymbol3D: seq<StyleParam.MarkerSymbol3D>, + ?OutlierColor: Color, + ?OutlierWidth: int ) = fun (ch: GenericChart) -> ch @@ -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,29 +339,28 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?BackOff: StyleParam.BackOff, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?Dash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Shape: StyleParam.Shape, - [<Optional; DefaultParameterValue(null)>] ?Simplify: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?OutlierColor: Color, - [<Optional; DefaultParameterValue(null)>] ?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<float>, + ?OutlierColor: Color, + ?OutlierWidth: float ) = fun (ch: GenericChart) -> ch @@ -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,22 +428,21 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.ErrorType, - [<Optional; DefaultParameterValue(null)>] ?Symmetric: bool, - [<Optional; DefaultParameterValue(null)>] ?Array: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Arrayminus: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Value: float, - [<Optional; DefaultParameterValue(null)>] ?Valueminus: float, - [<Optional; DefaultParameterValue(null)>] ?Traceref: int, - [<Optional; DefaultParameterValue(null)>] ?Tracerefminus: int, - [<Optional; DefaultParameterValue(null)>] ?Copy_ystyle: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?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 @@ -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,22 +503,21 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.ErrorType, - [<Optional; DefaultParameterValue(null)>] ?Symmetric: bool, - [<Optional; DefaultParameterValue(null)>] ?Array: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Arrayminus: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Value: float, - [<Optional; DefaultParameterValue(null)>] ?Valueminus: float, - [<Optional; DefaultParameterValue(null)>] ?Traceref: int, - [<Optional; DefaultParameterValue(null)>] ?Tracerefminus: int, - [<Optional; DefaultParameterValue(null)>] ?Copy_ystyle: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?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 @@ -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,22 +578,21 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.ErrorType, - [<Optional; DefaultParameterValue(null)>] ?Symmetric: bool, - [<Optional; DefaultParameterValue(null)>] ?Array: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Arrayminus: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Value: float, - [<Optional; DefaultParameterValue(null)>] ?Valueminus: float, - [<Optional; DefaultParameterValue(null)>] ?Traceref: int, - [<Optional; DefaultParameterValue(null)>] ?Tracerefminus: int, - [<Optional; DefaultParameterValue(null)>] ?Copy_ystyle: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?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 @@ -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,13 +634,16 @@ 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)) /// <summary> /// 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. /// </summary> + /// <param name="TitleText">Sets the colorbar's title</param> + /// <param name="TitleFont">Sets the title font.</param> + /// <param name="TitleStandoff">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.</param> + /// <param name="Title">Sets the Title object (use this for more finegrained control than the other title-associated arguments)</param> /// <param name="BGColor">Sets the color of padded area.</param> /// <param name="BorderColor">Sets the axis line color.</param> /// <param name="BorderWidth">Sets the width (in px) or the border enclosing this color bar.</param> @@ -700,7 +680,6 @@ type Chart = /// <param name="TickText">Sets the text displayed at the ticks position via `tickvals`. Only has an effect if `tickmode` is set to "array". Used with `tickvals`.</param> /// <param name="TickVals">Sets the values at which ticks on this axis appear. Only has an effect if `tickmode` is set to "array". Used with `ticktext`.</param> /// <param name="TickWidth">Sets the tick width (in px).</param> - /// <param name="Title">Sets the ColorBar title.</param> /// <param name="X">Sets the x position of the color bar (in plot fraction).</param> /// <param name="XAnchor">Sets this color bar's horizontal position anchor. This anchor binds the `x` position to the "left", "center" or "right" of the color bar.</param> /// <param name="XPad">Sets the amount of padding (in px) along the x direction.</param> @@ -709,58 +688,57 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?TitleText: string, - [<Optional; DefaultParameterValue(null)>] ?TitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TitleStandoff: int, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: float, - [<Optional; DefaultParameterValue(null)>] ?DTick: IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Len: float, - [<Optional; DefaultParameterValue(null)>] ?LenMode: StyleParam.UnitMode, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?OutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?ThicknessMode: StyleParam.UnitMode, - [<Optional; DefaultParameterValue(null)>] ?Tick0: IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [<Optional; DefaultParameterValue(null)>] ?TickLabelPosition: StyleParam.TickLabelPosition, - [<Optional; DefaultParameterValue(null)>] ?TickLabelStep: int, - [<Optional; DefaultParameterValue(null)>] ?TickLen: float, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: float, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.HorizontalAlign, - [<Optional; DefaultParameterValue(null)>] ?XPad: float, - [<Optional; DefaultParameterValue(null)>] ?XRef: string, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.VerticalAlign, - [<Optional; DefaultParameterValue(null)>] ?YPad: float, - [<Optional; DefaultParameterValue(null)>] ?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<TickFormatStop>, + ?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 = @@ -829,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) @@ -838,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) @@ -919,83 +895,82 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Margin: Margin, - [<Optional; DefaultParameterValue(null)>] ?AutoSize: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: int, - [<Optional; DefaultParameterValue(null)>] ?Height: int, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?UniformText: UniformText, - [<Optional; DefaultParameterValue(null)>] ?Separators: string, - [<Optional; DefaultParameterValue(null)>] ?PaperBGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?PlotBGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: DefaultColorScales, - [<Optional; DefaultParameterValue(null)>] ?Colorway: Color, - [<Optional; DefaultParameterValue(null)>] ?ModeBar: ModeBar, - [<Optional; DefaultParameterValue(null)>] ?HoverMode: StyleParam.HoverMode, - [<Optional; DefaultParameterValue(null)>] ?ClickMode: StyleParam.ClickMode, - [<Optional; DefaultParameterValue(null)>] ?DragMode: StyleParam.DragMode, - [<Optional; DefaultParameterValue(null)>] ?SelectDirection: StyleParam.SelectDirection, - [<Optional; DefaultParameterValue(null)>] ?ActiveSelection: ActiveSelection, - [<Optional; DefaultParameterValue(null)>] ?NewSelection: NewSelection, - [<Optional; DefaultParameterValue(null)>] ?HoverDistance: int, - [<Optional; DefaultParameterValue(null)>] ?SpikeDistance: int, - [<Optional; DefaultParameterValue(null)>] ?Hoverlabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?Transition: Transition, - [<Optional; DefaultParameterValue(null)>] ?DataRevision: string, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?EditRevision: string, - [<Optional; DefaultParameterValue(null)>] ?SelectRevision: string, - [<Optional; DefaultParameterValue(null)>] ?Template: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?Computed: string, - [<Optional; DefaultParameterValue(null)>] ?Grid: LayoutGrid, - [<Optional; DefaultParameterValue(null)>] ?Calendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?MinReducedHeight: int, - [<Optional; DefaultParameterValue(null)>] ?MinReducedWidth: int, - [<Optional; DefaultParameterValue(null)>] ?NewShape: NewShape, - [<Optional; DefaultParameterValue(null)>] ?ActiveShape: ActiveShape, - [<Optional; DefaultParameterValue(null)>] ?HideSources: bool, - [<Optional; DefaultParameterValue(null)>] ?ScatterGap: float, - [<Optional; DefaultParameterValue(null)>] ?ScatterMode: StyleParam.ScatterMode, - [<Optional; DefaultParameterValue(null)>] ?BarGap: float, - [<Optional; DefaultParameterValue(null)>] ?BarGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?BarMode: StyleParam.BarMode, - [<Optional; DefaultParameterValue(null)>] ?BarNorm: StyleParam.BarNorm, - [<Optional; DefaultParameterValue(null)>] ?ExtendPieColors: bool, - [<Optional; DefaultParameterValue(null)>] ?HiddenLabels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?PieColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?BoxGap: float, - [<Optional; DefaultParameterValue(null)>] ?BoxGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?BoxMode: StyleParam.BoxMode, - [<Optional; DefaultParameterValue(null)>] ?ViolinGap: float, - [<Optional; DefaultParameterValue(null)>] ?ViolinGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?ViolinMode: StyleParam.ViolinMode, - [<Optional; DefaultParameterValue(null)>] ?WaterfallGap: float, - [<Optional; DefaultParameterValue(null)>] ?WaterfallGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?WaterfallMode: StyleParam.WaterfallMode, - [<Optional; DefaultParameterValue(null)>] ?FunnelGap: float, - [<Optional; DefaultParameterValue(null)>] ?FunnelGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?FunnelMode: StyleParam.FunnelMode, - [<Optional; DefaultParameterValue(null)>] ?ExtendFunnelAreaColors: bool, - [<Optional; DefaultParameterValue(null)>] ?FunnelAreaColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendSunBurstColors: bool, - [<Optional; DefaultParameterValue(null)>] ?SunBurstColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendTreeMapColors: bool, - [<Optional; DefaultParameterValue(null)>] ?TreeMapColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendIcicleColors: bool, - [<Optional; DefaultParameterValue(null)>] ?IcicleColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?Annotations: seq<Annotation>, - [<Optional; DefaultParameterValue(null)>] ?Shapes: seq<Shape>, - [<Optional; DefaultParameterValue(null)>] ?Selections: seq<Selection>, - [<Optional; DefaultParameterValue(null)>] ?Images: seq<LayoutImage>, - [<Optional; DefaultParameterValue(null)>] ?Sliders: seq<Slider>, - [<Optional; DefaultParameterValue(null)>] ?UpdateMenus: seq<UpdateMenu> + ?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<Annotation>, + ?Shapes: seq<Shape>, + ?Selections: seq<Selection>, + ?Images: seq<LayoutImage>, + ?Sliders: seq<Slider>, + ?UpdateMenus: seq<UpdateMenu> ) = (fun (ch: GenericChart) -> @@ -1086,13 +1061,12 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?SceneAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?SceneAxis: StyleParam.SubPlotId, + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -1166,8 +1140,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: StyleParam.SubPlotId) = + static member withXAxis(xAxis: LinearAxis, ?Id: StyleParam.SubPlotId) = let id = defaultArg Id (StyleParam.SubPlotId.XAxis 1) @@ -1209,39 +1182,38 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?TitleText: string, - [<Optional; DefaultParameterValue(null)>] ?TitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TitleStandoff: int, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType, - [<Optional; DefaultParameterValue(null)>] ?MinMax: #IConvertible * #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Mirror: StyleParam.Mirror, - [<Optional; DefaultParameterValue(null)>] ?ShowSpikes: bool, - [<Optional; DefaultParameterValue(null)>] ?SpikeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SpikeThickness: int, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?ZeroLine: bool, - [<Optional; DefaultParameterValue(null)>] ?ZeroLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Anchor: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?Overlaying: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Domain: float * float, - [<Optional; DefaultParameterValue(null)>] ?Position: float, - [<Optional; DefaultParameterValue(null)>] ?CategoryOrder: StyleParam.CategoryOrder, - [<Optional; DefaultParameterValue(null)>] ?CategoryArray: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?RangeSlider: RangeSlider, - [<Optional; DefaultParameterValue(null)>] ?RangeSelector: RangeSelector, - [<Optional; DefaultParameterValue(null)>] ?BackgroundColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowBackground: bool, - [<Optional; DefaultParameterValue(null)>] ?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 @@ -1288,8 +1260,7 @@ type Chart = Chart.withXAxis (xaxis, ?Id = Id) /// Sets the range slider for the xAxis - [<CompiledName("WithXAxisRangeSlider")>] - static member withXAxisRangeSlider(rangeSlider: RangeSlider, [<Optional; DefaultParameterValue(null)>] ?Id) = + static member withXAxisRangeSlider(rangeSlider: RangeSlider, ?Id) = let xaxis = LinearAxis.init (RangeSlider = rangeSlider) @@ -1302,8 +1273,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: StyleParam.SubPlotId) = + static member withYAxis(yAxis: LinearAxis, ?Id: StyleParam.SubPlotId) = let id = defaultArg Id (StyleParam.SubPlotId.YAxis 1) @@ -1347,41 +1317,40 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?TitleText: string, - [<Optional; DefaultParameterValue(null)>] ?TitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TitleStandoff: int, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType, - [<Optional; DefaultParameterValue(null)>] ?MinMax: #IConvertible * #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Mirror: StyleParam.Mirror, - [<Optional; DefaultParameterValue(null)>] ?ShowSpikes: bool, - [<Optional; DefaultParameterValue(null)>] ?SpikeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SpikeThickness: int, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?ZeroLine: bool, - [<Optional; DefaultParameterValue(null)>] ?ZeroLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Anchor: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?Overlaying: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?AutoShift: bool, - [<Optional; DefaultParameterValue(null)>] ?Shift: int, - [<Optional; DefaultParameterValue(null)>] ?Domain: float * float, - [<Optional; DefaultParameterValue(null)>] ?Position: float, - [<Optional; DefaultParameterValue(null)>] ?CategoryOrder: StyleParam.CategoryOrder, - [<Optional; DefaultParameterValue(null)>] ?CategoryArray: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?RangeSlider: RangeSlider, - [<Optional; DefaultParameterValue(null)>] ?RangeSelector: RangeSelector, - [<Optional; DefaultParameterValue(null)>] ?BackgroundColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowBackground: bool, - [<Optional; DefaultParameterValue(null)>] ?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 @@ -1436,8 +1405,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withZAxis(zAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Scene @@ -1478,38 +1446,37 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?TitleText: string, - [<Optional; DefaultParameterValue(null)>] ?TitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TitleStandoff: int, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType, - [<Optional; DefaultParameterValue(null)>] ?MinMax: #IConvertible * #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Mirror: StyleParam.Mirror, - [<Optional; DefaultParameterValue(null)>] ?ShowSpikes: bool, - [<Optional; DefaultParameterValue(null)>] ?SpikeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SpikeThickness: int, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ZeroLine: bool, - [<Optional; DefaultParameterValue(null)>] ?ZeroLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Anchor: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?Overlaying: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Domain: float * float, - [<Optional; DefaultParameterValue(null)>] ?Position: float, - [<Optional; DefaultParameterValue(null)>] ?CategoryOrder: StyleParam.CategoryOrder, - [<Optional; DefaultParameterValue(null)>] ?CategoryArray: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?RangeSlider: RangeSlider, - [<Optional; DefaultParameterValue(null)>] ?RangeSelector: RangeSelector, - [<Optional; DefaultParameterValue(null)>] ?BackgroundColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowBackground: bool, - [<Optional; DefaultParameterValue(null)>] ?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 @@ -1560,12 +1527,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -1583,8 +1549,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withScene(scene: Scene, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Scene @@ -1608,22 +1573,21 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?Annotations: seq<Annotation>, - [<Optional; DefaultParameterValue(null)>] ?AspectMode: StyleParam.AspectMode, - [<Optional; DefaultParameterValue(null)>] ?AspectRatio: AspectRatio, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?DragMode: StyleParam.DragMode, - [<Optional; DefaultParameterValue(null)>] ?HoverMode: StyleParam.HoverMode, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?XAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?YAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?ZAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?Id: int + ?Annotations: seq<Annotation>, + ?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 = @@ -1650,12 +1614,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -1673,8 +1636,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withPolar(polar: Polar, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Polar @@ -1694,18 +1656,17 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Sector: float * float, - [<Optional; DefaultParameterValue(null)>] ?Hole: float, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?RadialAxis: RadialAxis, - [<Optional; DefaultParameterValue(null)>] ?AngularAxis: AngularAxis, - [<Optional; DefaultParameterValue(null)>] ?GridShape: StyleParam.PolarGridShape, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?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 = @@ -1728,12 +1689,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -1773,8 +1733,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withAngularAxis(angularAxis: AngularAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Polar @@ -1786,12 +1745,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -1832,8 +1790,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withRadialAxis(radialAxis: RadialAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Polar @@ -1845,12 +1802,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -1868,8 +1824,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withSmith(smith: Smith, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Smith @@ -1880,15 +1835,13 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?ImaginaryAxis: ImaginaryAxis, - [<Optional; DefaultParameterValue(null)>] ?RealAxis: RealAxis, - [<Optional; DefaultParameterValue(null)>] ?Id: int + ?BGColor: Color, + ?Domain: Domain, + ?ImaginaryAxis: ImaginaryAxis, + ?RealAxis: RealAxis, + ?Id: int ) = (fun (ch: GenericChart) -> let smith = @@ -1902,12 +1855,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -1947,8 +1899,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withImaginaryAxis(imaginaryAxis: ImaginaryAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Smith @@ -1960,12 +1911,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -2004,8 +1954,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withRealAxis(realAxis: RealAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Smith @@ -2017,8 +1966,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Combine: bool) = + static member setGeo(geo: Geo, id: StyleParam.SubPlotId, ?Combine: bool) = let combine = defaultArg Combine false @@ -2035,8 +1983,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withGeo(geo: Geo, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Geo @@ -2079,41 +2026,40 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?FitBounds: StyleParam.GeoFitBounds, - [<Optional; DefaultParameterValue(null)>] ?Resolution: StyleParam.GeoResolution, - [<Optional; DefaultParameterValue(null)>] ?Scope: StyleParam.GeoScope, - [<Optional; DefaultParameterValue(null)>] ?Projection: GeoProjection, - [<Optional; DefaultParameterValue(null)>] ?Center: (float * float), - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?ShowCoastLines: bool, - [<Optional; DefaultParameterValue(null)>] ?CoastLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?CoastLineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowLand: bool, - [<Optional; DefaultParameterValue(null)>] ?LandColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowOcean: bool, - [<Optional; DefaultParameterValue(null)>] ?OceanColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowLakes: bool, - [<Optional; DefaultParameterValue(null)>] ?LakeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowRivers: bool, - [<Optional; DefaultParameterValue(null)>] ?RiverColor: Color, - [<Optional; DefaultParameterValue(null)>] ?RiverWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowCountries: bool, - [<Optional; DefaultParameterValue(null)>] ?CountryColor: Color, - [<Optional; DefaultParameterValue(null)>] ?CountryWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowSubunits: bool, - [<Optional; DefaultParameterValue(null)>] ?SubunitColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SubunitWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowFrame: bool, - [<Optional; DefaultParameterValue(null)>] ?FrameColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FrameWidth: float, - [<Optional; DefaultParameterValue(null)>] ?BgColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LatAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?LonAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?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 = @@ -2163,14 +2109,13 @@ 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, - [<Optional; DefaultParameterValue(null)>] ?Rotation, - [<Optional; DefaultParameterValue(null)>] ?Parallels, - [<Optional; DefaultParameterValue(null)>] ?Scale, - [<Optional; DefaultParameterValue(null)>] ?Id: int + ?Rotation, + ?Parallels, + ?Scale, + ?Id: int ) = (fun (ch: GenericChart) -> @@ -2192,12 +2137,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -2215,8 +2159,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withMapbox(mapbox: Mapbox, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Mapbox @@ -2238,15 +2181,15 @@ type Chart = /// <param name="Id">The target mapbox id</param> static member withMapboxStyle ( - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?AccessToken: string, - [<Optional; DefaultParameterValue(null)>] ?Style: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?Center: (float * float), - [<Optional; DefaultParameterValue(null)>] ?Zoom: float, - [<Optional; DefaultParameterValue(null)>] ?Bearing: float, - [<Optional; DefaultParameterValue(null)>] ?Pitch: float, - [<Optional; DefaultParameterValue(null)>] ?Layers: seq<MapboxLayer>, - [<Optional; DefaultParameterValue(null)>] ?Id: int + ?Domain: Domain, + ?AccessToken: string, + ?Style: StyleParam.MapboxStyle, + ?Center: (float * float), + ?Zoom: float, + ?Bearing: float, + ?Pitch: float, + ?Layers: seq<MapboxLayer>, + ?Id: int ) = (fun (ch: GenericChart) -> let mapbox = @@ -2269,12 +2212,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -2292,8 +2234,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withTernary(ternary: Ternary, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2313,13 +2254,13 @@ type Chart = /// <param name="Id">The target Ternary id</param> static member withTernaryStyle ( - [<Optional; DefaultParameterValue(null)>] ?AAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?BAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?CAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Sum: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Id: int + ?AAxis: LinearAxis, + ?BAxis: LinearAxis, + ?CAxis: LinearAxis, + ?Domain: Domain, + ?Sum: #IConvertible, + ?BGColor: Color, + ?Id: int ) = (fun (ch: GenericChart) -> let ternary = @@ -2340,12 +2281,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -2386,8 +2326,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withAAxis(aAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2399,12 +2338,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -2445,8 +2383,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withBAxis(bAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2458,12 +2395,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = fun (ch: GenericChart) -> @@ -2504,8 +2440,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withCAxis(cAxis: LinearAxis, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Ternary @@ -2516,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 @@ -2532,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)) @@ -2553,21 +2486,20 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [<Optional; DefaultParameterValue(null)>] ?XAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?YAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?Rows: int, - [<Optional; DefaultParameterValue(null)>] ?Columns: int, - [<Optional; DefaultParameterValue(null)>] ?RowOrder: StyleParam.LayoutGridRowOrder, - [<Optional; DefaultParameterValue(null)>] ?Pattern: StyleParam.LayoutGridPattern, - [<Optional; DefaultParameterValue(null)>] ?XGap: float, - [<Optional; DefaultParameterValue(null)>] ?YGap: float, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?XSide: StyleParam.LayoutGridXSide, - [<Optional; DefaultParameterValue(null)>] ?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 = @@ -2595,12 +2527,11 @@ 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, id: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Combine: bool + ?Combine: bool ) = let combine = defaultArg Combine false @@ -2618,8 +2549,7 @@ 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, [<Optional; DefaultParameterValue(null)>] ?Id: int) = + static member withLegend(legend: Legend, ?Id: int) = let id = Id |> Option.defaultValue 1 |> StyleParam.SubPlotId.Legend @@ -2656,35 +2586,35 @@ type Chart = /// <param name="Y">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.</param> /// <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> - [<CompiledName("WithLegendStyle")>] + /// <param name="Id">The target Legend id. Default is 1.</param> static member withLegendStyle ( - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: float, - [<Optional; DefaultParameterValue(null)>] ?EntryWidth: float, - [<Optional; DefaultParameterValue(null)>] ?EntryWidthMode: StyleParam.EntryWidthMode, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?GroupClick: StyleParam.TraceGroupClickOptions, - [<Optional; DefaultParameterValue(null)>] ?GroupTitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ItemClick: StyleParam.TraceItemClickOptions, - [<Optional; DefaultParameterValue(null)>] ?ItemDoubleClick: StyleParam.TraceItemClickOptions, - [<Optional; DefaultParameterValue(null)>] ?ItemSizing: StyleParam.TraceItemSizing, - [<Optional; DefaultParameterValue(null)>] ?ItemWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?TraceGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?TraceOrder: StyleParam.TraceOrder, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?VerticalAlign: StyleParam.VerticalAlign, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?XRef: string, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?YRef: string, - [<Optional; DefaultParameterValue(null)>] ?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 = @@ -2719,15 +2649,14 @@ 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>, - [<Optional; DefaultParameterValue(true)>] ?Append: bool + ?Append: bool ) = let append = defaultArg Append true @@ -2748,13 +2677,16 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Annotations = annotations')) - [<CompiledName("WithAnnotation")>] - static member withAnnotation(annotation: Annotation, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = + /// <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, [<Optional; DefaultParameterValue(null)>] ?TitleFont) = + static member withTitle(title, ?TitleFont) = (fun (ch: GenericChart) -> let layout = Layout() |> Layout.style (Title = Title.init (Text = title, ?Font = TitleFont)) @@ -2762,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 = @@ -2771,11 +2702,10 @@ type Chart = GenericChart.addLayout layout ch) /// Sets the size of a Chart (in pixels) - [<CompiledName("WithSize")>] static member withSize ( - [<Optional; DefaultParameterValue(null)>] ?Width: int, - [<Optional; DefaultParameterValue(null)>] ?Height: int + ?Width: int, + ?Height: int ) = fun (ch: GenericChart) -> @@ -2787,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 = @@ -2801,15 +2729,14 @@ type Chart = GenericChart.setLayout layout ch) // Set the margin of a Chart - [<CompiledName("WithMarginSize")>] static member withMarginSize ( - [<Optional; DefaultParameterValue(null)>] ?Left, - [<Optional; DefaultParameterValue(null)>] ?Right, - [<Optional; DefaultParameterValue(null)>] ?Top, - [<Optional; DefaultParameterValue(null)>] ?Bottom, - [<Optional; DefaultParameterValue(null)>] ?Pad, - [<Optional; DefaultParameterValue(null)>] ?Autoexpand + ?Left, + ?Right, + ?Top, + ?Bottom, + ?Pad, + ?Autoexpand ) = let margin = Margin.init ( @@ -2823,23 +2750,15 @@ 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")>] - static member withShapes(shapes: seq<Shape>, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = + /// <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 fun (ch: GenericChart) -> @@ -2857,17 +2776,20 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Shapes = shapes')) - [<CompiledName("WithShape")>] - static member withShape(shape: Shape, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = + /// <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")>] - static member withSelections(selections: seq<Selection>, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = + /// <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 fun (ch: GenericChart) -> @@ -2887,8 +2809,12 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Selections = selections')) - [<CompiledName("WithSelection")>] - static member withSelection(selection: Selection, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = + /// <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) //============================================================================================================== @@ -2900,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) @@ -2909,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) @@ -2975,48 +2899,47 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?StaticPlot: bool, - [<Optional; DefaultParameterValue(null)>] ?TypesetMath: bool, - [<Optional; DefaultParameterValue(null)>] ?PlotlyServerUrl: string, - [<Optional; DefaultParameterValue(null)>] ?Editable: bool, - [<Optional; DefaultParameterValue(null)>] ?Edits: Edits, - [<Optional; DefaultParameterValue(null)>] ?EditSelection: bool, - [<Optional; DefaultParameterValue(null)>] ?Autosizable: bool, - [<Optional; DefaultParameterValue(null)>] ?Responsive: bool, - [<Optional; DefaultParameterValue(null)>] ?FillFrame: bool, - [<Optional; DefaultParameterValue(null)>] ?FrameMargins: float, - [<Optional; DefaultParameterValue(null)>] ?ScrollZoom: StyleParam.ScrollZoom, - [<Optional; DefaultParameterValue(null)>] ?DoubleClick: StyleParam.DoubleClick, - [<Optional; DefaultParameterValue(null)>] ?DoubleClickDelay: int, - [<Optional; DefaultParameterValue(null)>] ?ShowAxisDragHandles: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowAxisRangeEntryBoxes: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTips: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowLink: bool, - [<Optional; DefaultParameterValue(null)>] ?LinkText: string, - [<Optional; DefaultParameterValue(null)>] ?SendData: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowSources: obj, - [<Optional; DefaultParameterValue(null)>] ?DisplayModeBar: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowSendToCloud: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowEditInChartStudio: bool, - [<Optional; DefaultParameterValue(null)>] ?ModeBarButtonsToRemove: seq<StyleParam.ModeBarButton>, - [<Optional; DefaultParameterValue(null)>] ?ModeBarButtonsToAdd: seq<StyleParam.ModeBarButton>, - [<Optional; DefaultParameterValue(null)>] ?ModeBarButtons: seq<seq<StyleParam.ModeBarButton>>, - [<Optional; DefaultParameterValue(null)>] ?ToImageButtonOptions: ToImageButtonOptions, - [<Optional; DefaultParameterValue(null)>] ?Displaylogo: bool, - [<Optional; DefaultParameterValue(null)>] ?Watermark: bool, - [<Optional; DefaultParameterValue(null)>] ?plotGlPixelRatio: float, - [<Optional; DefaultParameterValue(null)>] ?SetBackground: obj, - [<Optional; DefaultParameterValue(null)>] ?TopojsonURL: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxAccessToken: string, - [<Optional; DefaultParameterValue(null)>] ?Logging: int, - [<Optional; DefaultParameterValue(null)>] ?NotifyOnLogging: int, - [<Optional; DefaultParameterValue(null)>] ?QueueLength: int, - [<Optional; DefaultParameterValue(null)>] ?GlobalTransforms: obj, - [<Optional; DefaultParameterValue(null)>] ?Locale: string, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.ModeBarButton>, + ?ModeBarButtonsToAdd: seq<StyleParam.ModeBarButton>, + ?ModeBarButtons: seq<seq<StyleParam.ModeBarButton>>, + ?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) -> @@ -3101,24 +3024,23 @@ 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, nCols: int, - [<Optional; DefaultParameterValue(null)>] ?SubPlotTitles: #seq<string>, - [<Optional; DefaultParameterValue(null)>] ?SubPlotTitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?SubPlotTitleOffset: float, - [<Optional; DefaultParameterValue(null)>] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [<Optional; DefaultParameterValue(null)>] ?XAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?YAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?RowOrder: StyleParam.LayoutGridRowOrder, - [<Optional; DefaultParameterValue(null)>] ?Pattern: StyleParam.LayoutGridPattern, - [<Optional; DefaultParameterValue(null)>] ?XGap: float, - [<Optional; DefaultParameterValue(null)>] ?YGap: float, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?XSide: StyleParam.LayoutGridXSide, - [<Optional; DefaultParameterValue(null)>] ?YSide: StyleParam.LayoutGridYSide + ?SubPlotTitles: #seq<string>, + ?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<GenericChart>) -> @@ -3422,22 +3344,21 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?SubPlotTitles: #seq<string>, - [<Optional; DefaultParameterValue(null)>] ?SubPlotTitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?SubPlotTitleOffset: float, - [<Optional; DefaultParameterValue(null)>] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [<Optional; DefaultParameterValue(null)>] ?XAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?YAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?RowOrder: StyleParam.LayoutGridRowOrder, - [<Optional; DefaultParameterValue(null)>] ?Pattern: StyleParam.LayoutGridPattern, - [<Optional; DefaultParameterValue(null)>] ?XGap: float, - [<Optional; DefaultParameterValue(null)>] ?YGap: float, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?XSide: StyleParam.LayoutGridXSide, - [<Optional; DefaultParameterValue(null)>] ?YSide: StyleParam.LayoutGridYSide + ?SubPlotTitles: #seq<string>, + ?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<GenericChart>>) -> @@ -3539,22 +3460,21 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?SubPlotTitles: #seq<string>, - [<Optional; DefaultParameterValue(null)>] ?SubPlotTitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?SubPlotTitleOffset: float, - [<Optional; DefaultParameterValue(null)>] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [<Optional; DefaultParameterValue(null)>] ?XAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?YAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?RowOrder: StyleParam.LayoutGridRowOrder, - [<Optional; DefaultParameterValue(null)>] ?Pattern: StyleParam.LayoutGridPattern, - [<Optional; DefaultParameterValue(null)>] ?XGap: float, - [<Optional; DefaultParameterValue(null)>] ?YGap: float, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?XSide: StyleParam.LayoutGridXSide, - [<Optional; DefaultParameterValue(null)>] ?YSide: StyleParam.LayoutGridYSide + ?SubPlotTitles: #seq<string>, + ?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<GenericChart>) -> @@ -3580,8 +3500,7 @@ type Chart = /// Sets the color axis with the given id on the chart layout - [<CompiledName("WithColorAxis")>] - static member withColorAxis(colorAxis: ColorAxis, [<Optional; DefaultParameterValue(null)>] ?Id) = + static member withColorAxis(colorAxis: ColorAxis, ?Id) = (fun (ch: GenericChart) -> let layout = let id = @@ -3592,12 +3511,11 @@ 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")>] - static member withLayoutImages(images: seq<LayoutImage>, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = + /// <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 fun (ch: GenericChart) -> @@ -3617,21 +3535,24 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (Images = images')) - [<CompiledName("WithLayoutImage")>] - static member withLayoutImage(image: LayoutImage, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = + /// <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>, - [<Optional; DefaultParameterValue(true)>] ?Append: bool + ?Append: bool ) = let append = defaultArg Append true @@ -3652,17 +3573,49 @@ type Chart = ch |> GenericChart.mapLayout (Layout.style (UpdateMenus = updateMenus')) - [<CompiledName("WithUpdateMenu")>] - static member withUpdateMenu(updateMenu: UpdateMenu, [<Optional; DefaultParameterValue(true)>] ?Append: bool) = + /// <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) // ############################################################ @@ -3673,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) @@ -3682,27 +3634,37 @@ 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) /// <summary> /// Applies the given styles to the chart's DisplayOptions object. Overwrites attributes with the same name that are already set. /// </summary> + /// <param name="DocumentTitle">The title metadata for the document</param> + /// <param name="DocumentCharset">The document charset</param> + /// <param name="DocumentDescription">The description metadata for the document</param> + /// <param name="DocumentFavicon">base64 encoded favicon image</param> /// <param name="AdditionalHeadTags">Additional tags that will be included in the document's head </param> - /// <param name="Description">HTML tags that appear below the chart in HTML docs</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 ( - [<Optional; DefaultParameterValue(null)>] ?AdditionalHeadTags: XmlNode list, - [<Optional; DefaultParameterValue(null)>] ?ChartDescription: XmlNode list, - [<Optional; DefaultParameterValue(null)>] ?PlotlyJSReference: PlotlyJSReference + ?DocumentTitle: string, + ?DocumentCharset: string, + ?DocumentDescription: string, + ?DocumentFavicon: XmlNode, + ?AdditionalHeadTags: XmlNode list, + ?ChartDescription: XmlNode list, + ?PlotlyJSReference: PlotlyJSReference ) = (fun (ch: GenericChart) -> let displayOpts' = DisplayOptions.init ( + ?DocumentTitle = DocumentTitle, + ?DocumentCharset = DocumentCharset, + ?DocumentDescription = DocumentDescription, + ?DocumentFavicon = DocumentFavicon, ?AdditionalHeadTags = AdditionalHeadTags, ?ChartDescription = ChartDescription, ?PlotlyJSReference = PlotlyJSReference @@ -3716,27 +3678,23 @@ 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 ( - [<Optional; DefaultParameterValue(true)>] ?AppendTags: bool, - [<Optional; DefaultParameterValue(3)>] ?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..3be2daff7 100644 --- a/src/Plotly.NET/ChartAPI/Chart2D.fs +++ b/src/Plotly.NET/ChartAPI/Chart2D.fs @@ -70,40 +70,40 @@ module Chart2D = [<Extension>] static member Scatter ( - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?Mode: StyleParam.Mode, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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<int>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?GroupName: string, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?UpperMarker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LowerMarker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?UpperLine: Line, - [<Optional; DefaultParameterValue(null)>] ?LowerLine: Line, - [<Optional; DefaultParameterValue(null)>] ?RangeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?RangePattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?UpperText: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiUpperText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?LowerText: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiLowerText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue("lower")>] ?LowerName: string, - [<Optional; DefaultParameterValue("upper")>] ?UpperName: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?GroupName: string, + ?ShowMarkers: bool, + ?ShowLegend: bool, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?GroupName: string, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?UpperMarker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LowerMarker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?UpperLine: Line, - [<Optional; DefaultParameterValue(null)>] ?LowerLine: Line, - [<Optional; DefaultParameterValue(null)>] ?RangeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?RangePattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?UpperText: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiUpperText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?LowerText: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiLowerText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue("lower")>] ?LowerName: string, - [<Optional; DefaultParameterValue("upper")>] ?UpperName: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?GroupName: string, + ?ShowMarkers: bool, + ?ShowLegend: bool, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?Offset: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?ConnectorLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ConnectorLineStyle: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?ConnectorFillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ConnectorLine: Line, - [<Optional; DefaultParameterValue(null)>] ?Connector: FunnelConnector, - [<Optional; DefaultParameterValue(null)>] ?InsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?OutsideTextFont: Font, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Width: float, + ?Offset: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?Offset: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?ConnectorLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ConnectorLineStyle: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?ConnectorFillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ConnectorLine: Line, - [<Optional; DefaultParameterValue(null)>] ?Connector: FunnelConnector, - [<Optional; DefaultParameterValue(null)>] ?InsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?OutsideTextFont: Font, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Width: float, + ?Offset: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?IncreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?DecreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?TotalsColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Totals: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?Base: float, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Connector: WaterfallConnector, - [<Optional; DefaultParameterValue(null)>] ?Measure: StyleParam.WaterfallMeasure seq, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(true)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?TotalsColor: Color, + ?Totals: FinanceMarker, + ?Base: float, + ?Width: float, + ?MultiWidth: seq<float>, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?IncreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?DecreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?TotalsColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Totals: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?Base: float, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Connector: WaterfallConnector, - [<Optional; DefaultParameterValue(null)>] ?Measure: StyleParam.WaterfallMeasure seq, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(true)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?TotalsColor: Color, + ?Totals: FinanceMarker, + ?Base: float, + ?Width: float, + ?MultiWidth: seq<float>, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?IncreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?DecreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?TotalsColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Totals: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?Base: float, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Connector: WaterfallConnector, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(true)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?IncreasingColor: Color, + ?Increasing: FinanceMarker, + ?DecreasingColor: Color, + ?Decreasing: FinanceMarker, + ?TotalsColor: Color, + ?Totals: FinanceMarker, + ?Base: float, + ?Width: float, + ?MultiWidth: seq<float>, + ?Opacity: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Keys: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiKeys: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Keys: seq<#IConvertible>, + ?MultiKeys: seq<seq<#IConvertible>>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?UseDefaults: bool ) = let useDefaults = @@ -2787,25 +2787,25 @@ module Chart2D = static member Bar ( keysValues: seq<#IConvertible * #IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?UseDefaults: bool ) = let keys, values = Seq.unzip keysValues @@ -2867,27 +2867,27 @@ module Chart2D = static member StackedBar ( values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Keys: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiKeys: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Keys: seq<#IConvertible>, + ?MultiKeys: seq<seq<#IConvertible>>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?UseDefaults: bool ) = Chart.Bar( @@ -2947,25 +2947,25 @@ module Chart2D = static member StackedBar ( keysValues: seq<#IConvertible * #IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?UseDefaults: bool ) = let keys, values = Seq.unzip keysValues @@ -3025,27 +3025,27 @@ module Chart2D = static member Column ( values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Keys: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiKeys: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Keys: seq<#IConvertible>, + ?MultiKeys: seq<seq<#IConvertible>>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?UseDefaults: bool ) = let useDefaults = @@ -3119,25 +3119,25 @@ module Chart2D = static member Column ( keysValues: seq<#IConvertible * #IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?UseDefaults: bool ) = let keys, values = Seq.unzip keysValues @@ -3199,27 +3199,27 @@ module Chart2D = static member StackedColumn ( values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Keys: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiKeys: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Keys: seq<#IConvertible>, + ?MultiKeys: seq<seq<#IConvertible>>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?UseDefaults: bool ) = Chart.Column( @@ -3279,25 +3279,25 @@ module Chart2D = static member StackedColumn ( keysValues: seq<#IConvertible * #IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?MarkerPattern: Pattern, + ?Marker: Marker, + ?Base: #IConvertible, + ?Width: #IConvertible, + ?MultiWidth: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?UseDefaults: bool ) = let keys, values = Seq.unzip keysValues @@ -3371,39 +3371,39 @@ module Chart2D = [<Extension>] static member Histogram ( - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?HistFunc: StyleParam.HistFunc, - [<Optional; DefaultParameterValue(null)>] ?HistNorm: StyleParam.HistNorm, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?NBinsX: int, - [<Optional; DefaultParameterValue(null)>] ?NBinsY: int, - [<Optional; DefaultParameterValue(null)>] ?BinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?YBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?XError: Error, - [<Optional; DefaultParameterValue(null)>] ?YError: Error, - [<Optional; DefaultParameterValue(null)>] ?Cumulative: Cumulative, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?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<StyleParam.PatternShape>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HistFunc: StyleParam.HistFunc, - [<Optional; DefaultParameterValue(null)>] ?HistNorm: StyleParam.HistNorm, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?NBinsX: int, - [<Optional; DefaultParameterValue(null)>] ?NBinsY: int, - [<Optional; DefaultParameterValue(null)>] ?BinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?YBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?XError: Error, - [<Optional; DefaultParameterValue(null)>] ?YError: Error, - [<Optional; DefaultParameterValue(null)>] ?Cumulative: Cumulative, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(true)>] ?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 = [<Extension>] static member Histogram2D ( - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?XGap: int, - [<Optional; DefaultParameterValue(null)>] ?YGap: int, - [<Optional; DefaultParameterValue(null)>] ?HistFunc: StyleParam.HistFunc, - [<Optional; DefaultParameterValue(null)>] ?HistNorm: StyleParam.HistNorm, - [<Optional; DefaultParameterValue(null)>] ?NBinsX: int, - [<Optional; DefaultParameterValue(null)>] ?NBinsY: int, - [<Optional; DefaultParameterValue(null)>] ?XBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?YBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZSmooth: StyleParam.SmoothAlg, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?Y: seq<#IConvertible>, + ?MultiY: seq<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 ) = let useDefaults = @@ -3667,24 +3667,24 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?XGap: int, - [<Optional; DefaultParameterValue(null)>] ?YGap: int, - [<Optional; DefaultParameterValue(null)>] ?HistFunc: StyleParam.HistFunc, - [<Optional; DefaultParameterValue(null)>] ?HistNorm: StyleParam.HistNorm, - [<Optional; DefaultParameterValue(null)>] ?NBinsX: int, - [<Optional; DefaultParameterValue(null)>] ?NBinsY: int, - [<Optional; DefaultParameterValue(null)>] ?XBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?YBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZSmooth: StyleParam.SmoothAlg, - [<Optional; DefaultParameterValue(true)>] ?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 = [<Extension>] static member BoxPlot ( - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?WhiskerWidth: float, - [<Optional; DefaultParameterValue(null)>] ?BoxPoints: StyleParam.BoxPoints, - [<Optional; DefaultParameterValue(null)>] ?BoxMean: StyleParam.BoxMean, - [<Optional; DefaultParameterValue(null)>] ?Jitter: float, - [<Optional; DefaultParameterValue(null)>] ?PointPos: float, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?OutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Outline: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Notched: bool, - [<Optional; DefaultParameterValue(null)>] ?NotchWidth: float, - [<Optional; DefaultParameterValue(null)>] ?QuartileMethod: StyleParam.QuartileMethod, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.BoxSizeMode, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#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 ) = let useDefaults = @@ -3860,29 +3860,29 @@ module Chart2D = ( data: seq<#IConvertible>, orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?WhiskerWidth: float, - [<Optional; DefaultParameterValue(null)>] ?BoxPoints: StyleParam.BoxPoints, - [<Optional; DefaultParameterValue(null)>] ?BoxMean: StyleParam.BoxMean, - [<Optional; DefaultParameterValue(null)>] ?Jitter: float, - [<Optional; DefaultParameterValue(null)>] ?PointPos: float, - [<Optional; DefaultParameterValue(null)>] ?OutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Outline: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Notched: bool, - [<Optional; DefaultParameterValue(null)>] ?NotchWidth: float, - [<Optional; DefaultParameterValue(null)>] ?QuartileMethod: StyleParam.QuartileMethod, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.BoxSizeMode, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?WhiskerWidth: float, - [<Optional; DefaultParameterValue(null)>] ?BoxPoints: StyleParam.BoxPoints, - [<Optional; DefaultParameterValue(null)>] ?BoxMean: StyleParam.BoxMean, - [<Optional; DefaultParameterValue(null)>] ?Jitter: float, - [<Optional; DefaultParameterValue(null)>] ?PointPos: float, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?OutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Outline: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Notched: bool, - [<Optional; DefaultParameterValue(null)>] ?NotchWidth: float, - [<Optional; DefaultParameterValue(null)>] ?QuartileMethod: StyleParam.QuartileMethod, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.BoxSizeMode, - [<Optional; DefaultParameterValue(true)>] ?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 = [<Extension>] static member Violin ( - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Points: StyleParam.JitterPoints, - [<Optional; DefaultParameterValue(null)>] ?Jitter: float, - [<Optional; DefaultParameterValue(null)>] ?PointPos: float, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?OutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Outline: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?ShowBox: bool, - [<Optional; DefaultParameterValue(null)>] ?BoxWidth: float, - [<Optional; DefaultParameterValue(null)>] ?BoxFillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Box: Box, - [<Optional; DefaultParameterValue(null)>] ?BandWidth: float, - [<Optional; DefaultParameterValue(null)>] ?MeanLine: MeanLine, - [<Optional; DefaultParameterValue(null)>] ?ScaleGroup: string, - [<Optional; DefaultParameterValue(null)>] ?ScaleMode: StyleParam.ScaleMode, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.ViolinSide, - [<Optional; DefaultParameterValue(null)>] ?Span: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?SpanMode: StyleParam.SpanMode, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#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 ) = let useDefaults = @@ -4185,35 +4185,35 @@ module Chart2D = ( data: seq<#IConvertible>, orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Points: StyleParam.JitterPoints, - [<Optional; DefaultParameterValue(null)>] ?Jitter: float, - [<Optional; DefaultParameterValue(null)>] ?PointPos: float, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?OutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Outline: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?ShowBox: bool, - [<Optional; DefaultParameterValue(null)>] ?BoxWidth: float, - [<Optional; DefaultParameterValue(null)>] ?BoxFillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Box: Box, - [<Optional; DefaultParameterValue(null)>] ?BandWidth: float, - [<Optional; DefaultParameterValue(null)>] ?MeanLine: MeanLine, - [<Optional; DefaultParameterValue(null)>] ?ScaleGroup: string, - [<Optional; DefaultParameterValue(null)>] ?ScaleMode: StyleParam.ScaleMode, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.ViolinSide, - [<Optional; DefaultParameterValue(null)>] ?Span: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?SpanMode: StyleParam.SpanMode, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Points: StyleParam.JitterPoints, - [<Optional; DefaultParameterValue(null)>] ?Jitter: float, - [<Optional; DefaultParameterValue(null)>] ?PointPos: float, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?OutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Outline: Line, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?ShowBox: bool, - [<Optional; DefaultParameterValue(null)>] ?BoxWidth: float, - [<Optional; DefaultParameterValue(null)>] ?BoxFillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Box: Box, - [<Optional; DefaultParameterValue(null)>] ?BandWidth: float, - [<Optional; DefaultParameterValue(null)>] ?MeanLine: MeanLine, - [<Optional; DefaultParameterValue(null)>] ?ScaleGroup: string, - [<Optional; DefaultParameterValue(null)>] ?ScaleMode: StyleParam.ScaleMode, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.ViolinSide, - [<Optional; DefaultParameterValue(null)>] ?Span: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?SpanMode: StyleParam.SpanMode, - [<Optional; DefaultParameterValue(true)>] ?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 @@ -4397,8 +4397,8 @@ module Chart2D = /// <param name="ContoursColoring">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.</param> /// <param name="ContoursOperation">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.</param> /// <param name="ContoursType">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.</param> - /// <param name="ShowContourLabels">Determines whether to label the contour lines with their values.</param> - /// <param name="ContourLabelFont">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`.</param> + /// <param name="ShowContoursLabels">Determines whether to label the contour lines with their values.</param> + /// <param name="ContoursLabelFont">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`.</param> /// <param name="ContoursStart">Sets the starting contour level value. Must be less than `contours.end`</param> /// <param name="ContoursEnd">Sets the end contour level value. Must be more than `contours.start`</param> /// <param name="Contours">Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments).</param> @@ -4411,44 +4411,44 @@ module Chart2D = [<Extension>] static member Histogram2DContour ( - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?HistFunc: StyleParam.HistFunc, - [<Optional; DefaultParameterValue(null)>] ?HistNorm: StyleParam.HistNorm, - [<Optional; DefaultParameterValue(null)>] ?NBinsX: int, - [<Optional; DefaultParameterValue(null)>] ?NBinsY: int, - [<Optional; DefaultParameterValue(null)>] ?BinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XBinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?YBinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?YBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesSmoothing: float, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ContourLines: Line, - [<Optional; DefaultParameterValue(null)>] ?ShowContourLines: bool, - [<Optional; DefaultParameterValue(null)>] ?ContoursColoring: StyleParam.ContourColoring, - [<Optional; DefaultParameterValue(null)>] ?ContoursOperation: StyleParam.ConstraintOperation, - [<Optional; DefaultParameterValue(null)>] ?ContoursType: StyleParam.ContourType, - [<Optional; DefaultParameterValue(null)>] ?ShowContoursLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ContoursLabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ContoursStart: float, - [<Optional; DefaultParameterValue(null)>] ?ContoursEnd: float, - [<Optional; DefaultParameterValue(null)>] ?Contours: Contours, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?NContours: int, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?Y: seq<#IConvertible>, + ?MultiY: seq<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 ) = let useDefaults = @@ -4544,8 +4544,8 @@ module Chart2D = /// <param name="ContoursColoring">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.</param> /// <param name="ContoursOperation">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.</param> /// <param name="ContoursType">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.</param> - /// <param name="ShowContourLabels">Determines whether to label the contour lines with their values.</param> - /// <param name="ContourLabelFont">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`.</param> + /// <param name="ShowContoursLabels">Determines whether to label the contour lines with their values.</param> + /// <param name="ContoursLabelFont">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`.</param> /// <param name="ContoursStart">Sets the starting contour level value. Must be less than `contours.end`</param> /// <param name="ContoursEnd">Sets the end contour level value. Must be more than `contours.start`</param> /// <param name="Contours">Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments).</param> @@ -4553,7 +4553,6 @@ module Chart2D = /// <param name="ColorScale">Sets the colorscale for this trace.</param> /// <param name="ShowScale">Whether or not to show the colorscale/colorbar</param> /// <param name="ReverseScale">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.</param> - /// <param name="Contours">Sets the style of the contours</param> /// <param name="NContours">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.</param> /// <param name="UseDefaults">If set to false, ignore the global default settings set in `Defaults`</param> [<Extension>] @@ -4561,40 +4560,40 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?HistFunc: StyleParam.HistFunc, - [<Optional; DefaultParameterValue(null)>] ?HistNorm: StyleParam.HistNorm, - [<Optional; DefaultParameterValue(null)>] ?NBinsX: int, - [<Optional; DefaultParameterValue(null)>] ?NBinsY: int, - [<Optional; DefaultParameterValue(null)>] ?BinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XBinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?YBinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?YBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesSmoothing: float, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ContourLines: Line, - [<Optional; DefaultParameterValue(null)>] ?ShowContourLines: bool, - [<Optional; DefaultParameterValue(null)>] ?ContoursColoring: StyleParam.ContourColoring, - [<Optional; DefaultParameterValue(null)>] ?ContoursOperation: StyleParam.ConstraintOperation, - [<Optional; DefaultParameterValue(null)>] ?ContoursType: StyleParam.ContourType, - [<Optional; DefaultParameterValue(null)>] ?ShowContoursLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ContoursLabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ContoursStart: float, - [<Optional; DefaultParameterValue(null)>] ?ContoursEnd: float, - [<Optional; DefaultParameterValue(null)>] ?Contours: Contours, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?NContours: int, - [<Optional; DefaultParameterValue(true)>] ?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 +4664,26 @@ module Chart2D = static member Heatmap ( zData: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?XGap: int, - [<Optional; DefaultParameterValue(null)>] ?YGap: int, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZSmooth: StyleParam.SmoothAlg, - [<Optional; DefaultParameterValue(null)>] ?Transpose: bool, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(false)>] ?ReverseYAxis: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?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 +4753,22 @@ module Chart2D = zData: seq<#seq<#IConvertible>>, colNames: seq<string>, rowNames: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?XGap: int, - [<Optional; DefaultParameterValue(null)>] ?YGap: int, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZSmooth: StyleParam.SmoothAlg, - [<Optional; DefaultParameterValue(null)>] ?Transpose: bool, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(false)>] ?ReverseYAxis: bool, - [<Optional; DefaultParameterValue(true)>] ?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 +4827,26 @@ module Chart2D = ( zData: seq<#seq<#IConvertible>>, annotationText: seq<#seq<string>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?XGap: int, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?YGap: int, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZSmooth: StyleParam.SmoothAlg, - [<Optional; DefaultParameterValue(null)>] ?Transpose: bool, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(false)>] ?ReverseYAxis: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?XGap: int, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?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 +4931,26 @@ module Chart2D = static member AnnotatedHeatmap ( dataAnnotations: seq<#seq<#IConvertible * string>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?XGap: int, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?YGap: int, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZSmooth: StyleParam.SmoothAlg, - [<Optional; DefaultParameterValue(null)>] ?Transpose: bool, - [<Optional; DefaultParameterValue(false)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(false)>] ?ReverseYAxis: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?XGap: int, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?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 +5001,17 @@ module Chart2D = [<Extension>] static member Image ( - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#seq<#seq<int>>>, - [<Optional; DefaultParameterValue(null)>] ?Source: string, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorModel: StyleParam.ColorModel, - [<Optional; DefaultParameterValue(null)>] ?ZMax: StyleParam.ColorComponentBound, - [<Optional; DefaultParameterValue(null)>] ?ZMin: StyleParam.ColorComponentBound, - [<Optional; DefaultParameterValue(null)>] ?ZSmooth: StyleParam.SmoothAlg, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Z: seq<#seq<#seq<int>>>, + ?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 +5049,14 @@ module Chart2D = static member Image ( z: seq<#seq<ARGB>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ZMax: StyleParam.ColorComponentBound, - [<Optional; DefaultParameterValue(null)>] ?ZMin: StyleParam.ColorComponentBound, - [<Optional; DefaultParameterValue(null)>] ?ZSmooth: StyleParam.SmoothAlg, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?Ids: seq<#IConvertible>, + ?ZMax: StyleParam.ColorComponentBound, + ?ZMin: StyleParam.ColorComponentBound, + ?ZSmooth: StyleParam.SmoothAlg, + ?UseDefaults: bool ) = let useDefaults = @@ -5122,8 +5121,8 @@ module Chart2D = /// <param name="ContoursColoring">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.</param> /// <param name="ContoursOperation">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.</param> /// <param name="ContoursType">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.</param> - /// <param name="ShowContourLabels">Determines whether to label the contour lines with their values.</param> - /// <param name="ContourLabelFont">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`.</param> + /// <param name="ShowContoursLabels">Determines whether to label the contour lines with their values.</param> + /// <param name="ContoursLabelFont">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`.</param> /// <param name="ContoursStart">Sets the starting contour level value. Must be less than `contours.end`</param> /// <param name="ContoursEnd">Sets the end contour level value. Must be more than `contours.start`</param> /// <param name="Contours">Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments).</param> @@ -5134,37 +5133,37 @@ module Chart2D = static member Contour ( zData: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Transpose: bool, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesSmoothing: float, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ContourLines: Line, - [<Optional; DefaultParameterValue(null)>] ?ShowContourLines: bool, - [<Optional; DefaultParameterValue(null)>] ?ContoursColoring: StyleParam.ContourColoring, - [<Optional; DefaultParameterValue(null)>] ?ContoursOperation: StyleParam.ConstraintOperation, - [<Optional; DefaultParameterValue(null)>] ?ContoursType: StyleParam.ContourType, - [<Optional; DefaultParameterValue(null)>] ?ShowContoursLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ContoursLabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ContoursStart: float, - [<Optional; DefaultParameterValue(null)>] ?ContoursEnd: float, - [<Optional; DefaultParameterValue(null)>] ?Contours: Contours, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?NContours: int, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?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 +5254,21 @@ module Chart2D = high: #IConvertible seq, low: #IConvertible seq, close: #IConvertible seq, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?IncreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?DecreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: float, - [<Optional; DefaultParameterValue(true)>] ?ShowXAxisRangeSlider: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?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 +5343,19 @@ module Chart2D = low: #IConvertible seq, close: #IConvertible seq, x: #IConvertible seq, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?IncreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?DecreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: float, - [<Optional; DefaultParameterValue(true)>] ?ShowXAxisRangeSlider: bool, - [<Optional; DefaultParameterValue(true)>] ?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 +5402,19 @@ module Chart2D = static member OHLC ( stockTimeSeries: seq<System.DateTime * StockData>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?IncreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?DecreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: float, - [<Optional; DefaultParameterValue(true)>] ?ShowXAxisRangeSlider: bool, - [<Optional; DefaultParameterValue(true)>] ?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 +5470,21 @@ module Chart2D = high: #IConvertible seq, low: #IConvertible seq, close: #IConvertible seq, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?IncreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?DecreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?WhiskerWidth: float, - [<Optional; DefaultParameterValue(true)>] ?ShowXAxisRangeSlider: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?X: seq<#IConvertible>, + ?MultiX: seq<seq<#IConvertible>>, + ?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 +5559,19 @@ module Chart2D = low: #IConvertible seq, close: #IConvertible seq, x: #IConvertible seq, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?IncreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?DecreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?WhiskerWidth: float, - [<Optional; DefaultParameterValue(true)>] ?ShowXAxisRangeSlider: bool, - [<Optional; DefaultParameterValue(true)>] ?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 +5618,19 @@ module Chart2D = static member Candlestick ( stockTimeSeries: seq<System.DateTime * StockData>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?IncreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?DecreasingColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?WhiskerWidth: float, - [<Optional; DefaultParameterValue(true)>] ?ShowXAxisRangeSlider: bool, - [<Optional; DefaultParameterValue(true)>] ?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 +5683,22 @@ module Chart2D = static member Splom ( dimensions: seq<Dimension>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?ShowDiagonal: bool, - [<Optional; DefaultParameterValue(null)>] ?Diagonal: SplomDiagonal, - [<Optional; DefaultParameterValue(null)>] ?ShowLowerHalf: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowUpperHalf: bool, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.MarkerSymbol>, + ?Marker: Marker, + ?ShowDiagonal: bool, + ?Diagonal: SplomDiagonal, + ?ShowLowerHalf: bool, + ?ShowUpperHalf: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -5763,22 +5762,22 @@ module Chart2D = static member Splom ( keyValues: seq<string * #seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?ShowDiagonal: bool, - [<Optional; DefaultParameterValue(null)>] ?Diagonal: SplomDiagonal, - [<Optional; DefaultParameterValue(null)>] ?ShowLowerHalf: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowUpperHalf: bool, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.MarkerSymbol>, + ?Marker: Marker, + ?ShowDiagonal: bool, + ?Diagonal: SplomDiagonal, + ?ShowLowerHalf: bool, + ?ShowUpperHalf: bool, + ?UseDefaults: bool ) = let dims = @@ -5817,7 +5816,6 @@ module Chart2D = /// <param name="PointMarkerColor">Sets the marker color of the point trace.</param> /// <param name="PointMarkerSymbol">Sets the marker symbol of the point trace.</param> /// <param name="PointMarkerSize">Sets the marker size of the point trace.</param> - /// <param name="ContourLinesDash">Sets the contour line dash style</param> /// <param name="ContourLinesColor">Sets the contour line color</param> /// <param name="ContourLinesSmoothing">Sets the amount of smoothing for the contour lines, where "0" corresponds to no smoothing.</param> @@ -5827,12 +5825,14 @@ module Chart2D = /// <param name="ContoursColoring">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.</param> /// <param name="ContoursOperation">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.</param> /// <param name="ContoursType">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.</param> - /// <param name="ShowContourLabels">Determines whether to label the contour lines with their values.</param> - /// <param name="ContourLabelFont">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`.</param> + /// <param name="ShowContoursLabels">Determines whether to label the contour lines with their values.</param> + /// <param name="ContoursLabelFont">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`.</param> /// <param name="ContoursStart">Sets the starting contour level value. Must be less than `contours.end`</param> /// <param name="ContoursEnd">Sets the end contour level value. Must be more than `contours.start`</param> /// <param name="Contours">Sets the styles of the contours (use this for more finegrained control than the other contour-associated arguments).</param> - + /// <param name="NContours">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.</param> + /// <param name="HistNorm">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).</param> + /// <param name="ContourOpacity">Sets the opacity of the histogram2dcontour trace.</param> /// <param name="ColorBar">Sets the color bar.</param> /// <param name="ColorScale">Sets the colorscale of the histogram2dcontour trace.</param> /// <param name="ShowScale">whether or not to show the colorbar</param> @@ -5842,31 +5842,31 @@ module Chart2D = ( x: seq<#IConvertible>, y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?PointOpacity: float, - [<Optional; DefaultParameterValue(null)>] ?PointMarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?PointMarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?PointMarkerSize: int, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesSmoothing: float, - [<Optional; DefaultParameterValue(null)>] ?ContourLinesWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ContourLines: Line, - [<Optional; DefaultParameterValue(null)>] ?ShowContourLines: bool, - [<Optional; DefaultParameterValue(null)>] ?ContoursColoring: StyleParam.ContourColoring, - [<Optional; DefaultParameterValue(null)>] ?ContoursOperation: StyleParam.ConstraintOperation, - [<Optional; DefaultParameterValue(null)>] ?ContoursType: StyleParam.ContourType, - [<Optional; DefaultParameterValue(null)>] ?ShowContoursLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ContoursLabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ContoursStart: float, - [<Optional; DefaultParameterValue(null)>] ?ContoursEnd: float, - [<Optional; DefaultParameterValue(null)>] ?Contours: Contours, - [<Optional; DefaultParameterValue(null)>] ?NContours: int, - [<Optional; DefaultParameterValue(null)>] ?HistNorm: StyleParam.HistNorm, - [<Optional; DefaultParameterValue(null)>] ?ContourOpacity: float, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?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> - , [<Optional; DefaultParameterValue(null)>] ?Name: string - , [<Optional; DefaultParameterValue(null)>] ?Label: string - , [<Optional; DefaultParameterValue(true)>] ?ShowGrid: bool + , ?Name: string + , ?Label: string + , ?ShowGrid: bool ) = let orderedLabels, orderedValues = keysValues @@ -6010,8 +6010,8 @@ module Chart2D = ( labels: seq<#IConvertible> , values: seq<float> - , [<Optional; DefaultParameterValue(null)>] ?Name: string - , [<Optional; DefaultParameterValue(null)>] ?Label: string - , [<Optional; DefaultParameterValue(true)>] ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Projection: Projection, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Projection: Projection, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Projection: Projection, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Projection: Projection, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Projection: Projection, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Projection: Projection, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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<int>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Projection: Projection, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?Marker: Marker, + ?CameraProjectionType: StyleParam.CameraProjectionType, + ?Camera: Camera, + ?Projection: Projection, + ?UseDefaults: bool ) = let useDefaults = @@ -726,24 +726,24 @@ module Chart3D = ( xyz, sizes, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Projection: Projection, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Projection: Projection, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Contours: Contours, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?I: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?J: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?K: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Contour: Contour, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?FlatShading: bool, - [<Optional; DefaultParameterValue(null)>] ?TriangulationAlgorithm: StyleParam.TriangulationAlgorithm, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?I: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?J: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?K: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Contour: Contour, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?FlatShading: bool, - [<Optional; DefaultParameterValue(null)>] ?TriangulationAlgorithm: StyleParam.TriangulationAlgorithm, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.ConeSizeMode, - [<Optional; DefaultParameterValue(null)>] ?ConeAnchor: StyleParam.ConeAnchor, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.ConeSizeMode, - [<Optional; DefaultParameterValue(null)>] ?ConeAnchor: StyleParam.ConeAnchor, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.ConeSizeMode, - [<Optional; DefaultParameterValue(null)>] ?ConeAnchor: StyleParam.ConeAnchor, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(true)>] ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?MaxDisplayed: int, - [<Optional; DefaultParameterValue(null)>] ?TubeStarts: StreamTubeStarts, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?MaxDisplayed: int, - [<Optional; DefaultParameterValue(null)>] ?TubeStarts: StreamTubeStarts, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?MaxDisplayed: int, - [<Optional; DefaultParameterValue(null)>] ?TubeStarts: StreamTubeStarts, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(true)>] ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?IsoMin: float, - [<Optional; DefaultParameterValue(null)>] ?IsoMax: float, - [<Optional; DefaultParameterValue(null)>] ?Caps: Caps, - [<Optional; DefaultParameterValue(null)>] ?Slices: Slices, - [<Optional; DefaultParameterValue(null)>] ?Surface: Surface, - [<Optional; DefaultParameterValue(null)>] ?OpacityScale: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(true)>] ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?IsoMin: float, - [<Optional; DefaultParameterValue(null)>] ?IsoMax: float, - [<Optional; DefaultParameterValue(null)>] ?Caps: Caps, - [<Optional; DefaultParameterValue(null)>] ?Slices: Slices, - [<Optional; DefaultParameterValue(null)>] ?Surface: Surface, - [<Optional; DefaultParameterValue(null)>] ?CameraProjectionType: StyleParam.CameraProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(true)>] ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?A: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?B: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?AAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?BAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?CheaterSlope: float, - [<Optional; DefaultParameterValue(true)>] ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?Marker: Marker, + ?UseDefaults: bool ) = let useDefaults = @@ -400,21 +400,21 @@ module ChartCarpet = ( ab: seq<#IConvertible * #IConvertible>, carpetAnchorId: string, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?Marker: Marker, + ?UseDefaults: bool ) = let a, b = Seq.unzip ab @@ -477,27 +477,27 @@ module ChartCarpet = a: seq<#IConvertible>, b: seq<#IConvertible>, carpetAnchorId: string, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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<int>, carpetAnchorId: string, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?A: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?B: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Transpose: bool, - [<Optional; DefaultParameterValue(null)>] ?ContourLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ContourLineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?ContourLineSmoothing: float, - [<Optional; DefaultParameterValue(null)>] ?ContourLine: Line, - [<Optional; DefaultParameterValue(null)>] ?ContoursColoring: StyleParam.ContourColoring, - [<Optional; DefaultParameterValue(null)>] ?ContoursOperation: StyleParam.ConstraintOperation, - [<Optional; DefaultParameterValue(null)>] ?ContoursType: StyleParam.ContourType, - [<Optional; DefaultParameterValue(null)>] ?ShowContourLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ContourLabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Contours: Contours, - [<Optional; DefaultParameterValue(true)>] ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Transpose: bool, - [<Optional; DefaultParameterValue(null)>] ?ContourLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ContourLineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?ContourLineSmoothing: float, - [<Optional; DefaultParameterValue(null)>] ?ContourLine: Line, - [<Optional; DefaultParameterValue(null)>] ?ContoursColoring: StyleParam.ContourColoring, - [<Optional; DefaultParameterValue(null)>] ?ContoursOperation: StyleParam.ConstraintOperation, - [<Optional; DefaultParameterValue(null)>] ?ContoursType: StyleParam.ContourType, - [<Optional; DefaultParameterValue(null)>] ?ShowContourLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ContourLabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Contours: Contours, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Labels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Pull: float, - [<Optional; DefaultParameterValue(null)>] ?MultiPull: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?Direction: StyleParam.Direction, - [<Optional; DefaultParameterValue(null)>] ?Hole: float, - [<Optional; DefaultParameterValue(null)>] ?Rotation: float, - [<Optional; DefaultParameterValue(null)>] ?Sort: bool, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Labels: seq<#IConvertible>, + ?Pull: float, + ?MultiPull: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?SectionColors: seq<Color>, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Pull: float, - [<Optional; DefaultParameterValue(null)>] ?MultiPull: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?Direction: StyleParam.Direction, - [<Optional; DefaultParameterValue(null)>] ?Hole: float, - [<Optional; DefaultParameterValue(null)>] ?Rotation: float, - [<Optional; DefaultParameterValue(null)>] ?Sort: bool, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Pull: float, + ?MultiPull: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?SectionColors: seq<Color>, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Hole: float, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Labels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Pull: float, - [<Optional; DefaultParameterValue(null)>] ?MultiPull: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?Direction: StyleParam.Direction, - [<Optional; DefaultParameterValue(null)>] ?Rotation: float, - [<Optional; DefaultParameterValue(null)>] ?Sort: bool, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Name: string, + ?Hole: float, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Labels: seq<#IConvertible>, + ?Pull: float, + ?MultiPull: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?SectionColors: seq<Color>, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Hole: float, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Pull: float, - [<Optional; DefaultParameterValue(null)>] ?MultiPull: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?Direction: StyleParam.Direction, - [<Optional; DefaultParameterValue(null)>] ?Rotation: float, - [<Optional; DefaultParameterValue(null)>] ?Sort: bool, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Hole: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Pull: float, + ?MultiPull: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?SectionColors: seq<Color>, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Labels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?AspectRatio: float, - [<Optional; DefaultParameterValue(null)>] ?BaseRatio: float, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Labels: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?SectionColors: seq<Color>, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?AspectRatio: float, - [<Optional; DefaultParameterValue(null)>] ?BaseRatio: float, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?SectionColors: seq<Color>, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?BranchValues: StyleParam.BranchValues, - [<Optional; DefaultParameterValue(null)>] ?Count: string, - [<Optional; DefaultParameterValue(null)>] ?Root: SunburstRoot, - [<Optional; DefaultParameterValue(null)>] ?Leaf: SunburstLeaf, - [<Optional; DefaultParameterValue(null)>] ?Level: string, - [<Optional; DefaultParameterValue(null)>] ?MaxDepth: int, - [<Optional; DefaultParameterValue(null)>] ?Rotation: int, - [<Optional; DefaultParameterValue(null)>] ?Sort: bool, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?SectionColors: seq<Color>, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?BranchValues: StyleParam.BranchValues, - [<Optional; DefaultParameterValue(null)>] ?Count: string, - [<Optional; DefaultParameterValue(null)>] ?Root: SunburstRoot, - [<Optional; DefaultParameterValue(null)>] ?Leaf: SunburstLeaf, - [<Optional; DefaultParameterValue(null)>] ?Level: string, - [<Optional; DefaultParameterValue(null)>] ?MaxDepth: int, - [<Optional; DefaultParameterValue(null)>] ?Rotation: int, - [<Optional; DefaultParameterValue(null)>] ?Sort: bool, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?SectionColors: seq<Color>, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?BranchValues: StyleParam.BranchValues, - [<Optional; DefaultParameterValue(null)>] ?Count: string, - [<Optional; DefaultParameterValue(null)>] ?Tiling: TreemapTiling, - [<Optional; DefaultParameterValue(null)>] ?PathBar: Pathbar, - [<Optional; DefaultParameterValue(null)>] ?Root: TreemapRoot, - [<Optional; DefaultParameterValue(null)>] ?Level: string, - [<Optional; DefaultParameterValue(null)>] ?MaxDepth: int, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?SectionColors: seq<Color>, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?BranchValues: StyleParam.BranchValues, - [<Optional; DefaultParameterValue(null)>] ?Count: string, - [<Optional; DefaultParameterValue(null)>] ?Tiling: TreemapTiling, - [<Optional; DefaultParameterValue(null)>] ?PathBar: Pathbar, - [<Optional; DefaultParameterValue(null)>] ?Root: TreemapRoot, - [<Optional; DefaultParameterValue(null)>] ?Level: string, - [<Optional; DefaultParameterValue(null)>] ?MaxDepth: int, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?SectionColors: seq<Color>, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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<Dimension>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowLineColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseLineColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?LabelAngle: int, - [<Optional; DefaultParameterValue(null)>] ?LabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?LabelSide: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?RangeFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?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<string * #seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowLineColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseLineColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?LabelAngle: int, - [<Optional; DefaultParameterValue(null)>] ?LabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?LabelSide: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?RangeFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?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<Dimension>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Counts: int, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineShape: StyleParam.Shape, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowLineColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseLineColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Arrangement: StyleParam.CategoryArrangement, - [<Optional; DefaultParameterValue(null)>] ?BundleColors: bool, - [<Optional; DefaultParameterValue(null)>] ?SortPaths: StyleParam.SortAlgorithm, - [<Optional; DefaultParameterValue(null)>] ?LabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?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<string * #seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Counts: int, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineShape: StyleParam.Shape, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowLineColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseLineColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Arrangement: StyleParam.CategoryArrangement, - [<Optional; DefaultParameterValue(null)>] ?BundleColors: bool, - [<Optional; DefaultParameterValue(null)>] ?SortPaths: StyleParam.SortAlgorithm, - [<Optional; DefaultParameterValue(null)>] ?LabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Arrangement: StyleParam.CategoryArrangement, - [<Optional; DefaultParameterValue(null)>] ?ValueFormat: string, - [<Optional; DefaultParameterValue(null)>] ?ValueSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?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<string>, linkedNodeIds: seq<int * int>, linkValues: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?NodeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?NodeOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?NodeOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?NodeThickness: int, - [<Optional; DefaultParameterValue(null)>] ?NodeGroups: seq<#seq<int>>, - [<Optional; DefaultParameterValue(null)>] ?LinkColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LinkColorScales: seq<StyleParam.Colorscale>, - [<Optional; DefaultParameterValue(null)>] ?LinkOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LinkOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LinkLabels: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Arrangement: StyleParam.CategoryArrangement, - [<Optional; DefaultParameterValue(null)>] ?ValueFormat: string, - [<Optional; DefaultParameterValue(null)>] ?ValueSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?NodeColor: Color, + ?NodeOutlineColor: Color, + ?NodeOutlineWidth: float, + ?NodeThickness: int, + ?NodeGroups: seq<#seq<int>>, + ?LinkColor: Color, + ?LinkColorScales: seq<StyleParam.Colorscale>, + ?LinkOutlineColor: Color, + ?LinkOutlineWidth: float, + ?LinkLabels: seq<string>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ColumnOrder: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?ColumnWidth: float, - [<Optional; DefaultParameterValue(null)>] ?MultiColumnWidth: seq<float>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ColumnOrder: seq<int>, + ?ColumnWidth: float, + ?MultiColumnWidth: seq<float>, + ?UseDefaults: bool ) = let useDefaults = @@ -1594,28 +1594,28 @@ module ChartDomain = ( headerValues: seq<#seq<#IConvertible>>, cellsValues: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(true)>] ?TransposeCells: bool, - [<Optional; DefaultParameterValue(null)>] ?HeaderAlign: StyleParam.HorizontalAlign, - [<Optional; DefaultParameterValue(null)>] ?HeaderMultiAlign: seq<StyleParam.HorizontalAlign>, - [<Optional; DefaultParameterValue(null)>] ?HeaderFillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HeaderHeight: int, - [<Optional; DefaultParameterValue(null)>] ?HeaderOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HeaderOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?HeaderOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?HeaderOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?CellsAlign: StyleParam.HorizontalAlign, - [<Optional; DefaultParameterValue(null)>] ?CellsMultiAlign: seq<StyleParam.HorizontalAlign>, - [<Optional; DefaultParameterValue(null)>] ?CellsFillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?CellsHeight: int, - [<Optional; DefaultParameterValue(null)>] ?CellsOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?CellsOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?CellsOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?CellsOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ColumnOrder: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?ColumnWidth: float, - [<Optional; DefaultParameterValue(null)>] ?MultiColumnWidth: seq<float>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?TransposeCells: bool, + ?HeaderAlign: StyleParam.HorizontalAlign, + ?HeaderMultiAlign: seq<StyleParam.HorizontalAlign>, + ?HeaderFillColor: Color, + ?HeaderHeight: int, + ?HeaderOutlineColor: Color, + ?HeaderOutlineWidth: float, + ?HeaderOutlineMultiWidth: seq<float>, + ?HeaderOutline: Line, + ?CellsAlign: StyleParam.HorizontalAlign, + ?CellsMultiAlign: seq<StyleParam.HorizontalAlign>, + ?CellsFillColor: Color, + ?CellsHeight: int, + ?CellsOutlineColor: Color, + ?CellsOutlineWidth: float, + ?CellsOutlineMultiWidth: seq<float>, + ?CellsOutline: Line, + ?Name: string, + ?ColumnOrder: seq<int>, + ?ColumnWidth: float, + ?MultiColumnWidth: seq<float>, + ?UseDefaults: bool ) = let useDefaults = @@ -1712,19 +1712,19 @@ module ChartDomain = ( value: IConvertible, mode: StyleParam.IndicatorMode, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Title: string, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Align: StyleParam.IndicatorAlignment, - [<Optional; DefaultParameterValue(null)>] ?DeltaReference: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Delta: IndicatorDelta, - [<Optional; DefaultParameterValue(null)>] ?Number: IndicatorNumber, - [<Optional; DefaultParameterValue(null)>] ?GaugeShape: StyleParam.IndicatorGaugeShape, - [<Optional; DefaultParameterValue(null)>] ?Gauge: IndicatorGauge, - [<Optional; DefaultParameterValue(null)>] ?ShowGaugeAxis: bool, - [<Optional; DefaultParameterValue(null)>] ?GaugeAxis: LinearAxis, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?BranchValues: StyleParam.BranchValues, - [<Optional; DefaultParameterValue(null)>] ?Count: StyleParam.IcicleCount, - [<Optional; DefaultParameterValue(null)>] ?TilingOrientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?TilingFlip: StyleParam.TilingFlip, - [<Optional; DefaultParameterValue(null)>] ?Tiling: IcicleTiling, - [<Optional; DefaultParameterValue(null)>] ?PathBarEdgeShape: StyleParam.PathbarEdgeShape, - [<Optional; DefaultParameterValue(null)>] ?PathBar: Pathbar, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?Root: IcicleRoot, - [<Optional; DefaultParameterValue(null)>] ?Level: string, - [<Optional; DefaultParameterValue(null)>] ?MaxDepth: int, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?SectionColors: seq<Color>, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?SectionColors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?SectionColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseSectionColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SectionOutlineMultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?SectionOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?BranchValues: StyleParam.BranchValues, - [<Optional; DefaultParameterValue(null)>] ?Count: StyleParam.IcicleCount, - [<Optional; DefaultParameterValue(null)>] ?TilingOrientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?TilingFlip: StyleParam.TilingFlip, - [<Optional; DefaultParameterValue(null)>] ?Tiling: IcicleTiling, - [<Optional; DefaultParameterValue(null)>] ?PathBarEdgeShape: StyleParam.PathbarEdgeShape, - [<Optional; DefaultParameterValue(null)>] ?PathBar: Pathbar, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?Root: IcicleRoot, - [<Optional; DefaultParameterValue(null)>] ?Level: string, - [<Optional; DefaultParameterValue(null)>] ?MaxDepth: int, - [<Optional; DefaultParameterValue(null)>] ?UseDefaults: bool + ?Values: seq<#IConvertible>, + ?Ids: seq<#IConvertible>, + ?Name: string, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?SectionColors: seq<Color>, + ?SectionColorScale: StyleParam.Colorscale, + ?ShowSectionColorScale: bool, + ?ReverseSectionColorScale: bool, + ?SectionOutlineColor: Color, + ?SectionOutlineWidth: float, + ?SectionOutlineMultiWidth: seq<float>, + ?SectionOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(true)>] ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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<string>, mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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<string>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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<string>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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<int>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?Marker: Marker, + ?LocationMode: StyleParam.LocationFormat, + ?GeoJson: obj, + ?FeatureIdKey: string, + ?UseDefaults: bool ) = let longitudes, latitudes, sizes = @@ -1104,24 +1104,24 @@ module ChartMap = ( locations: seq<string>, sizes: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?MapboxStyle: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(true)>] ?EnableClustering: bool, - [<Optional; DefaultParameterValue(true)>] ?Cluster: MapboxCluster, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?MapboxStyle: StyleParam.MapboxStyle, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxStyle: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(true)>] ?EnableClustering: bool, - [<Optional; DefaultParameterValue(true)>] ?Cluster: MapboxCluster, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxStyle: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(true)>] ?EnableClustering: bool, - [<Optional; DefaultParameterValue(true)>] ?Cluster: MapboxCluster, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxStyle: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(true)>] ?EnableClustering: bool, - [<Optional; DefaultParameterValue(true)>] ?Cluster: MapboxCluster, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxStyle: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxStyle: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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<int>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxStyle: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?Marker: Marker, + ?Below: string, + ?UseDefaults: bool ) = let changeMode = @@ -1851,23 +1851,23 @@ module ChartMap = static member BubbleMapbox ( lonlatsizes: seq<#IConvertible * #IConvertible * int>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxStyle: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?MapboxStyle: StyleParam.MapboxStyle, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?Marker: Marker, + ?Below: string, + ?UseDefaults: bool ) = let longitudes, latitudes, sizes = @@ -1928,18 +1928,18 @@ module ChartMap = locations: seq<string>, z: seq<#IConvertible>, geoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxStyle: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(true)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxStyle: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Radius: int, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(null)>] ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxStyle: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Radius: int, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(null)>] ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?Marker: Marker, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -328,22 +328,22 @@ module ChartPolar = static member PointPolar ( rTheta: seq<#IConvertible * #IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?Marker: Marker, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let r, t = Seq.unzip rTheta @@ -404,28 +404,28 @@ module ChartPolar = ( r: seq<#IConvertible>, theta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Smoothing: float, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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<int>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?Marker: Marker, + ?UseWebGL: bool, + ?UseDefaults: bool ) = let useDefaults = @@ -885,22 +885,22 @@ module ChartPolar = static member BubblePolar ( rThetaSizes: seq<#IConvertible * #IConvertible * int>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?UseWebGL: bool, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol3D, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol3D>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerPatternShape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?MarkerPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerPatternShape: StyleParam.PatternShape, + ?MultiMarkerPatternShape: seq<StyleParam.PatternShape>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?Marker: Marker, + ?UseDefaults: bool ) = let real, imag = Seq.unzip realImag @@ -379,29 +379,29 @@ module ChartSmith = ( real: seq<#IConvertible>, imag: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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<int>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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 = /// <param name="UseDefaults">If set to false, ignore the global default settings set in `Defaults`</param> static member ScatterTernary ( - [<Optional; DefaultParameterValue(null)>] ?A: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?B: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?C: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Sum: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?C: seq<#IConvertible>, + ?Sum: #IConvertible, + ?Mode: StyleParam.Mode, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Mode: StyleParam.Mode, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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 = /// <param name="UseDefaults">If set to false, ignore the global default settings set in `Defaults`</param> static member PointTernary ( - [<Optional; DefaultParameterValue(null)>] ?A: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?B: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?C: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Sum: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?C: seq<#IConvertible>, + ?Sum: #IConvertible, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?Marker: Marker, + ?UseDefaults: bool ) = let changeMode = @@ -304,21 +304,21 @@ module ChartTernary = static member PointTernary ( abc: seq<#IConvertible * #IConvertible * #IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?Marker: Marker, + ?UseDefaults: bool ) = let a, b, c = Seq.unzip3 abc @@ -377,31 +377,31 @@ module ChartTernary = /// <param name="UseDefaults">If set to false, ignore the global default settings set in `Defaults`</param> static member LineTernary ( - [<Optional; DefaultParameterValue(null)>] ?A: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?B: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?C: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Sum: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?C: seq<#IConvertible>, + ?Sum: #IConvertible, + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?ShowMarkers: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?ShowMarkers: bool, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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<int>, - [<Optional; DefaultParameterValue(null)>] ?A: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?B: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?C: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Sum: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?A: seq<#IConvertible>, + ?B: seq<#IConvertible>, + ?C: seq<#IConvertible>, + ?Sum: #IConvertible, + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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>, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?MarkerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MarkerColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?MarkerOutline: Line, - [<Optional; DefaultParameterValue(null)>] ?MarkerSymbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(true)>] ?UseDefaults: bool + ?Name: string, + ?ShowLegend: bool, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?MarkerColor: Color, + ?MarkerColorScale: StyleParam.Colorscale, + ?MarkerOutline: Line, + ?MarkerSymbol: StyleParam.MarkerSymbol, + ?MultiMarkerSymbol: seq<StyleParam.MarkerSymbol>, + ?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/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. /// </summary> /// <param name="useDefaults">wether or not to set default objects for Layout, Config and DisplayOptions</param> - /// <param name="traces">the input Trace collection</param> + /// <param name="trace">the input Trace</param> static member ofTraceObject (useDefaults: bool) (trace: Trace) = GenericChart.ofTraceObjects useDefaults (Seq.singleton trace) /// <summary> 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() = /// <param name="MinAllowed">Use this value exactly as autorange minimum.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?ClipMax: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ClipMin: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Include: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MaxAllowed: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MinAllowed: #IConvertible + ?ClipMax: #IConvertible, + ?ClipMin: #IConvertible, + ?Include: #IConvertible, + ?MaxAllowed: #IConvertible, + ?MinAllowed: #IConvertible ) = AutoRangeOptions() |> AutoRangeOptions.style ( @@ -43,11 +43,11 @@ type AutoRangeOptions() = /// <param name="MinAllowed">Use this value exactly as autorange minimum.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?ClipMax: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ClipMin: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Include: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MaxAllowed: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?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..d4ccffb3a 100644 --- a/src/Plotly.NET/CommonAbstractions/ColorBar.fs +++ b/src/Plotly.NET/CommonAbstractions/ColorBar.fs @@ -59,52 +59,52 @@ type ColorBar() = /// <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> static member init ( - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: float, - [<Optional; DefaultParameterValue(null)>] ?DTick: IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Len: float, - [<Optional; DefaultParameterValue(null)>] ?LenMode: StyleParam.UnitMode, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?OutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?ThicknessMode: StyleParam.UnitMode, - [<Optional; DefaultParameterValue(null)>] ?Tick0: IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [<Optional; DefaultParameterValue(null)>] ?TickLabelPosition: StyleParam.TickLabelPosition, - [<Optional; DefaultParameterValue(null)>] ?TickLabelStep: int, - [<Optional; DefaultParameterValue(null)>] ?TickLen: float, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.HorizontalAlign, - [<Optional; DefaultParameterValue(null)>] ?XPad: float, - [<Optional; DefaultParameterValue(null)>] ?XRef: string, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.VerticalAlign, - [<Optional; DefaultParameterValue(null)>] ?YPad: float, - [<Optional; DefaultParameterValue(null)>] ?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<TickFormatStop>, + ?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 ( @@ -200,57 +200,59 @@ type ColorBar() = /// <param name="X">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*.</param> /// <param name="XAnchor">'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*.</param> /// <param name="XPad">Sets the amount of padding (in px) along the x direction.</param> + /// <param name="XRef">Sets the container `x` refers to. "container" spans the entire `width` of the plot. "paper" refers to the width of the plotting area only.</param> /// <param name="Y">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*.'</param> /// <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.Defaults to *middle* when `orientation` is *v* and *bottom* when `orientation` is *h*.'</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> static member style ( - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: float, - [<Optional; DefaultParameterValue(null)>] ?DTick: IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Len: float, - [<Optional; DefaultParameterValue(null)>] ?LenMode: StyleParam.UnitMode, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?OutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?ThicknessMode: StyleParam.UnitMode, - [<Optional; DefaultParameterValue(null)>] ?Tick0: IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [<Optional; DefaultParameterValue(null)>] ?TickLabelPosition: StyleParam.TickLabelPosition, - [<Optional; DefaultParameterValue(null)>] ?TickLabelStep: int, - [<Optional; DefaultParameterValue(null)>] ?TickLen: float, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.HorizontalAlign, - [<Optional; DefaultParameterValue(null)>] ?XPad: float, - [<Optional; DefaultParameterValue(null)>] ?XRef: string, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.VerticalAlign, - [<Optional; DefaultParameterValue(null)>] ?YPad: float, - [<Optional; DefaultParameterValue(null)>] ?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<TickFormatStop>, + ?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/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/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 ( - [<Optional; DefaultParameterValue(null)>] ?Family: StyleParam.FontFamily, - [<Optional; DefaultParameterValue(null)>] ?Size: float, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Family: StyleParam.FontFamily, - [<Optional; DefaultParameterValue(null)>] ?Size: float, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="OutlierWidth">Sets the width of the outline of outliers</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?BackOff: StyleParam.BackOff, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?Dash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Shape: StyleParam.Shape, - [<Optional; DefaultParameterValue(null)>] ?Simplify: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?OutlierColor: Color, - [<Optional; DefaultParameterValue(null)>] ?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<float>, + ?OutlierColor: Color, + ?OutlierWidth: float ) = Line() |> Line.style ( @@ -103,26 +103,26 @@ type Line() = /// <param name="OutlierWidth">Sets the width of the outline of outliers</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?BackOff: StyleParam.BackOff, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?Dash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Shape: StyleParam.Shape, - [<Optional; DefaultParameterValue(null)>] ?Simplify: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?OutlierColor: Color, - [<Optional; DefaultParameterValue(null)>] ?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<float>, + ?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() = /// <param name="T">The amount of padding (in px) along the top of the component</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?B: int, - [<Optional; DefaultParameterValue(null)>] ?L: int, - [<Optional; DefaultParameterValue(null)>] ?R: int, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="T">The amount of padding (in px) along the top of the component</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?B: int, - [<Optional; DefaultParameterValue(null)>] ?L: int, - [<Optional; DefaultParameterValue(null)>] ?R: int, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Enabled: bool, - [<Optional; DefaultParameterValue(null)>] ?DTickRange: seq<string * string>, - [<Optional; DefaultParameterValue(null)>] ?Value: string, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string + ?Enabled: bool, + ?DTickRange: seq<string * string>, + ?Value: string, + ?Name: string, + ?TemplateItemName: string ) = TickFormatStop() |> TickFormatStop.style ( @@ -27,11 +27,11 @@ type TickFormatStop() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Enabled: bool, - [<Optional; DefaultParameterValue(null)>] ?DTickRange: seq<string * string>, - [<Optional; DefaultParameterValue(null)>] ?Value: string, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string + ?Enabled: bool, + ?DTickRange: seq<string * string>, + ?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() = /// <param name="Side">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.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Text: string, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?AutoMargin: bool, - [<Optional; DefaultParameterValue(null)>] ?Pad: Padding, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?XRef: string, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?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 - [<Optional; DefaultParameterValue(null)>] ?Standoff: int, + ?Standoff: int, // For colorbar titles - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Side + ?Side: StyleParam.Side ) = Title() |> Title.style ( @@ -72,20 +72,20 @@ type Title() = /// <param name="Side">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.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Text: string, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?AutoMargin: bool, - [<Optional; DefaultParameterValue(null)>] ?Pad: Padding, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?XRef: string, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?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 - [<Optional; DefaultParameterValue(null)>] ?Standoff: int, + ?Standoff: int, // For colorbar titles - [<Optional; DefaultParameterValue(null)>] ?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() = /// </param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?StaticPlot: bool, - [<Optional; DefaultParameterValue(null)>] ?TypesetMath: bool, - [<Optional; DefaultParameterValue(null)>] ?PlotlyServerUrl: string, - [<Optional; DefaultParameterValue(null)>] ?Editable: bool, - [<Optional; DefaultParameterValue(null)>] ?Edits: Edits, - [<Optional; DefaultParameterValue(null)>] ?EditSelection: bool, - [<Optional; DefaultParameterValue(null)>] ?Autosizable: bool, - [<Optional; DefaultParameterValue(null)>] ?Responsive: bool, - [<Optional; DefaultParameterValue(null)>] ?FillFrame: bool, - [<Optional; DefaultParameterValue(null)>] ?FrameMargins: float, - [<Optional; DefaultParameterValue(null)>] ?ScrollZoom: StyleParam.ScrollZoom, - [<Optional; DefaultParameterValue(null)>] ?DoubleClick: StyleParam.DoubleClick, - [<Optional; DefaultParameterValue(null)>] ?DoubleClickDelay: int, - [<Optional; DefaultParameterValue(null)>] ?ShowAxisDragHandles: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowAxisRangeEntryBoxes: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTips: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowLink: bool, - [<Optional; DefaultParameterValue(null)>] ?LinkText: string, - [<Optional; DefaultParameterValue(null)>] ?SendData: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowSources: obj, - [<Optional; DefaultParameterValue(null)>] ?DisplayModeBar: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowSendToCloud: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowEditInChartStudio: bool, - [<Optional; DefaultParameterValue(null)>] ?ModeBarButtonsToRemove: seq<StyleParam.ModeBarButton>, - [<Optional; DefaultParameterValue(null)>] ?ModeBarButtonsToAdd: seq<StyleParam.ModeBarButton>, - [<Optional; DefaultParameterValue(null)>] ?ModeBarButtons: seq<seq<StyleParam.ModeBarButton>>, - [<Optional; DefaultParameterValue(null)>] ?ToImageButtonOptions: ToImageButtonOptions, - [<Optional; DefaultParameterValue(null)>] ?Displaylogo: bool, - [<Optional; DefaultParameterValue(null)>] ?Watermark: bool, - [<Optional; DefaultParameterValue(null)>] ?plotGlPixelRatio: float, - [<Optional; DefaultParameterValue(null)>] ?SetBackground: obj, - [<Optional; DefaultParameterValue(null)>] ?TopojsonURL: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxAccessToken: string, - [<Optional; DefaultParameterValue(null)>] ?Logging: int, - [<Optional; DefaultParameterValue(null)>] ?NotifyOnLogging: int, - [<Optional; DefaultParameterValue(null)>] ?QueueLength: int, - [<Optional; DefaultParameterValue(null)>] ?GlobalTransforms: obj, - [<Optional; DefaultParameterValue(null)>] ?Locale: string, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.ModeBarButton>, + ?ModeBarButtonsToAdd: seq<StyleParam.ModeBarButton>, + ?ModeBarButtons: seq<seq<StyleParam.ModeBarButton>>, + ?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() = /// </param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?StaticPlot: bool, - [<Optional; DefaultParameterValue(null)>] ?TypesetMath: bool, - [<Optional; DefaultParameterValue(null)>] ?PlotlyServerUrl: string, - [<Optional; DefaultParameterValue(null)>] ?Editable: bool, - [<Optional; DefaultParameterValue(null)>] ?Edits: Edits, - [<Optional; DefaultParameterValue(null)>] ?EditSelection: bool, - [<Optional; DefaultParameterValue(null)>] ?Autosizable: bool, - [<Optional; DefaultParameterValue(null)>] ?Responsive: bool, - [<Optional; DefaultParameterValue(null)>] ?FillFrame: bool, - [<Optional; DefaultParameterValue(null)>] ?FrameMargins: float, - [<Optional; DefaultParameterValue(null)>] ?ScrollZoom: StyleParam.ScrollZoom, - [<Optional; DefaultParameterValue(null)>] ?DoubleClick: StyleParam.DoubleClick, - [<Optional; DefaultParameterValue(null)>] ?DoubleClickDelay: int, - [<Optional; DefaultParameterValue(null)>] ?ShowAxisDragHandles: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowAxisRangeEntryBoxes: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTips: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowLink: bool, - [<Optional; DefaultParameterValue(null)>] ?LinkText: string, - [<Optional; DefaultParameterValue(null)>] ?SendData: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowSources: obj, - [<Optional; DefaultParameterValue(null)>] ?DisplayModeBar: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowSendToCloud: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowEditInChartStudio: bool, - [<Optional; DefaultParameterValue(null)>] ?ModeBarButtonsToRemove: seq<StyleParam.ModeBarButton>, - [<Optional; DefaultParameterValue(null)>] ?ModeBarButtonsToAdd: seq<StyleParam.ModeBarButton>, - [<Optional; DefaultParameterValue(null)>] ?ModeBarButtons: seq<seq<StyleParam.ModeBarButton>>, - [<Optional; DefaultParameterValue(null)>] ?ToImageButtonOptions: ToImageButtonOptions, - [<Optional; DefaultParameterValue(null)>] ?Displaylogo: bool, - [<Optional; DefaultParameterValue(null)>] ?Watermark: bool, - [<Optional; DefaultParameterValue(null)>] ?plotGlPixelRatio: float, - [<Optional; DefaultParameterValue(null)>] ?SetBackground: obj, - [<Optional; DefaultParameterValue(null)>] ?TopojsonURL: string, - [<Optional; DefaultParameterValue(null)>] ?MapboxAccessToken: string, - [<Optional; DefaultParameterValue(null)>] ?Logging: int, - [<Optional; DefaultParameterValue(null)>] ?NotifyOnLogging: int, - [<Optional; DefaultParameterValue(null)>] ?QueueLength: int, - [<Optional; DefaultParameterValue(null)>] ?GlobalTransforms: obj, - [<Optional; DefaultParameterValue(null)>] ?Locale: string, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.ModeBarButton>, + ?ModeBarButtonsToAdd: seq<StyleParam.ModeBarButton>, + ?ModeBarButtons: seq<seq<StyleParam.ModeBarButton>>, + ?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() = /// <param name="TitleText">Enables editing the global layout title.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?AnnotationPosition: bool, - [<Optional; DefaultParameterValue(null)>] ?AnnotationTail: bool, - [<Optional; DefaultParameterValue(null)>] ?AnnotationText: bool, - [<Optional; DefaultParameterValue(null)>] ?AxisTitleText: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorbarPosition: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorbarTitleText: bool, - [<Optional; DefaultParameterValue(null)>] ?LegendPosition: bool, - [<Optional; DefaultParameterValue(null)>] ?LegendText: bool, - [<Optional; DefaultParameterValue(null)>] ?ShapePosition: bool, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="TitleText">Enables editing the global layout title.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?AnnotationPosition: bool, - [<Optional; DefaultParameterValue(null)>] ?AnnotationTail: bool, - [<Optional; DefaultParameterValue(null)>] ?AnnotationText: bool, - [<Optional; DefaultParameterValue(null)>] ?AxisTitleText: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorbarPosition: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorbarTitleText: bool, - [<Optional; DefaultParameterValue(null)>] ?LegendPosition: bool, - [<Optional; DefaultParameterValue(null)>] ?LegendText: bool, - [<Optional; DefaultParameterValue(null)>] ?ShapePosition: bool, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Format: StyleParam.ImageFormat, - [<Optional; DefaultParameterValue(null)>] ?Filename: string, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?Height: float, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Format, - [<Optional; DefaultParameterValue(null)>] ?Filename, - [<Optional; DefaultParameterValue(null)>] ?Width, - [<Optional; DefaultParameterValue(null)>] ?Height, - [<Optional; DefaultParameterValue(null)>] ?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..c1a04ffe4 100644 --- a/src/Plotly.NET/DisplayOptions/DisplayOptions.fs +++ b/src/Plotly.NET/DisplayOptions/DisplayOptions.fs @@ -22,18 +22,22 @@ type DisplayOptions() = /// <summary> /// Returns a new DisplayOptions object with the given styles /// </summary> + /// <param name="DocumentTitle">The title metadata for the document</param> + /// <param name="DocumentCharset">The document charset</param> + /// <param name="DocumentDescription">The description metadata for the document</param> + /// <param name="DocumentFavicon">base64 encoded favicon image</param> /// <param name="AdditionalHeadTags">Additional tags that will be included in the document's head </param> - /// <param name="Description">HTML tags that appear below the chart in HTML docs</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> static member init ( - [<Optional; DefaultParameterValue(null)>] ?DocumentTitle: string, - [<Optional; DefaultParameterValue(null)>] ?DocumentCharset: string, - [<Optional; DefaultParameterValue(null)>] ?DocumentDescription: string, - [<Optional; DefaultParameterValue(null)>] ?DocumentFavicon: XmlNode, - [<Optional; DefaultParameterValue(null)>] ?AdditionalHeadTags: XmlNode list, - [<Optional; DefaultParameterValue(null)>] ?ChartDescription: XmlNode list, - [<Optional; DefaultParameterValue(null)>] ?PlotlyJSReference: PlotlyJSReference + ?DocumentTitle: string, + ?DocumentCharset: string, + ?DocumentDescription: string, + ?DocumentFavicon: XmlNode, + ?AdditionalHeadTags: XmlNode list, + ?ChartDescription: XmlNode list, + ?PlotlyJSReference: PlotlyJSReference ) = DisplayOptions() |> DisplayOptions.style ( @@ -49,18 +53,22 @@ type DisplayOptions() = /// <summary> /// Returns a function sthat applies the given styles to a DisplayOptions object /// </summary> + /// <param name="DocumentTitle">The title metadata for the document</param> + /// <param name="DocumentCharset">The document charset</param> + /// <param name="DocumentDescription">The description metadata for the document</param> + /// <param name="DocumentFavicon">base64 encoded favicon image</param> /// <param name="AdditionalHeadTags">Additional tags that will be included in the document's head </param> - /// <param name="Description">HTML tags that appear below the chart in HTML docs</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> static member style ( - [<Optional; DefaultParameterValue(null)>] ?DocumentTitle: string, - [<Optional; DefaultParameterValue(null)>] ?DocumentCharset: string, - [<Optional; DefaultParameterValue(null)>] ?DocumentDescription: string, - [<Optional; DefaultParameterValue(null)>] ?DocumentFavicon: XmlNode, - [<Optional; DefaultParameterValue(null)>] ?AdditionalHeadTags: XmlNode list, - [<Optional; DefaultParameterValue(null)>] ?ChartDescription: XmlNode list, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="UpdateMenus">A collection containing all UpdateMenus of this layout. </param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Margin: Margin, - [<Optional; DefaultParameterValue(null)>] ?AutoSize: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: int, - [<Optional; DefaultParameterValue(null)>] ?Height: int, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?UniformText: UniformText, - [<Optional; DefaultParameterValue(null)>] ?Separators: string, - [<Optional; DefaultParameterValue(null)>] ?PaperBGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?PlotBGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: DefaultColorScales, - [<Optional; DefaultParameterValue(null)>] ?Colorway: Color, - [<Optional; DefaultParameterValue(null)>] ?ModeBar: ModeBar, - [<Optional; DefaultParameterValue(null)>] ?HoverMode: StyleParam.HoverMode, - [<Optional; DefaultParameterValue(null)>] ?ClickMode: StyleParam.ClickMode, - [<Optional; DefaultParameterValue(null)>] ?DragMode: StyleParam.DragMode, - [<Optional; DefaultParameterValue(null)>] ?SelectDirection: StyleParam.SelectDirection, - [<Optional; DefaultParameterValue(null)>] ?ActiveSelection: ActiveSelection, - [<Optional; DefaultParameterValue(null)>] ?NewSelection: NewSelection, - [<Optional; DefaultParameterValue(null)>] ?HoverDistance: int, - [<Optional; DefaultParameterValue(null)>] ?SpikeDistance: int, - [<Optional; DefaultParameterValue(null)>] ?Hoverlabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?Transition: Transition, - [<Optional; DefaultParameterValue(null)>] ?DataRevision: string, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?EditRevision: string, - [<Optional; DefaultParameterValue(null)>] ?SelectRevision: string, - [<Optional; DefaultParameterValue(null)>] ?Template: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?Computed: string, - [<Optional; DefaultParameterValue(null)>] ?Grid: LayoutGrid, - [<Optional; DefaultParameterValue(null)>] ?Calendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?MinReducedHeight: int, - [<Optional; DefaultParameterValue(null)>] ?MinReducedWidth: int, - [<Optional; DefaultParameterValue(null)>] ?NewShape: NewShape, - [<Optional; DefaultParameterValue(null)>] ?ActiveShape: ActiveShape, - [<Optional; DefaultParameterValue(null)>] ?HideSources: bool, - [<Optional; DefaultParameterValue(null)>] ?ScatterGap: float, - [<Optional; DefaultParameterValue(null)>] ?ScatterMode: StyleParam.ScatterMode, - [<Optional; DefaultParameterValue(null)>] ?BarGap: float, - [<Optional; DefaultParameterValue(null)>] ?BarGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?BarMode: StyleParam.BarMode, - [<Optional; DefaultParameterValue(null)>] ?BarNorm: StyleParam.BarNorm, - [<Optional; DefaultParameterValue(null)>] ?ExtendPieColors: bool, - [<Optional; DefaultParameterValue(null)>] ?HiddenLabels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?PieColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?BoxGap: float, - [<Optional; DefaultParameterValue(null)>] ?BoxGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?BoxMode: StyleParam.BoxMode, - [<Optional; DefaultParameterValue(null)>] ?ViolinGap: float, - [<Optional; DefaultParameterValue(null)>] ?ViolinGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?ViolinMode: StyleParam.ViolinMode, - [<Optional; DefaultParameterValue(null)>] ?WaterfallGap: float, - [<Optional; DefaultParameterValue(null)>] ?WaterfallGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?WaterfallMode: StyleParam.WaterfallMode, - [<Optional; DefaultParameterValue(null)>] ?FunnelGap: float, - [<Optional; DefaultParameterValue(null)>] ?FunnelGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?FunnelMode: StyleParam.FunnelMode, - [<Optional; DefaultParameterValue(null)>] ?ExtendFunnelAreaColors: bool, - [<Optional; DefaultParameterValue(null)>] ?FunnelAreaColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendSunBurstColors: bool, - [<Optional; DefaultParameterValue(null)>] ?SunBurstColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendTreeMapColors: bool, - [<Optional; DefaultParameterValue(null)>] ?TreeMapColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendIcicleColors: bool, - [<Optional; DefaultParameterValue(null)>] ?IcicleColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?Annotations: seq<Annotation>, - [<Optional; DefaultParameterValue(null)>] ?Shapes: seq<Shape>, - [<Optional; DefaultParameterValue(null)>] ?Selections: seq<Selection>, - [<Optional; DefaultParameterValue(null)>] ?Images: seq<LayoutImage>, - [<Optional; DefaultParameterValue(null)>] ?Sliders: seq<Slider>, - [<Optional; DefaultParameterValue(null)>] ?UpdateMenus: seq<UpdateMenu> + ?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<Annotation>, + ?Shapes: seq<Shape>, + ?Selections: seq<Selection>, + ?Images: seq<LayoutImage>, + ?Sliders: seq<Slider>, + ?UpdateMenus: seq<UpdateMenu> ) = Layout() |> Layout.style ( @@ -321,80 +321,80 @@ type Layout() = /// <param name="UpdateMenus">A collection containing all UpdateMenus of this layout. </param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Margin: Margin, - [<Optional; DefaultParameterValue(null)>] ?AutoSize: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: int, - [<Optional; DefaultParameterValue(null)>] ?Height: int, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?UniformText: UniformText, - [<Optional; DefaultParameterValue(null)>] ?Separators: string, - [<Optional; DefaultParameterValue(null)>] ?PaperBGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?PlotBGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: DefaultColorScales, - [<Optional; DefaultParameterValue(null)>] ?Colorway: Color, - [<Optional; DefaultParameterValue(null)>] ?ModeBar: ModeBar, - [<Optional; DefaultParameterValue(null)>] ?HoverMode: StyleParam.HoverMode, - [<Optional; DefaultParameterValue(null)>] ?ClickMode: StyleParam.ClickMode, - [<Optional; DefaultParameterValue(null)>] ?DragMode: StyleParam.DragMode, - [<Optional; DefaultParameterValue(null)>] ?SelectDirection: StyleParam.SelectDirection, - [<Optional; DefaultParameterValue(null)>] ?ActiveSelection: ActiveSelection, - [<Optional; DefaultParameterValue(null)>] ?NewSelection: NewSelection, - [<Optional; DefaultParameterValue(null)>] ?HoverDistance: int, - [<Optional; DefaultParameterValue(null)>] ?SpikeDistance: int, - [<Optional; DefaultParameterValue(null)>] ?Hoverlabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?Transition: Transition, - [<Optional; DefaultParameterValue(null)>] ?DataRevision: string, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?EditRevision: string, - [<Optional; DefaultParameterValue(null)>] ?SelectRevision: string, - [<Optional; DefaultParameterValue(null)>] ?Template: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?Computed: string, - [<Optional; DefaultParameterValue(null)>] ?Grid: LayoutGrid, - [<Optional; DefaultParameterValue(null)>] ?Calendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?MinReducedHeight: int, - [<Optional; DefaultParameterValue(null)>] ?MinReducedWidth: int, - [<Optional; DefaultParameterValue(null)>] ?NewShape: NewShape, - [<Optional; DefaultParameterValue(null)>] ?ActiveShape: ActiveShape, - [<Optional; DefaultParameterValue(null)>] ?HideSources: bool, - [<Optional; DefaultParameterValue(null)>] ?ScatterGap: float, - [<Optional; DefaultParameterValue(null)>] ?ScatterMode: StyleParam.ScatterMode, - [<Optional; DefaultParameterValue(null)>] ?BarGap: float, - [<Optional; DefaultParameterValue(null)>] ?BarGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?BarMode: StyleParam.BarMode, - [<Optional; DefaultParameterValue(null)>] ?BarNorm: StyleParam.BarNorm, - [<Optional; DefaultParameterValue(null)>] ?ExtendPieColors: bool, - [<Optional; DefaultParameterValue(null)>] ?HiddenLabels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?PieColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?BoxGap: float, - [<Optional; DefaultParameterValue(null)>] ?BoxGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?BoxMode: StyleParam.BoxMode, - [<Optional; DefaultParameterValue(null)>] ?ViolinGap: float, - [<Optional; DefaultParameterValue(null)>] ?ViolinGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?ViolinMode: StyleParam.ViolinMode, - [<Optional; DefaultParameterValue(null)>] ?WaterfallGap: float, - [<Optional; DefaultParameterValue(null)>] ?WaterfallGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?WaterfallMode: StyleParam.WaterfallMode, - [<Optional; DefaultParameterValue(null)>] ?FunnelGap: float, - [<Optional; DefaultParameterValue(null)>] ?FunnelGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?FunnelMode: StyleParam.FunnelMode, - [<Optional; DefaultParameterValue(null)>] ?ExtendFunnelAreaColors: bool, - [<Optional; DefaultParameterValue(null)>] ?FunnelAreaColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendSunBurstColors: bool, - [<Optional; DefaultParameterValue(null)>] ?SunBurstColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendTreeMapColors: bool, - [<Optional; DefaultParameterValue(null)>] ?TreeMapColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?ExtendIcicleColors: bool, - [<Optional; DefaultParameterValue(null)>] ?IcicleColorWay: Color, - [<Optional; DefaultParameterValue(null)>] ?Annotations: seq<Annotation>, - [<Optional; DefaultParameterValue(null)>] ?Shapes: seq<Shape>, - [<Optional; DefaultParameterValue(null)>] ?Selections: seq<Selection>, - [<Optional; DefaultParameterValue(null)>] ?Images: seq<LayoutImage>, - [<Optional; DefaultParameterValue(null)>] ?Sliders: seq<Slider>, - [<Optional; DefaultParameterValue(null)>] ?UpdateMenus: seq<UpdateMenu> + ?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<Annotation>, + ?Shapes: seq<Shape>, + ?Selections: seq<Selection>, + ?Images: seq<LayoutImage>, + ?Sliders: seq<Slider>, + ?UpdateMenus: seq<UpdateMenu> ) = (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 ( - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = AspectRatio() |> AspectRatio.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = CameraCenter() |> CameraCenter.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = fun (cameraCenter: CameraCenter) -> @@ -37,17 +37,17 @@ type CameraEye() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = CameraEye() |> CameraEye.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = fun (cameraEye: CameraEye) -> @@ -62,17 +62,17 @@ type CameraUp() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = CameraUp() |> CameraUp.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = fun (cameraUp: CameraUp) -> @@ -86,10 +86,10 @@ type CameraUp() = type CameraProjection() = inherit DynamicObj() - static member init([<Optional; DefaultParameterValue(null)>] ?ProjectionType: StyleParam.CameraProjectionType) = + static member init(?ProjectionType: StyleParam.CameraProjectionType) = CameraProjection() |> CameraProjection.style (?ProjectionType = ProjectionType) - static member style([<Optional; DefaultParameterValue(null)>] ?ProjectionType: StyleParam.CameraProjectionType) = + static member style(?ProjectionType: StyleParam.CameraProjectionType) = fun (cameraProjection: CameraProjection) -> @@ -102,19 +102,19 @@ type Camera() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Center: CameraCenter, - [<Optional; DefaultParameterValue(null)>] ?Eye: CameraEye, - [<Optional; DefaultParameterValue(null)>] ?Projection: CameraProjection, - [<Optional; DefaultParameterValue(null)>] ?Up: CameraUp + ?Center: CameraCenter, + ?Eye: CameraEye, + ?Projection: CameraProjection, + ?Up: CameraUp ) = Camera() |> Camera.style (?Center = Center, ?Eye = Eye, ?Projection = Projection, ?Up = Up) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Center: CameraCenter, - [<Optional; DefaultParameterValue(null)>] ?Eye: CameraEye, - [<Optional; DefaultParameterValue(null)>] ?Projection: CameraProjection, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="ZAxis">Sets this scene's zaxis</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Annotations: seq<Annotation>, - [<Optional; DefaultParameterValue(null)>] ?AspectMode: StyleParam.AspectMode, - [<Optional; DefaultParameterValue(null)>] ?AspectRatio: AspectRatio, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?DragMode: StyleParam.DragMode, - [<Optional; DefaultParameterValue(null)>] ?HoverMode: StyleParam.HoverMode, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?XAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?YAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?ZAxis: LinearAxis + ?Annotations: seq<Annotation>, + ?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() = /// <param name="ZAxis">Sets this scene's zaxis</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Annotations: seq<Annotation>, - [<Optional; DefaultParameterValue(null)>] ?AspectMode: StyleParam.AspectMode, - [<Optional; DefaultParameterValue(null)>] ?AspectRatio: AspectRatio, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Camera: Camera, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?DragMode: StyleParam.DragMode, - [<Optional; DefaultParameterValue(null)>] ?HoverMode: StyleParam.HoverMode, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?XAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?YAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?ZAxis: LinearAxis + ?Annotations: seq<Annotation>, + ?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 ( - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float + ?FillColor: Color, + ?Opacity: float ) = ActiveSelection() |> ActiveSelection.style (?FillColor = FillColor, ?Opacity = Opacity) static member style ( - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float + ?FillColor: Color, + ?Opacity: float ) = ActiveShape() |> ActiveShape.style (?FillColor = FillColor, ?Opacity = Opacity) static member style ( - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?X: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Align: StyleParam.AnnotationAlignment, - [<Optional; DefaultParameterValue(null)>] ?ArrowColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ArrowHead: StyleParam.ArrowHead, - [<Optional; DefaultParameterValue(null)>] ?ArrowSide: StyleParam.ArrowSide, - [<Optional; DefaultParameterValue(null)>] ?ArrowSize: float, - [<Optional; DefaultParameterValue(null)>] ?AX: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?AXRef: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?AY: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?AYRef: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderPad: int, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: int, - [<Optional; DefaultParameterValue(null)>] ?CaptureEvents: bool, - [<Optional; DefaultParameterValue(null)>] ?ClickToShow: StyleParam.ClickToShow, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Height: int, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?ShowArrow: bool, - [<Optional; DefaultParameterValue(null)>] ?StandOff: int, - [<Optional; DefaultParameterValue(null)>] ?StartArrowHead: int, - [<Optional; DefaultParameterValue(null)>] ?StartArrowSize: float, - [<Optional; DefaultParameterValue(null)>] ?StartStandOff: int, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?Text: string, - [<Optional; DefaultParameterValue(null)>] ?TextAngle: float, - [<Optional; DefaultParameterValue(null)>] ?VAlign: StyleParam.VerticalAlign, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: int, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?XClick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XRef: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XShift: int, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?YClick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YRef: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?X: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Align: StyleParam.AnnotationAlignment, - [<Optional; DefaultParameterValue(null)>] ?ArrowColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ArrowHead: StyleParam.ArrowHead, - [<Optional; DefaultParameterValue(null)>] ?ArrowSide: StyleParam.ArrowSide, - [<Optional; DefaultParameterValue(null)>] ?ArrowSize: float, - [<Optional; DefaultParameterValue(null)>] ?AX: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?AXRef: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?AY: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?AYRef: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderPad: int, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: int, - [<Optional; DefaultParameterValue(null)>] ?CaptureEvents: bool, - [<Optional; DefaultParameterValue(null)>] ?ClickToShow: StyleParam.ClickToShow, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Height: int, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?ShowArrow: bool, - [<Optional; DefaultParameterValue(null)>] ?StandOff: int, - [<Optional; DefaultParameterValue(null)>] ?StartArrowHead: int, - [<Optional; DefaultParameterValue(null)>] ?StartArrowSize: float, - [<Optional; DefaultParameterValue(null)>] ?StartStandOff: int, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?Text: string, - [<Optional; DefaultParameterValue(null)>] ?TextAngle: float, - [<Optional; DefaultParameterValue(null)>] ?VAlign: StyleParam.VerticalAlign, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: int, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?XClick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XRef: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XShift: int, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?YClick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YRef: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Step: StyleParam.TimeStep, - [<Optional; DefaultParameterValue(null)>] ?StepMode: StyleParam.TimeStepMode, - [<Optional; DefaultParameterValue(null)>] ?Count: int, - [<Optional; DefaultParameterValue(null)>] ?Label: string, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Step: StyleParam.TimeStep, - [<Optional; DefaultParameterValue(null)>] ?StepMode: StyleParam.TimeStepMode, - [<Optional; DefaultParameterValue(null)>] ?Count: int, - [<Optional; DefaultParameterValue(null)>] ?Label: string, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="ReverseScale">Determines whether or not a colorbar is displayed for this trace.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="ReverseScale">Determines whether or not a colorbar is displayed for this trace.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Diverging: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?Sequential: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?SequentialMinus: StyleParam.Colorscale + ?Diverging: StyleParam.Colorscale, + ?Sequential: StyleParam.Colorscale, + ?SequentialMinus: StyleParam.Colorscale ) = DefaultColorScales() |> DefaultColorScales.style ( @@ -23,9 +23,9 @@ type DefaultColorScales() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Diverging: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?Sequential: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?X: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Y: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Row: int, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?X: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Y: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Row: int, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="Namelength">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.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Align: StyleParam.Align, - [<Optional; DefaultParameterValue(null)>] ?BgColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?GroupTitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Namelength: int + ?Align: StyleParam.Align, + ?BgColor: Color, + ?BorderColor: Color, + ?Font: Font, + ?GroupTitleFont: Font, + ?Namelength: int ) = Hoverlabel() |> Hoverlabel.style ( @@ -49,12 +49,12 @@ type Hoverlabel() = /// <param name="Namelength">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.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?BgColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?GroupTitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Align: StyleParam.Align, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Rows: int, - [<Optional; DefaultParameterValue(null)>] ?Columns: int, - [<Optional; DefaultParameterValue(null)>] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [<Optional; DefaultParameterValue(null)>] ?XAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?YAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?RowOrder: StyleParam.LayoutGridRowOrder, - [<Optional; DefaultParameterValue(null)>] ?Pattern: StyleParam.LayoutGridPattern, - [<Optional; DefaultParameterValue(null)>] ?XGap: float, - [<Optional; DefaultParameterValue(null)>] ?YGap: float, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?XSide: StyleParam.LayoutGridXSide, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Rows: int, - [<Optional; DefaultParameterValue(null)>] ?Columns: int, - [<Optional; DefaultParameterValue(null)>] ?SubPlots: (StyleParam.LinearAxisId * StyleParam.LinearAxisId)[][], - [<Optional; DefaultParameterValue(null)>] ?XAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?YAxes: StyleParam.LinearAxisId[], - [<Optional; DefaultParameterValue(null)>] ?RowOrder: StyleParam.LayoutGridRowOrder, - [<Optional; DefaultParameterValue(null)>] ?Pattern: StyleParam.LayoutGridPattern, - [<Optional; DefaultParameterValue(null)>] ?XGap: float, - [<Optional; DefaultParameterValue(null)>] ?YGap: float, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?XSide: StyleParam.LayoutGridXSide, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?SizeX: int, - [<Optional; DefaultParameterValue(null)>] ?SizeY: int, - [<Optional; DefaultParameterValue(null)>] ?Sizing: StyleParam.LayoutImageSizing, - [<Optional; DefaultParameterValue(null)>] ?Source: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemname: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?X: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?XRef: string, - [<Optional; DefaultParameterValue(null)>] ?Y: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?SizeX: int, - [<Optional; DefaultParameterValue(null)>] ?SizeY: int, - [<Optional; DefaultParameterValue(null)>] ?Sizing: StyleParam.LayoutImageSizing, - [<Optional; DefaultParameterValue(null)>] ?Source: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemname: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?X: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?XRef: string, - [<Optional; DefaultParameterValue(null)>] ?Y: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <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> static member init ( - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: float, - [<Optional; DefaultParameterValue(null)>] ?EntryWidth: float, - [<Optional; DefaultParameterValue(null)>] ?EntryWidthMode: StyleParam.EntryWidthMode, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?GroupClick: StyleParam.TraceGroupClickOptions, - [<Optional; DefaultParameterValue(null)>] ?GroupTitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ItemClick: StyleParam.TraceItemClickOptions, - [<Optional; DefaultParameterValue(null)>] ?ItemDoubleClick: StyleParam.TraceItemClickOptions, - [<Optional; DefaultParameterValue(null)>] ?ItemSizing: StyleParam.TraceItemSizing, - [<Optional; DefaultParameterValue(null)>] ?ItemWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?TraceGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?TraceOrder: StyleParam.TraceOrder, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?VerticalAlign: StyleParam.VerticalAlign, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?XRef: string, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <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> static member style ( - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: float, - [<Optional; DefaultParameterValue(null)>] ?EntryWidth: float, - [<Optional; DefaultParameterValue(null)>] ?EntryWidthMode: StyleParam.EntryWidthMode, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?GroupClick: StyleParam.TraceGroupClickOptions, - [<Optional; DefaultParameterValue(null)>] ?GroupTitleFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ItemClick: StyleParam.TraceItemClickOptions, - [<Optional; DefaultParameterValue(null)>] ?ItemDoubleClick: StyleParam.TraceItemClickOptions, - [<Optional; DefaultParameterValue(null)>] ?ItemSizing: StyleParam.TraceItemSizing, - [<Optional; DefaultParameterValue(null)>] ?ItemWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?TraceGroupGap: float, - [<Optional; DefaultParameterValue(null)>] ?TraceOrder: StyleParam.TraceOrder, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?VerticalAlign: StyleParam.VerticalAlign, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?XRef: string, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="ShowBackground">Sets whether or not this axis' wall has a background color. (Only has an effect on 3D scenes)</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?AutoRange: StyleParam.AutoRange, - [<Optional; DefaultParameterValue(null)>] ?AutoRangeOptions: AutoRangeOptions, - [<Optional; DefaultParameterValue(null)>] ?AutoShift: bool, - [<Optional; DefaultParameterValue(null)>] ?RangeMode: StyleParam.RangeMode, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?FixedRange: bool, - [<Optional; DefaultParameterValue(null)>] ?ScaleAnchor: StyleParam.ScaleAnchor, - [<Optional; DefaultParameterValue(null)>] ?ScaleRatio: float, - [<Optional; DefaultParameterValue(null)>] ?Constrain: StyleParam.AxisConstraint, - [<Optional; DefaultParameterValue(null)>] ?ConstrainToward: StyleParam.AxisConstraintDirection, - [<Optional; DefaultParameterValue(null)>] ?Matches: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?MaxAllowed: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MinAllowed: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Rangebreaks: seq<Rangebreak>, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Tick0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DTick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TicksOn: StyleParam.CategoryTickAnchor, - [<Optional; DefaultParameterValue(null)>] ?TickLabelMode: StyleParam.TickLabelMode, - [<Optional; DefaultParameterValue(null)>] ?TickLabelPosition: StyleParam.TickLabelPosition, - [<Optional; DefaultParameterValue(null)>] ?TickLabelStep: int, - [<Optional; DefaultParameterValue(null)>] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [<Optional; DefaultParameterValue(null)>] ?Mirror: StyleParam.Mirror, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?AutoMargin: StyleParam.TickAutoMargin, - [<Optional; DefaultParameterValue(null)>] ?ShowSpikes: bool, - [<Optional; DefaultParameterValue(null)>] ?SpikeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SpikeThickness: int, - [<Optional; DefaultParameterValue(null)>] ?SpikeDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?SpikeMode: StyleParam.SpikeMode, - [<Optional; DefaultParameterValue(null)>] ?SpikeSnap: StyleParam.SpikeSnap, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?Minor: Minor, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?HoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?InsideRange: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ZeroLine: bool, - [<Optional; DefaultParameterValue(null)>] ?ZeroLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ZeroLineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Shift: int, - [<Optional; DefaultParameterValue(null)>] ?ShowDividers: bool, - [<Optional; DefaultParameterValue(null)>] ?DividerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?DividerWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Anchor: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?Overlaying: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?Domain: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Position: float, - [<Optional; DefaultParameterValue(null)>] ?CategoryOrder: StyleParam.CategoryOrder, - [<Optional; DefaultParameterValue(null)>] ?CategoryArray: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?RangeSlider: RangeSlider, - [<Optional; DefaultParameterValue(null)>] ?RangeSelector: RangeSelector, - [<Optional; DefaultParameterValue(null)>] ?Calendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?BackgroundColor: Color, - [<Optional; DefaultParameterValue(null)>] ?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<Rangebreak>, + ?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<TickFormatStop>, + ?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, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?AutoRange: StyleParam.AutoRange, - [<Optional; DefaultParameterValue(null)>] ?AutoShift: bool, - [<Optional; DefaultParameterValue(null)>] ?RangeMode: StyleParam.RangeMode, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?FixedRange: bool, - [<Optional; DefaultParameterValue(null)>] ?ScaleAnchor: StyleParam.ScaleAnchor, - [<Optional; DefaultParameterValue(null)>] ?ScaleRatio: float, - [<Optional; DefaultParameterValue(null)>] ?Constrain: StyleParam.AxisConstraint, - [<Optional; DefaultParameterValue(null)>] ?ConstrainToward: StyleParam.AxisConstraintDirection, - [<Optional; DefaultParameterValue(null)>] ?Matches: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Rangebreaks: seq<Rangebreak>, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Tick0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DTick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TicksOn: StyleParam.CategoryTickAnchor, - [<Optional; DefaultParameterValue(null)>] ?TickLabelMode: StyleParam.TickLabelMode, - [<Optional; DefaultParameterValue(null)>] ?TickLabelPosition: StyleParam.TickLabelPosition, - [<Optional; DefaultParameterValue(null)>] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [<Optional; DefaultParameterValue(null)>] ?Mirror: StyleParam.Mirror, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?AutoMargin: StyleParam.TickAutoMargin, - [<Optional; DefaultParameterValue(null)>] ?ShowSpikes: bool, - [<Optional; DefaultParameterValue(null)>] ?SpikeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SpikeThickness: int, - [<Optional; DefaultParameterValue(null)>] ?SpikeDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?SpikeMode: StyleParam.SpikeMode, - [<Optional; DefaultParameterValue(null)>] ?SpikeSnap: StyleParam.SpikeSnap, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?Minor: Minor, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?HoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ZeroLine: bool, - [<Optional; DefaultParameterValue(null)>] ?ZeroLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ZeroLineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Shift: int, - [<Optional; DefaultParameterValue(null)>] ?ShowDividers: bool, - [<Optional; DefaultParameterValue(null)>] ?DividerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?DividerWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Anchor: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?Overlaying: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?Domain: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Position: float, - [<Optional; DefaultParameterValue(null)>] ?CategoryArray: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?RangeSlider: RangeSlider, - [<Optional; DefaultParameterValue(null)>] ?RangeSelector: RangeSelector, - [<Optional; DefaultParameterValue(null)>] ?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<Rangebreak>, + ?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<TickFormatStop>, + ?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() = /// <param name="StartLineWidth">Sets the width (in px) of the start line.</param> static member initCarpet ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?AutoRange: StyleParam.AutoRange, - [<Optional; DefaultParameterValue(null)>] ?RangeMode: StyleParam.RangeMode, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?FixedRange: bool, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Tick0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DTick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: float, - [<Optional; DefaultParameterValue(null)>] ?CategoryOrder: StyleParam.CategoryOrder, - [<Optional; DefaultParameterValue(null)>] ?CategoryArray: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ArrayDTick: int, - [<Optional; DefaultParameterValue(null)>] ?ArrayTick0: int, - [<Optional; DefaultParameterValue(null)>] ?CheaterType: StyleParam.CheaterType, - [<Optional; DefaultParameterValue(null)>] ?EndLine: bool, - [<Optional; DefaultParameterValue(null)>] ?EndLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?EndLineWidth: int, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?LabelPadding: int, - [<Optional; DefaultParameterValue(null)>] ?LabelPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?LabelSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?MinorGridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MinorGridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?MinorGridCount: int, - [<Optional; DefaultParameterValue(null)>] ?MinorGridWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?StartLine: bool, - [<Optional; DefaultParameterValue(null)>] ?StartLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?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<TickFormatStop>, + ?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() = /// <param name="Visible">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</param> static member initIndicatorGauge ( - [<Optional; DefaultParameterValue(null)>] ?DTick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?Tick0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?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<TickFormatStop>, + ?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() = /// <param name="ShowBackground">Sets whether or not this axis' wall has a background color. (Only has an effect on 3D scenes)</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?AutoRange: StyleParam.AutoRange, - [<Optional; DefaultParameterValue(null)>] ?AutoRangeOptions: AutoRangeOptions, - [<Optional; DefaultParameterValue(null)>] ?AutoShift: bool, - [<Optional; DefaultParameterValue(null)>] ?RangeMode: StyleParam.RangeMode, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?FixedRange: bool, - [<Optional; DefaultParameterValue(null)>] ?ScaleAnchor: StyleParam.ScaleAnchor, - [<Optional; DefaultParameterValue(null)>] ?ScaleRatio: float, - [<Optional; DefaultParameterValue(null)>] ?Constrain: StyleParam.AxisConstraint, - [<Optional; DefaultParameterValue(null)>] ?ConstrainToward: StyleParam.AxisConstraintDirection, - [<Optional; DefaultParameterValue(null)>] ?Matches: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?MaxAllowed: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MinAllowed: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Rangebreaks: seq<Rangebreak>, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Tick0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DTick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TicksOn: StyleParam.CategoryTickAnchor, - [<Optional; DefaultParameterValue(null)>] ?TickLabelMode: StyleParam.TickLabelMode, - [<Optional; DefaultParameterValue(null)>] ?TickLabelPosition: StyleParam.TickLabelPosition, - [<Optional; DefaultParameterValue(null)>] ?TickLabelStep: int, - [<Optional; DefaultParameterValue(null)>] ?TickLabelOverflow: StyleParam.TickLabelOverflow, - [<Optional; DefaultParameterValue(null)>] ?Mirror: StyleParam.Mirror, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?AutoMargin: StyleParam.TickAutoMargin, - [<Optional; DefaultParameterValue(null)>] ?ShowSpikes: bool, - [<Optional; DefaultParameterValue(null)>] ?SpikeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SpikeThickness: int, - [<Optional; DefaultParameterValue(null)>] ?SpikeDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?SpikeMode: StyleParam.SpikeMode, - [<Optional; DefaultParameterValue(null)>] ?SpikeSnap: StyleParam.SpikeSnap, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?Minor: Minor, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?HoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?InsideRange: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ZeroLine: bool, - [<Optional; DefaultParameterValue(null)>] ?ZeroLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ZeroLineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Shift: int, - [<Optional; DefaultParameterValue(null)>] ?ShowDividers: bool, - [<Optional; DefaultParameterValue(null)>] ?DividerColor: Color, - [<Optional; DefaultParameterValue(null)>] ?DividerWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Anchor: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?Overlaying: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?Domain: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Position: float, - [<Optional; DefaultParameterValue(null)>] ?CategoryOrder: StyleParam.CategoryOrder, - [<Optional; DefaultParameterValue(null)>] ?CategoryArray: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?RangeSlider: RangeSlider, - [<Optional; DefaultParameterValue(null)>] ?RangeSelector: RangeSelector, - [<Optional; DefaultParameterValue(null)>] ?Calendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?ArrayDTick: int, - [<Optional; DefaultParameterValue(null)>] ?ArrayTick0: int, - [<Optional; DefaultParameterValue(null)>] ?CheaterType: StyleParam.CheaterType, - [<Optional; DefaultParameterValue(null)>] ?EndLine: bool, - [<Optional; DefaultParameterValue(null)>] ?EndLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?EndLineWidth: int, - [<Optional; DefaultParameterValue(null)>] ?LabelPadding: int, - [<Optional; DefaultParameterValue(null)>] ?LabelPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?LabelSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?MinorGridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?MinorGridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?MinorGridCount: int, - [<Optional; DefaultParameterValue(null)>] ?MinorGridWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?StartLine: bool, - [<Optional; DefaultParameterValue(null)>] ?StartLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?StartLineWidth: int, - [<Optional; DefaultParameterValue(null)>] ?BackgroundColor: Color, - [<Optional; DefaultParameterValue(null)>] ?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<Rangebreak>, + ?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<TickFormatStop>, + ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Left, - [<Optional; DefaultParameterValue(null)>] ?Right, - [<Optional; DefaultParameterValue(null)>] ?Top, - [<Optional; DefaultParameterValue(null)>] ?Bottom, - [<Optional; DefaultParameterValue(null)>] ?Pad, - [<Optional; DefaultParameterValue(null)>] ?Autoexpand + ?Left, + ?Right, + ?Top, + ?Bottom, + ?Pad, + ?Autoexpand ) = Margin() |> Margin.style ( @@ -31,12 +31,12 @@ type Margin() = // Applies the styles to Margin() static member style ( - [<Optional; DefaultParameterValue(null)>] ?Left, - [<Optional; DefaultParameterValue(null)>] ?Right, - [<Optional; DefaultParameterValue(null)>] ?Top, - [<Optional; DefaultParameterValue(null)>] ?Bottom, - [<Optional; DefaultParameterValue(null)>] ?Pad, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="TickWidth">Sets the tick width (in px).</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?DTick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: float, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?Tick0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="TickWidth">Sets the tick width (in px).</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?DTick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: float, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?Tick0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?ActiveColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Add: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Remove: string, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string + ?ActiveColor: Color, + ?Add: seq<string>, + ?BGColor: Color, + ?Color: Color, + ?Orientation: StyleParam.Orientation, + ?Remove: string, + ?UIRevision: string ) = ModeBar() |> ModeBar.style ( @@ -31,13 +31,13 @@ type ModeBar() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?ActiveColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Add: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Remove: string, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string + ?ActiveColor: Color, + ?Add: seq<string>, + ?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() = /// <param name="Mode">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.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="Mode">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.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="Visible">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).</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?DrawDirection: StyleParam.DrawDirection, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillRule: StyleParam.FillRule, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?LegendWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="Visible">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).</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?DrawDirection: StyleParam.DrawDirection, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillRule: StyleParam.FillRule, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?LegendWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Buttons: seq<Button>, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ActiveColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: int + ?Visible: bool, + ?Buttons: seq<Button>, + ?X: float, + ?XAnchor: StyleParam.XAnchorPosition, + ?Y: float, + ?YAnchor: StyleParam.YAnchorPosition, + ?Font: Font, + ?BGColor: Color, + ?ActiveColor: Color, + ?BorderColor: Color, + ?BorderWidth: int ) = RangeSelector() |> RangeSelector.style ( @@ -41,17 +41,17 @@ type RangeSelector() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Buttons: seq<Button>, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ActiveColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: int + ?Visible: bool, + ?Buttons: seq<Button>, + ?X: float, + ?XAnchor: StyleParam.XAnchorPosition, + ?Y: float, + ?YAnchor: StyleParam.YAnchorPosition, + ?Font: Font, + ?BGColor: Color, + ?ActiveColor: Color, + ?BorderColor: Color, + ?BorderWidth: int ) = (fun (rangeSelector: RangeSelector) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/RangeSlider.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/RangeSlider.fs index c4ac8f5d0..093c5a7c8 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/RangeSlider.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/RangeSlider.fs @@ -13,15 +13,15 @@ type RangeSlider() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?BgColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: float, - [<Optional; DefaultParameterValue(null)>] ?AutoRange: bool, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?YAxisRangeMode: StyleParam.RangesliderRangeMode, - [<Optional; DefaultParameterValue(null)>] ?YAxisRange: StyleParam.Range + ?BgColor: Color, + ?BorderColor: Color, + ?BorderWidth: float, + ?AutoRange: bool, + ?Range: StyleParam.Range, + ?Thickness: float, + ?Visible: bool, + ?YAxisRangeMode: StyleParam.RangesliderRangeMode, + ?YAxisRange: StyleParam.Range ) = RangeSlider() |> RangeSlider.style ( @@ -39,15 +39,15 @@ type RangeSlider() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?BgColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: float, - [<Optional; DefaultParameterValue(null)>] ?AutoRange: bool, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?YAxisRangeMode: StyleParam.RangesliderRangeMode, - [<Optional; DefaultParameterValue(null)>] ?YAxisRange: StyleParam.Range + ?BgColor: Color, + ?BorderColor: Color, + ?BorderWidth: float, + ?AutoRange: bool, + ?Range: StyleParam.Range, + ?Thickness: float, + ?Visible: bool, + ?YAxisRangeMode: StyleParam.RangesliderRangeMode, + ?YAxisRange: StyleParam.Range ) = fun (rangeslider: RangeSlider) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Rangebreak.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Rangebreak.fs index 2ed6a2c04..a80e9adbd 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Rangebreak.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Rangebreak.fs @@ -20,13 +20,13 @@ type Rangebreak() = /// <param name="TemplateItemName">Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: false` or `enabled: false` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: true`.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Enabled: bool, - [<Optional; DefaultParameterValue(null)>] ?Bounds: #IConvertible * #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Pattern: StyleParam.RangebreakPattern, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?DValue: int, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string + ?Enabled: bool, + ?Bounds: #IConvertible * #IConvertible, + ?Pattern: StyleParam.RangebreakPattern, + ?Values: seq<#IConvertible>, + ?DValue: int, + ?Name: string, + ?TemplateItemName: string ) = Rangebreak() |> Rangebreak.style ( @@ -51,13 +51,13 @@ type Rangebreak() = /// <param name="TemplateItemName">Used to refer to a named item in this array in the template. Named items from the template will be created even without a matching item in the input figure, but you can modify one by making an item with `templateitemname` matching its `name`, alongside your modifications (including `visible: false` or `enabled: false` to hide it). If there is no template or no matching item, this item will be hidden unless you explicitly show it with `visible: true`.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Enabled: bool, - [<Optional; DefaultParameterValue(null)>] ?Bounds: #IConvertible * #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Pattern: StyleParam.RangebreakPattern, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?DValue: int, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string + ?Enabled: bool, + ?Bounds: #IConvertible * #IConvertible, + ?Pattern: StyleParam.RangebreakPattern, + ?Values: seq<#IConvertible>, + ?DValue: int, + ?Name: string, + ?TemplateItemName: string ) = (fun (rangebreak: Rangebreak) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Selection.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Selection.fs index 7965c9104..a98c644bc 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Selection.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Selection.fs @@ -25,18 +25,18 @@ type Selection() = /// <param name="Yref">Sets the selection's x coordinate axis. If set to a y axis id (e.g. "y" or "y2"), the `y` position refers to a y coordinate. If set to "paper", the `y` position refers to the distance from the bottom of the plotting area in normalized coordinates where "0" ("1") corresponds to the bottom (top). If set to a y axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the bottom of the domain of that axis: e.g., "y2 domain" refers to the domain of the second y axis and a y position of 0.5 refers to the point between the bottom and the top of the domain of the second y axis.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Path: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?SelectionType: StyleParam.SelectionType, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?X1: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Xref: string, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y1: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Yref: string + ?Line: Line, + ?Name: string, + ?Opacity: float, + ?Path: string, + ?TemplateItemName: string, + ?SelectionType: StyleParam.SelectionType, + ?X0: #IConvertible, + ?X1: #IConvertible, + ?Xref: string, + ?Y0: #IConvertible, + ?Y1: #IConvertible, + ?Yref: string ) = Selection() |> Selection.style ( @@ -71,18 +71,18 @@ type Selection() = /// <param name="Yref">Sets the selection's x coordinate axis. If set to a y axis id (e.g. "y" or "y2"), the `y` position refers to a y coordinate. If set to "paper", the `y` position refers to the distance from the bottom of the plotting area in normalized coordinates where "0" ("1") corresponds to the bottom (top). If set to a y axis ID followed by "domain" (separated by a space), the position behaves like for "paper", but refers to the distance in fractions of the domain length from the bottom of the domain of that axis: e.g., "y2 domain" refers to the domain of the second y axis and a y position of 0.5 refers to the point between the bottom and the top of the domain of the second y axis.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Path: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?SelectionType: StyleParam.SelectionType, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?X1: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Xref: string, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y1: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Yref: string + ?Line: Line, + ?Name: string, + ?Opacity: float, + ?Path: string, + ?TemplateItemName: string, + ?SelectionType: StyleParam.SelectionType, + ?X0: #IConvertible, + ?X1: #IConvertible, + ?Xref: string, + ?Y0: #IConvertible, + ?Y1: #IConvertible, + ?Yref: string ) = (fun (selection: Selection) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Shape.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Shape.fs index 3c346a4d0..eeeeb87a9 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Shape.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Shape.fs @@ -74,34 +74,34 @@ type Shape() = /// <param name="YSizeMode">Sets the shapes's sizing mode along the y axis. If set to "scaled", `y0`, `y1` and y coordinates within `path` refer to data values on the y axis or a fraction of the plot area's height (`yref` set to "paper"). If set to "pixel", `yanchor` specifies the y position in terms of data or plot fraction but `y0`, `y1` and y coordinates within `path` are pixels relative to `yanchor`. This way, the shape can have a fixed height while maintaining a position relative to data or plot fraction.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Editable: bool, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillRule: StyleParam.FillRule, - [<Optional; DefaultParameterValue(null)>] ?Label: ShapeLabel, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?LegendWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Path: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?ShapeType: StyleParam.ShapeType, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?X1: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Xref: string, - [<Optional; DefaultParameterValue(null)>] ?XSizeMode: StyleParam.ShapeSizeMode, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y1: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Yref: string, - [<Optional; DefaultParameterValue(null)>] ?YSizeMode: StyleParam.ShapeSizeMode + ?Editable: bool, + ?FillColor: Color, + ?FillRule: StyleParam.FillRule, + ?Label: ShapeLabel, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?LegendWidth: float, + ?Layer: StyleParam.Layer, + ?Line: Line, + ?Name: string, + ?Opacity: float, + ?Path: string, + ?TemplateItemName: string, + ?ShapeType: StyleParam.ShapeType, + ?Visible: bool, + ?X0: #IConvertible, + ?X1: #IConvertible, + ?XAnchor: StyleParam.LinearAxisId, + ?Xref: string, + ?XSizeMode: StyleParam.ShapeSizeMode, + ?Y0: #IConvertible, + ?Y1: #IConvertible, + ?YAnchor: StyleParam.LinearAxisId, + ?Yref: string, + ?YSizeMode: StyleParam.ShapeSizeMode ) = Shape() |> Shape.style ( @@ -168,34 +168,34 @@ type Shape() = /// <param name="YSizeMode">Sets the shapes's sizing mode along the y axis. If set to "scaled", `y0`, `y1` and y coordinates within `path` refer to data values on the y axis or a fraction of the plot area's height (`yref` set to "paper"). If set to "pixel", `yanchor` specifies the y position in terms of data or plot fraction but `y0`, `y1` and y coordinates within `path` are pixels relative to `yanchor`. This way, the shape can have a fixed height while maintaining a position relative to data or plot fraction.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Editable: bool, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillRule: StyleParam.FillRule, - [<Optional; DefaultParameterValue(null)>] ?Label: ShapeLabel, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?LegendWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Path: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?ShapeType: StyleParam.ShapeType, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?X1: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Xref: string, - [<Optional; DefaultParameterValue(null)>] ?XSizeMode: StyleParam.ShapeSizeMode, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y1: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Yref: string, - [<Optional; DefaultParameterValue(null)>] ?YSizeMode: StyleParam.ShapeSizeMode + ?Editable: bool, + ?FillColor: Color, + ?FillRule: StyleParam.FillRule, + ?Label: ShapeLabel, + ?ShowLegend: bool, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?LegendWidth: float, + ?Layer: StyleParam.Layer, + ?Line: Line, + ?Name: string, + ?Opacity: float, + ?Path: string, + ?TemplateItemName: string, + ?ShapeType: StyleParam.ShapeType, + ?Visible: bool, + ?X0: #IConvertible, + ?X1: #IConvertible, + ?XAnchor: StyleParam.LinearAxisId, + ?Xref: string, + ?XSizeMode: StyleParam.ShapeSizeMode, + ?Y0: #IConvertible, + ?Y1: #IConvertible, + ?YAnchor: StyleParam.LinearAxisId, + ?Yref: string, + ?YSizeMode: StyleParam.ShapeSizeMode ) = fun (shape: Shape) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/ShapeLabel.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/ShapeLabel.fs index 04713fa47..590ff4219 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/ShapeLabel.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/ShapeLabel.fs @@ -25,14 +25,14 @@ type ShapeLabel() = /// <param name="YAnchor">Sets the label's vertical position anchor This anchor binds the specified `textposition` to the "top", "middle" or "bottom" of the label text. For example, if `textposition` is set to "top right" and `yanchor` to "top" then the top-most portion of the label text lines up with the top-most edge of the shape.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Padding: int, - [<Optional; DefaultParameterValue(null)>] ?Text: string, - [<Optional; DefaultParameterValue(null)>] ?TextAngle: StyleParam.TextAngle, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition + ?Font: Font, + ?Padding: int, + ?Text: string, + ?TextAngle: StyleParam.TextAngle, + ?TextPosition: StyleParam.TextPosition, + ?TextTemplate: string, + ?XAnchor: StyleParam.XAnchorPosition, + ?YAnchor: StyleParam.YAnchorPosition ) = ShapeLabel() @@ -60,14 +60,14 @@ type ShapeLabel() = /// <param name="YAnchor">Sets the label's vertical position anchor This anchor binds the specified `textposition` to the "top", "middle" or "bottom" of the label text. For example, if `textposition` is set to "top right" and `yanchor` to "top" then the top-most portion of the label text lines up with the top-most edge of the shape.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Padding: int, - [<Optional; DefaultParameterValue(null)>] ?Text: string, - [<Optional; DefaultParameterValue(null)>] ?TextAngle: StyleParam.TextAngle, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition + ?Font: Font, + ?Padding: int, + ?Text: string, + ?TextAngle: StyleParam.TextAngle, + ?TextPosition: StyleParam.TextPosition, + ?TextTemplate: string, + ?XAnchor: StyleParam.XAnchorPosition, + ?YAnchor: StyleParam.YAnchorPosition ) = (fun (shapeLabel: ShapeLabel) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Transition.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Transition.fs index 8c5c433f3..41e7342c4 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/Transition.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/Transition.fs @@ -10,17 +10,17 @@ type Transition() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Duration: int, - [<Optional; DefaultParameterValue(null)>] ?Easing: StyleParam.TransitionEasing, - [<Optional; DefaultParameterValue(null)>] ?Ordering: StyleParam.TransitionOrdering + ?Duration: int, + ?Easing: StyleParam.TransitionEasing, + ?Ordering: StyleParam.TransitionOrdering ) = Transition() |> Transition.style (?Duration = Duration, ?Easing = Easing, ?Ordering = Ordering) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Duration: int, - [<Optional; DefaultParameterValue(null)>] ?Easing: StyleParam.TransitionEasing, - [<Optional; DefaultParameterValue(null)>] ?Ordering: StyleParam.TransitionOrdering + ?Duration: int, + ?Easing: StyleParam.TransitionEasing, + ?Ordering: StyleParam.TransitionOrdering ) = (fun (transition: Transition) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/UniformText.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/UniformText.fs index 1bd4a33c5..27cd26e62 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/UniformText.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/UniformText.fs @@ -10,15 +10,15 @@ type UniformText() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?MinSize: int, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.UniformTextMode + ?MinSize: int, + ?Mode: StyleParam.UniformTextMode ) = UniformText() |> UniformText.style (?MinSize = MinSize, ?Mode = Mode) static member style ( - [<Optional; DefaultParameterValue(null)>] ?MinSize: int, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.UniformTextMode + ?MinSize: int, + ?Mode: StyleParam.UniformTextMode ) = (fun (uniformText: UniformText) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Common/UpdateMenu.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Common/UpdateMenu.fs index e00a28491..db833c261 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Common/UpdateMenu.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Common/UpdateMenu.fs @@ -10,14 +10,14 @@ type UpdateMenuButton() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Args: seq<DynamicObj>, - [<Optional; DefaultParameterValue(null)>] ?Args2: seq<DynamicObj>, - [<Optional; DefaultParameterValue(null)>] ?Execute: bool, - [<Optional; DefaultParameterValue(null)>] ?Label: string, - [<Optional; DefaultParameterValue(null)>] ?Method: StyleParam.UpdateMethod, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool + ?Args: seq<DynamicObj>, + ?Args2: seq<DynamicObj>, + ?Execute: bool, + ?Label: string, + ?Method: StyleParam.UpdateMethod, + ?Name: string, + ?TemplateItemName: string, + ?Visible: bool ) = UpdateMenuButton() |> UpdateMenuButton.style ( @@ -34,14 +34,14 @@ type UpdateMenuButton() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Args: seq<DynamicObj>, - [<Optional; DefaultParameterValue(null)>] ?Args2: seq<DynamicObj>, - [<Optional; DefaultParameterValue(null)>] ?Execute: bool, - [<Optional; DefaultParameterValue(null)>] ?Label: string, - [<Optional; DefaultParameterValue(null)>] ?Method: StyleParam.UpdateMethod, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool + ?Args: seq<DynamicObj>, + ?Args2: seq<DynamicObj>, + ?Execute: bool, + ?Label: string, + ?Method: StyleParam.UpdateMethod, + ?Name: string, + ?TemplateItemName: string, + ?Visible: bool ) = (fun (updateMenuButton: UpdateMenuButton) -> @@ -61,22 +61,22 @@ type UpdateMenu() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Active: int, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Buttons: seq<UpdateMenuButton>, - [<Optional; DefaultParameterValue(null)>] ?Direction: StyleParam.UpdateMenuDirection, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Pad: Padding, - [<Optional; DefaultParameterValue(null)>] ?ShowActive: bool, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.UpdateMenuType, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition + ?Active: int, + ?BGColor: Color, + ?BorderColor: Color, + ?Buttons: seq<UpdateMenuButton>, + ?Direction: StyleParam.UpdateMenuDirection, + ?Font: Font, + ?Name: string, + ?Pad: Padding, + ?ShowActive: bool, + ?TemplateItemName: string, + ?Type: StyleParam.UpdateMenuType, + ?Visible: bool, + ?X: float, + ?XAnchor: StyleParam.XAnchorPosition, + ?Y: float, + ?YAnchor: StyleParam.YAnchorPosition ) = UpdateMenu() |> UpdateMenu.style ( @@ -101,22 +101,22 @@ type UpdateMenu() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Active: int, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Buttons: seq<UpdateMenuButton>, - [<Optional; DefaultParameterValue(null)>] ?Direction: StyleParam.UpdateMenuDirection, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Pad: Padding, - [<Optional; DefaultParameterValue(null)>] ?ShowActive: bool, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.UpdateMenuType, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?XAnchor: StyleParam.XAnchorPosition, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?YAnchor: StyleParam.YAnchorPosition + ?Active: int, + ?BGColor: Color, + ?BorderColor: Color, + ?Buttons: seq<UpdateMenuButton>, + ?Direction: StyleParam.UpdateMenuDirection, + ?Font: Font, + ?Name: string, + ?Pad: Padding, + ?ShowActive: bool, + ?TemplateItemName: string, + ?Type: StyleParam.UpdateMenuType, + ?Visible: bool, + ?X: float, + ?XAnchor: StyleParam.XAnchorPosition, + ?Y: float, + ?YAnchor: StyleParam.YAnchorPosition ) = (fun (updateMenu: UpdateMenu) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Map/Geo.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Map/Geo.fs index 997e90dc5..93c8a0f0c 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Map/Geo.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Map/Geo.fs @@ -44,37 +44,37 @@ type Geo() = /// <param name="LonAxis">Sets the longitudinal axis for this geo trace</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?FitBounds: StyleParam.GeoFitBounds, - [<Optional; DefaultParameterValue(null)>] ?Resolution: StyleParam.GeoResolution, - [<Optional; DefaultParameterValue(null)>] ?Scope: StyleParam.GeoScope, - [<Optional; DefaultParameterValue(null)>] ?Projection: GeoProjection, - [<Optional; DefaultParameterValue(null)>] ?Center: (float * float), - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?ShowCoastLines: bool, - [<Optional; DefaultParameterValue(null)>] ?CoastLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?CoastLineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowLand: bool, - [<Optional; DefaultParameterValue(null)>] ?LandColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowOcean: bool, - [<Optional; DefaultParameterValue(null)>] ?OceanColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowLakes: bool, - [<Optional; DefaultParameterValue(null)>] ?LakeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowRivers: bool, - [<Optional; DefaultParameterValue(null)>] ?RiverColor: Color, - [<Optional; DefaultParameterValue(null)>] ?RiverWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowCountries: bool, - [<Optional; DefaultParameterValue(null)>] ?CountryColor: Color, - [<Optional; DefaultParameterValue(null)>] ?CountryWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowSubunits: bool, - [<Optional; DefaultParameterValue(null)>] ?SubunitColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SubunitWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowFrame: bool, - [<Optional; DefaultParameterValue(null)>] ?FrameColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FrameWidth: float, - [<Optional; DefaultParameterValue(null)>] ?BgColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LatAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?LonAxis: LinearAxis + ?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 ) = Geo() |> Geo.style ( @@ -145,37 +145,37 @@ type Geo() = /// <param name="LonAxis">Sets the longitudinal axis for this geo trace</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?FitBounds: StyleParam.GeoFitBounds, - [<Optional; DefaultParameterValue(null)>] ?Resolution: StyleParam.GeoResolution, - [<Optional; DefaultParameterValue(null)>] ?Scope: StyleParam.GeoScope, - [<Optional; DefaultParameterValue(null)>] ?Projection: GeoProjection, - [<Optional; DefaultParameterValue(null)>] ?Center: (float * float), - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?ShowCoastLines: bool, - [<Optional; DefaultParameterValue(null)>] ?CoastLineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?CoastLineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowLand: bool, - [<Optional; DefaultParameterValue(null)>] ?LandColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowOcean: bool, - [<Optional; DefaultParameterValue(null)>] ?OceanColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowLakes: bool, - [<Optional; DefaultParameterValue(null)>] ?LakeColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowRivers: bool, - [<Optional; DefaultParameterValue(null)>] ?RiverColor: Color, - [<Optional; DefaultParameterValue(null)>] ?RiverWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowCountries: bool, - [<Optional; DefaultParameterValue(null)>] ?CountryColor: Color, - [<Optional; DefaultParameterValue(null)>] ?CountryWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowSubunits: bool, - [<Optional; DefaultParameterValue(null)>] ?SubunitColor: Color, - [<Optional; DefaultParameterValue(null)>] ?SubunitWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowFrame: bool, - [<Optional; DefaultParameterValue(null)>] ?FrameColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FrameWidth: float, - [<Optional; DefaultParameterValue(null)>] ?BgColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LatAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?LonAxis: LinearAxis + ?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 ) = fun (geo: Geo) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Map/GeoProjection.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Map/GeoProjection.fs index 64b946f5a..7124b42d0 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Map/GeoProjection.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Map/GeoProjection.fs @@ -15,9 +15,9 @@ type GeoProjectionRotation() = /// <param name="Roll">Roll the map (in degrees) For example, a roll of "180" makes the map appear upside down.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Longitude: float, - [<Optional; DefaultParameterValue(null)>] ?Latitude: float, - [<Optional; DefaultParameterValue(null)>] ?Roll: int + ?Longitude: float, + ?Latitude: float, + ?Roll: int ) = GeoProjectionRotation() |> GeoProjectionRotation.style (?Longitude = Longitude, ?Latitude = Latitude, ?Roll = Roll) @@ -28,9 +28,9 @@ type GeoProjectionRotation() = /// <param name="Roll">Roll the map (in degrees) For example, a roll of "180" makes the map appear upside down.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Longitude: float, - [<Optional; DefaultParameterValue(null)>] ?Latitude: float, - [<Optional; DefaultParameterValue(null)>] ?Roll: int + ?Longitude: float, + ?Latitude: float, + ?Roll: int ) = fun (rotation: GeoProjectionRotation) -> @@ -51,9 +51,9 @@ type GeoProjection() = static member init ( projectionType: StyleParam.GeoProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Rotation: GeoProjectionRotation, - [<Optional; DefaultParameterValue(null)>] ?Parallels: (float * float), - [<Optional; DefaultParameterValue(null)>] ?Scale: float + ?Rotation: GeoProjectionRotation, + ?Parallels: (float * float), + ?Scale: float ) = GeoProjection() |> GeoProjection.style ( @@ -71,9 +71,9 @@ type GeoProjection() = static member style ( projectionType: StyleParam.GeoProjectionType, - [<Optional; DefaultParameterValue(null)>] ?Rotation: GeoProjectionRotation, - [<Optional; DefaultParameterValue(null)>] ?Parallels: (float * float), - [<Optional; DefaultParameterValue(null)>] ?Scale: float + ?Rotation: GeoProjectionRotation, + ?Parallels: (float * float), + ?Scale: float ) = fun (projection: GeoProjection) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Map/Mapbox.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Map/Mapbox.fs index 975d613c2..23485fe1e 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Map/Mapbox.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Map/Mapbox.fs @@ -24,15 +24,15 @@ type Mapbox() = /// <param name="Layers">Sets the layers of this Mapbox</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?AccessToken: string, - [<Optional; DefaultParameterValue(null)>] ?Style: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?Bounds: MapboxBounds, - [<Optional; DefaultParameterValue(null)>] ?Center: (float * float), - [<Optional; DefaultParameterValue(null)>] ?Zoom: float, - [<Optional; DefaultParameterValue(null)>] ?Bearing: float, - [<Optional; DefaultParameterValue(null)>] ?Pitch: float, - [<Optional; DefaultParameterValue(null)>] ?Layers: seq<MapboxLayer> + ?Domain: Domain, + ?AccessToken: string, + ?Style: StyleParam.MapboxStyle, + ?Bounds: MapboxBounds, + ?Center: (float * float), + ?Zoom: float, + ?Bearing: float, + ?Pitch: float, + ?Layers: seq<MapboxLayer> ) = Mapbox() |> Mapbox.style ( @@ -59,15 +59,15 @@ type Mapbox() = /// <param name="Layers">Sets the layers of this Mapbox</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?AccessToken: string, - [<Optional; DefaultParameterValue(null)>] ?Style: StyleParam.MapboxStyle, - [<Optional; DefaultParameterValue(null)>] ?Bounds: MapboxBounds, - [<Optional; DefaultParameterValue(null)>] ?Center: (float * float), - [<Optional; DefaultParameterValue(null)>] ?Zoom: float, - [<Optional; DefaultParameterValue(null)>] ?Bearing: float, - [<Optional; DefaultParameterValue(null)>] ?Pitch: float, - [<Optional; DefaultParameterValue(null)>] ?Layers: seq<MapboxLayer> + ?Domain: Domain, + ?AccessToken: string, + ?Style: StyleParam.MapboxStyle, + ?Bounds: MapboxBounds, + ?Center: (float * float), + ?Zoom: float, + ?Bearing: float, + ?Pitch: float, + ?Layers: seq<MapboxLayer> ) = fun (mapBox: Mapbox) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxBounds.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxBounds.fs index 383480478..3f442a4af 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxBounds.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxBounds.fs @@ -19,10 +19,10 @@ type MapboxBounds() = /// <param name="West">Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?East: float, - [<Optional; DefaultParameterValue(null)>] ?North: float, - [<Optional; DefaultParameterValue(null)>] ?South: float, - [<Optional; DefaultParameterValue(null)>] ?West: float + ?East: float, + ?North: float, + ?South: float, + ?West: float ) = MapboxBounds() |> MapboxBounds.style (?East = East, ?North = North, ?South = South, ?West = West) @@ -35,10 +35,10 @@ type MapboxBounds() = /// <param name="West">Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?East: float, - [<Optional; DefaultParameterValue(null)>] ?North: float, - [<Optional; DefaultParameterValue(null)>] ?South: float, - [<Optional; DefaultParameterValue(null)>] ?West: float + ?East: float, + ?North: float, + ?South: float, + ?West: float ) = fun (mapboxBounds: MapboxBounds) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxCluster.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxCluster.fs index e390ec21a..13b399e12 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxCluster.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxCluster.fs @@ -23,14 +23,14 @@ type MapboxCluster() = /// <param name="MultiStep">Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Enabled: bool, - [<Optional; DefaultParameterValue(null)>] ?MaxZoom: float, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Size: int, - [<Optional; DefaultParameterValue(null)>] ?MultiSize: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?Step: int, - [<Optional; DefaultParameterValue(null)>] ?MultiStep: seq<int> + ?Color: Color, + ?Enabled: bool, + ?MaxZoom: float, + ?Opacity: float, + ?Size: int, + ?MultiSize: seq<int>, + ?Step: int, + ?MultiStep: seq<int> ) = MapboxCluster() |> MapboxCluster.style ( @@ -57,14 +57,14 @@ type MapboxCluster() = /// <param name="MultiStep">Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Enabled: bool, - [<Optional; DefaultParameterValue(null)>] ?MaxZoom: float, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Size: int, - [<Optional; DefaultParameterValue(null)>] ?MultiSize: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?Step: int, - [<Optional; DefaultParameterValue(null)>] ?MultiStep: seq<int> + ?Color: Color, + ?Enabled: bool, + ?MaxZoom: float, + ?Opacity: float, + ?Size: int, + ?MultiSize: seq<int>, + ?Step: int, + ?MultiStep: seq<int> ) = fun (mapboxCluster: MapboxCluster) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxLayer.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxLayer.fs index baf700109..399707ee8 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxLayer.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxLayer.fs @@ -14,23 +14,23 @@ type MapboxLayer() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?SourceType: StyleParam.MapboxLayerSourceType, - [<Optional; DefaultParameterValue(null)>] ?Source: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?SourceLayer: string, - [<Optional; DefaultParameterValue(null)>] ?SourceAttribution: string, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.MapboxLayerType, - [<Optional; DefaultParameterValue(null)>] ?Coordinates: seq<#IConvertible * #IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MinZoom: float, - [<Optional; DefaultParameterValue(null)>] ?MaxZoom: float, - [<Optional; DefaultParameterValue(null)>] ?CircleRadius: float, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?FillOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Symbol: MapboxLayerSymbol, - [<Optional; DefaultParameterValue(null)>] ?Name: string + ?Visible: bool, + ?SourceType: StyleParam.MapboxLayerSourceType, + ?Source: #IConvertible, + ?SourceLayer: string, + ?SourceAttribution: string, + ?Type: StyleParam.MapboxLayerType, + ?Coordinates: seq<#IConvertible * #IConvertible>, + ?Below: string, + ?Color: Color, + ?Opacity: float, + ?MinZoom: float, + ?MaxZoom: float, + ?CircleRadius: float, + ?Line: Line, + ?FillOutlineColor: Color, + ?Symbol: MapboxLayerSymbol, + ?Name: string ) = MapboxLayer() |> MapboxLayer.style ( @@ -57,23 +57,23 @@ type MapboxLayer() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?SourceType: StyleParam.MapboxLayerSourceType, - [<Optional; DefaultParameterValue(null)>] ?Source: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?SourceLayer: string, - [<Optional; DefaultParameterValue(null)>] ?SourceAttribution: string, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.MapboxLayerType, - [<Optional; DefaultParameterValue(null)>] ?Coordinates: seq<#IConvertible * #IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MinZoom: float, - [<Optional; DefaultParameterValue(null)>] ?MaxZoom: float, - [<Optional; DefaultParameterValue(null)>] ?CircleRadius: float, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?FillOutlineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Symbol: MapboxLayerSymbol, - [<Optional; DefaultParameterValue(null)>] ?Name: string + ?Visible: bool, + ?SourceType: StyleParam.MapboxLayerSourceType, + ?Source: #IConvertible, + ?SourceLayer: string, + ?SourceAttribution: string, + ?Type: StyleParam.MapboxLayerType, + ?Coordinates: seq<#IConvertible * #IConvertible>, + ?Below: string, + ?Color: Color, + ?Opacity: float, + ?MinZoom: float, + ?MaxZoom: float, + ?CircleRadius: float, + ?Line: Line, + ?FillOutlineColor: Color, + ?Symbol: MapboxLayerSymbol, + ?Name: string ) = fun (mapBoxLayer: MapboxLayer) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxLayerSymbol.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxLayerSymbol.fs index 658424fe0..915f042fd 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxLayerSymbol.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Map/MapboxLayerSymbol.fs @@ -14,12 +14,12 @@ type MapboxLayerSymbol() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Icon: string, - [<Optional; DefaultParameterValue(null)>] ?IconSize: float, - [<Optional; DefaultParameterValue(null)>] ?Text: string, - [<Optional; DefaultParameterValue(null)>] ?Placement: StyleParam.MapboxLayerSymbolPlacement, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition + ?Icon: string, + ?IconSize: float, + ?Text: string, + ?Placement: StyleParam.MapboxLayerSymbolPlacement, + ?TextFont: Font, + ?TextPosition: StyleParam.TextPosition ) = MapboxLayerSymbol() |> MapboxLayerSymbol.style ( @@ -35,12 +35,12 @@ type MapboxLayerSymbol() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Icon: string, - [<Optional; DefaultParameterValue(null)>] ?IconSize: float, - [<Optional; DefaultParameterValue(null)>] ?Text: string, - [<Optional; DefaultParameterValue(null)>] ?Placement: StyleParam.MapboxLayerSymbolPlacement, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition + ?Icon: string, + ?IconSize: float, + ?Text: string, + ?Placement: StyleParam.MapboxLayerSymbolPlacement, + ?TextFont: Font, + ?TextPosition: StyleParam.TextPosition ) = fun (mapBoxLayerSymbol: MapboxLayerSymbol) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Polar/AngularAxis.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Polar/AngularAxis.fs index b421523bc..fdda0020b 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Polar/AngularAxis.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Polar/AngularAxis.fs @@ -60,51 +60,51 @@ type AngularAxis() = /// <param name="Layer">Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to "false" to show markers and/or text nodes above this axis.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?CategoryOrder: StyleParam.CategoryOrder, - [<Optional; DefaultParameterValue(null)>] ?CategoryArray: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ThetaUnit: StyleParam.AngularUnit, - [<Optional; DefaultParameterValue(null)>] ?Period: float, - [<Optional; DefaultParameterValue(null)>] ?Direction: StyleParam.Direction, - [<Optional; DefaultParameterValue(null)>] ?Rotation: int, - [<Optional; DefaultParameterValue(null)>] ?HoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: int, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: int, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Tick0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DTick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?TickLabelStep: int, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer + ?Visible: bool, + ?AxisType: StyleParam.AxisType, + ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, + ?CategoryOrder: StyleParam.CategoryOrder, + ?CategoryArray: seq<#IConvertible>, + ?ThetaUnit: StyleParam.AngularUnit, + ?Period: float, + ?Direction: StyleParam.Direction, + ?Rotation: int, + ?HoverFormat: string, + ?UIRevision: #IConvertible, + ?Color: Color, + ?ShowLine: bool, + ?LineColor: Color, + ?LineWidth: int, + ?ShowGrid: bool, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: int, + ?TickMode: StyleParam.TickMode, + ?NTicks: int, + ?Tick0: #IConvertible, + ?DTick: #IConvertible, + ?TickVals: seq<#IConvertible>, + ?TickText: seq<#IConvertible>, + ?Ticks: StyleParam.TickOptions, + ?TickLen: int, + ?TickWidth: int, + ?TickColor: Color, + ?ShowTickLabels: bool, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?TickPrefix: string, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?TickSuffix: string, + ?ShowExponent: StyleParam.ShowExponent, + ?ExponentFormat: StyleParam.ExponentFormat, + ?MinExponent: float, + ?SeparateThousands: bool, + ?TickFont: Font, + ?TickAngle: int, + ?TickFormat: string, + ?TickFormatStops: seq<TickFormatStop>, + ?TickLabelStep: int, + ?LabelAlias: DynamicObj, + ?Layer: StyleParam.Layer ) = AngularAxis() |> AngularAxis.style ( @@ -205,51 +205,51 @@ type AngularAxis() = /// <param name="Layer">Sets the layer on which this axis is displayed. If "above traces", this axis is displayed above all the subplot's traces If "below traces", this axis is displayed below all the subplot's traces, but above the grid lines. Useful when used together with scatter-like traces with `cliponaxis` set to "false" to show markers and/or text nodes above this axis.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?CategoryOrder: StyleParam.CategoryOrder, - [<Optional; DefaultParameterValue(null)>] ?CategoryArray: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ThetaUnit: StyleParam.AngularUnit, - [<Optional; DefaultParameterValue(null)>] ?Period: float, - [<Optional; DefaultParameterValue(null)>] ?Direction: StyleParam.Direction, - [<Optional; DefaultParameterValue(null)>] ?Rotation: int, - [<Optional; DefaultParameterValue(null)>] ?HoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: int, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: int, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Tick0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DTick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?TickLabelStep: int, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer + ?Visible: bool, + ?AxisType: StyleParam.AxisType, + ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, + ?CategoryOrder: StyleParam.CategoryOrder, + ?CategoryArray: seq<#IConvertible>, + ?ThetaUnit: StyleParam.AngularUnit, + ?Period: float, + ?Direction: StyleParam.Direction, + ?Rotation: int, + ?HoverFormat: string, + ?UIRevision: #IConvertible, + ?Color: Color, + ?ShowLine: bool, + ?LineColor: Color, + ?LineWidth: int, + ?ShowGrid: bool, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: int, + ?TickMode: StyleParam.TickMode, + ?NTicks: int, + ?Tick0: #IConvertible, + ?DTick: #IConvertible, + ?TickVals: seq<#IConvertible>, + ?TickText: seq<#IConvertible>, + ?Ticks: StyleParam.TickOptions, + ?TickLen: int, + ?TickWidth: int, + ?TickColor: Color, + ?ShowTickLabels: bool, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?TickPrefix: string, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?TickSuffix: string, + ?ShowExponent: StyleParam.ShowExponent, + ?ExponentFormat: StyleParam.ExponentFormat, + ?MinExponent: float, + ?SeparateThousands: bool, + ?TickFont: Font, + ?TickAngle: int, + ?TickFormat: string, + ?TickFormatStops: seq<TickFormatStop>, + ?TickLabelStep: int, + ?LabelAlias: DynamicObj, + ?Layer: StyleParam.Layer ) = fun (angularAxis: AngularAxis) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Polar/Polar.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Polar/Polar.fs index 36bf8b523..7e11dbefb 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Polar/Polar.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Polar/Polar.fs @@ -22,14 +22,14 @@ type Polar() = /// <param name="UIRevision">Controls persistence of user-driven changes in axis attributes, if not overridden in the individual axes. Defaults to `layout.uirevision`.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Sector: float * float, - [<Optional; DefaultParameterValue(null)>] ?Hole: float, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?RadialAxis: RadialAxis, - [<Optional; DefaultParameterValue(null)>] ?AngularAxis: AngularAxis, - [<Optional; DefaultParameterValue(null)>] ?GridShape: StyleParam.PolarGridShape, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string + ?Domain: Domain, + ?Sector: float * float, + ?Hole: float, + ?BGColor: Color, + ?RadialAxis: RadialAxis, + ?AngularAxis: AngularAxis, + ?GridShape: StyleParam.PolarGridShape, + ?UIRevision: string ) = Polar() |> Polar.style ( @@ -58,16 +58,16 @@ type Polar() = /// <param name="BarGap">Sets the gap (in plot fraction) between bars of adjacent location coordinates.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Sector: float * float, - [<Optional; DefaultParameterValue(null)>] ?Hole: float, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?RadialAxis: RadialAxis, - [<Optional; DefaultParameterValue(null)>] ?AngularAxis: AngularAxis, - [<Optional; DefaultParameterValue(null)>] ?GridShape: StyleParam.PolarGridShape, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string, - [<Optional; DefaultParameterValue(null)>] ?BarMode: StyleParam.BarMode, - [<Optional; DefaultParameterValue(null)>] ?BarGap: float + ?Domain: Domain, + ?Sector: float * float, + ?Hole: float, + ?BGColor: Color, + ?RadialAxis: RadialAxis, + ?AngularAxis: AngularAxis, + ?GridShape: StyleParam.PolarGridShape, + ?UIRevision: string, + ?BarMode: StyleParam.BarMode, + ?BarGap: float ) = fun (polar: Polar) -> polar diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Polar/RadialAxis.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Polar/RadialAxis.fs index 78e603ca2..582f39162 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Polar/RadialAxis.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Polar/RadialAxis.fs @@ -65,57 +65,57 @@ type RadialAxis() = /// <param name="Calendar">Sets the calendar system to use for `range` and `tick0` if this is a date axis. This does not set the calendar for interpreting data on this axis, that's specified in the trace or via the global `layout.calendar`</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?AutoRange: StyleParam.AutoRange, - [<Optional; DefaultParameterValue(null)>] ?AutoRangeOptions: AutoRangeOptions, - [<Optional; DefaultParameterValue(null)>] ?RangeMode: StyleParam.RangeMode, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?CategoryOrder: StyleParam.CategoryOrder, - [<Optional; DefaultParameterValue(null)>] ?CategoryArray: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Angle: float, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Direction, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?HoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: int, - [<Optional; DefaultParameterValue(null)>] ?MaxAllowed: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MinAllowed: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: int, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Tick0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DTick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?TickLabelStep: int, - [<Optional; DefaultParameterValue(null)>] ?Calendar: StyleParam.Calendar + ?Visible: bool, + ?AxisType: StyleParam.AxisType, + ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, + ?AutoRange: StyleParam.AutoRange, + ?AutoRangeOptions: AutoRangeOptions, + ?RangeMode: StyleParam.RangeMode, + ?Range: StyleParam.Range, + ?CategoryOrder: StyleParam.CategoryOrder, + ?CategoryArray: seq<#IConvertible>, + ?Angle: float, + ?Side: StyleParam.Direction, + ?Title: Title, + ?HoverFormat: string, + ?UIRevision: #IConvertible, + ?Color: Color, + ?ShowLine: bool, + ?LineColor: Color, + ?LineWidth: int, + ?MaxAllowed: #IConvertible, + ?MinAllowed: #IConvertible, + ?ShowGrid: bool, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: int, + ?TickMode: StyleParam.TickMode, + ?NTicks: int, + ?Tick0: #IConvertible, + ?DTick: #IConvertible, + ?TickVals: seq<#IConvertible>, + ?TickText: seq<#IConvertible>, + ?Ticks: StyleParam.TickOptions, + ?TickLen: int, + ?TickWidth: int, + ?TickColor: Color, + ?ShowTickLabels: bool, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?TickPrefix: string, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?TickSuffix: string, + ?ShowExponent: StyleParam.ShowExponent, + ?ExponentFormat: StyleParam.ExponentFormat, + ?MinExponent: float, + ?SeparateThousands: bool, + ?TickFont: Font, + ?TickAngle: int, + ?TickFormat: string, + ?TickFormatStops: seq<TickFormatStop>, + ?LabelAlias: DynamicObj, + ?Layer: StyleParam.Layer, + ?TickLabelStep: int, + ?Calendar: StyleParam.Calendar ) = RadialAxis() |> RadialAxis.style ( @@ -228,57 +228,57 @@ type RadialAxis() = /// <param name="Calendar">Sets the calendar system to use for `range` and `tick0` if this is a date axis. This does not set the calendar for interpreting data on this axis, that's specified in the trace or via the global `layout.calendar`</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType, - [<Optional; DefaultParameterValue(null)>] ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, - [<Optional; DefaultParameterValue(null)>] ?AutoRange: StyleParam.AutoRange, - [<Optional; DefaultParameterValue(null)>] ?AutoRangeOptions: AutoRangeOptions, - [<Optional; DefaultParameterValue(null)>] ?RangeMode: StyleParam.RangeMode, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?CategoryOrder: StyleParam.CategoryOrder, - [<Optional; DefaultParameterValue(null)>] ?CategoryArray: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Angle: float, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Direction, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?HoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: int, - [<Optional; DefaultParameterValue(null)>] ?MaxAllowed: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MinAllowed: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: int, - [<Optional; DefaultParameterValue(null)>] ?TickMode: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?NTicks: int, - [<Optional; DefaultParameterValue(null)>] ?Tick0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DTick: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickOptions, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?ShowExponent: StyleParam.ShowExponent, - [<Optional; DefaultParameterValue(null)>] ?ExponentFormat: StyleParam.ExponentFormat, - [<Optional; DefaultParameterValue(null)>] ?MinExponent: float, - [<Optional; DefaultParameterValue(null)>] ?SeparateThousands: bool, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormatStops: seq<TickFormatStop>, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?TickLabelStep: int, - [<Optional; DefaultParameterValue(null)>] ?Calendar: StyleParam.Calendar + ?Visible: bool, + ?AxisType: StyleParam.AxisType, + ?AutoTypeNumbers: StyleParam.AutoTypeNumbers, + ?AutoRange: StyleParam.AutoRange, + ?AutoRangeOptions: AutoRangeOptions, + ?RangeMode: StyleParam.RangeMode, + ?Range: StyleParam.Range, + ?CategoryOrder: StyleParam.CategoryOrder, + ?CategoryArray: seq<#IConvertible>, + ?Angle: float, + ?Side: StyleParam.Direction, + ?Title: Title, + ?HoverFormat: string, + ?UIRevision: #IConvertible, + ?Color: Color, + ?ShowLine: bool, + ?LineColor: Color, + ?LineWidth: int, + ?MaxAllowed: #IConvertible, + ?MinAllowed: #IConvertible, + ?ShowGrid: bool, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: int, + ?TickMode: StyleParam.TickMode, + ?NTicks: int, + ?Tick0: #IConvertible, + ?DTick: #IConvertible, + ?TickVals: seq<#IConvertible>, + ?TickText: seq<#IConvertible>, + ?Ticks: StyleParam.TickOptions, + ?TickLen: int, + ?TickWidth: int, + ?TickColor: Color, + ?ShowTickLabels: bool, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?TickPrefix: string, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?TickSuffix: string, + ?ShowExponent: StyleParam.ShowExponent, + ?ExponentFormat: StyleParam.ExponentFormat, + ?MinExponent: float, + ?SeparateThousands: bool, + ?TickFont: Font, + ?TickAngle: int, + ?TickFormat: string, + ?TickFormatStops: seq<TickFormatStop>, + ?LabelAlias: DynamicObj, + ?Layer: StyleParam.Layer, + ?TickLabelStep: int, + ?Calendar: StyleParam.Calendar ) = fun (radialAxis: RadialAxis) -> radialAxis diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Smith/ImaginaryAxis.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Smith/ImaginaryAxis.fs index 828e438d8..d139a7bf2 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Smith/ImaginaryAxis.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Smith/ImaginaryAxis.fs @@ -39,30 +39,30 @@ type ImaginaryAxis() = /// <param name="Visible">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</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: int, - [<Optional; DefaultParameterValue(null)>] ?HoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: int, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickLabelPosition, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool + ?Color: Color, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: int, + ?HoverFormat: string, + ?LabelAlias: DynamicObj, + ?Layer: StyleParam.Layer, + ?LineColor: Color, + ?LineWidth: int, + ?ShowGrid: bool, + ?ShowLine: bool, + ?ShowTickLabels: bool, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?TickColor: Color, + ?TickFont: Font, + ?TickFormat: string, + ?TickLen: int, + ?TickPrefix: string, + ?Ticks: StyleParam.TickLabelPosition, + ?TickSuffix: string, + ?TickVals: seq<#IConvertible>, + ?TickWidth: int, + ?Visible: bool ) = ImaginaryAxis() |> ImaginaryAxis.style ( @@ -122,30 +122,30 @@ type ImaginaryAxis() = /// <param name="Visible">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</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: int, - [<Optional; DefaultParameterValue(null)>] ?HoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: int, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickLabelPosition, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool + ?Color: Color, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: int, + ?HoverFormat: string, + ?LabelAlias: DynamicObj, + ?Layer: StyleParam.Layer, + ?LineColor: Color, + ?LineWidth: int, + ?ShowGrid: bool, + ?ShowLine: bool, + ?ShowTickLabels: bool, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?TickColor: Color, + ?TickFont: Font, + ?TickFormat: string, + ?TickLen: int, + ?TickPrefix: string, + ?Ticks: StyleParam.TickLabelPosition, + ?TickSuffix: string, + ?TickVals: seq<#IConvertible>, + ?TickWidth: int, + ?Visible: bool ) = fun (imaginaryAxis: ImaginaryAxis) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Smith/RealAxis.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Smith/RealAxis.fs index cbda84c34..dfc74640b 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Smith/RealAxis.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Smith/RealAxis.fs @@ -41,32 +41,32 @@ type RealAxis() = /// <param name="Visible">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</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: int, - [<Optional; DefaultParameterValue(null)>] ?HoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: int, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickLabelPosition, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool + ?Color: Color, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: int, + ?HoverFormat: string, + ?LabelAlias: DynamicObj, + ?Layer: StyleParam.Layer, + ?LineColor: Color, + ?LineWidth: int, + ?ShowGrid: bool, + ?ShowLine: bool, + ?ShowTickLabels: bool, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?Side: StyleParam.Side, + ?TickAngle: int, + ?TickColor: Color, + ?TickFont: Font, + ?TickFormat: string, + ?TickLen: int, + ?TickPrefix: string, + ?Ticks: StyleParam.TickLabelPosition, + ?TickSuffix: string, + ?TickVals: seq<#IConvertible>, + ?TickWidth: int, + ?Visible: bool ) = RealAxis() |> RealAxis.style ( @@ -129,32 +129,32 @@ type RealAxis() = /// <param name="Visible">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</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?GridColor: Color, - [<Optional; DefaultParameterValue(null)>] ?GridDash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?GridWidth: int, - [<Optional; DefaultParameterValue(null)>] ?HoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?LabelAlias: DynamicObj, - [<Optional; DefaultParameterValue(null)>] ?Layer: StyleParam.Layer, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: int, - [<Optional; DefaultParameterValue(null)>] ?ShowGrid: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowLine: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowTickSuffix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?ShowTickPrefix: StyleParam.ShowTickOption, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?TickAngle: int, - [<Optional; DefaultParameterValue(null)>] ?TickColor: Color, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: string, - [<Optional; DefaultParameterValue(null)>] ?TickLen: int, - [<Optional; DefaultParameterValue(null)>] ?TickPrefix: string, - [<Optional; DefaultParameterValue(null)>] ?Ticks: StyleParam.TickLabelPosition, - [<Optional; DefaultParameterValue(null)>] ?TickSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?TickVals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool + ?Color: Color, + ?GridColor: Color, + ?GridDash: StyleParam.DrawingStyle, + ?GridWidth: int, + ?HoverFormat: string, + ?LabelAlias: DynamicObj, + ?Layer: StyleParam.Layer, + ?LineColor: Color, + ?LineWidth: int, + ?ShowGrid: bool, + ?ShowLine: bool, + ?ShowTickLabels: bool, + ?ShowTickSuffix: StyleParam.ShowTickOption, + ?ShowTickPrefix: StyleParam.ShowTickOption, + ?Side: StyleParam.Side, + ?TickAngle: int, + ?TickColor: Color, + ?TickFont: Font, + ?TickFormat: string, + ?TickLen: int, + ?TickPrefix: string, + ?Ticks: StyleParam.TickLabelPosition, + ?TickSuffix: string, + ?TickVals: seq<#IConvertible>, + ?TickWidth: int, + ?Visible: bool ) = fun (realAxis: RealAxis) -> diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Smith/Smith.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Smith/Smith.fs index 98f1e061e..7ce43daac 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Smith/Smith.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Smith/Smith.fs @@ -18,10 +18,10 @@ type Smith() = /// <param name="RealAxis">Sets the real axis of this smith subplot</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?ImaginaryAxis: ImaginaryAxis, - [<Optional; DefaultParameterValue(null)>] ?RealAxis: RealAxis + ?BGColor: Color, + ?Domain: Domain, + ?ImaginaryAxis: ImaginaryAxis, + ?RealAxis: RealAxis ) = Smith() |> Smith.style ( @@ -41,10 +41,10 @@ type Smith() = /// <param name="RealAxis">Sets the real axis of this smith subplot</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?ImaginaryAxis: ImaginaryAxis, - [<Optional; DefaultParameterValue(null)>] ?RealAxis: RealAxis + ?BGColor: Color, + ?Domain: Domain, + ?ImaginaryAxis: ImaginaryAxis, + ?RealAxis: RealAxis ) = fun (smith: Smith) -> smith diff --git a/src/Plotly.NET/Layout/ObjectAbstractions/Ternary/Ternary.fs b/src/Plotly.NET/Layout/ObjectAbstractions/Ternary/Ternary.fs index 6799c2144..c6d27df34 100644 --- a/src/Plotly.NET/Layout/ObjectAbstractions/Ternary/Ternary.fs +++ b/src/Plotly.NET/Layout/ObjectAbstractions/Ternary/Ternary.fs @@ -19,12 +19,12 @@ type Ternary() = /// <param name="BGColor">Sets the background color of the ternary layout.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?AAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?BAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?CAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Sum: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color + ?AAxis: LinearAxis, + ?BAxis: LinearAxis, + ?CAxis: LinearAxis, + ?Domain: Domain, + ?Sum: #IConvertible, + ?BGColor: Color ) = Ternary() |> Ternary.style ( @@ -47,12 +47,12 @@ type Ternary() = /// <param name="BGColor">Sets the background color of the ternary layout.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?AAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?BAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?CAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Sum: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color + ?AAxis: LinearAxis, + ?BAxis: LinearAxis, + ?CAxis: LinearAxis, + ?Domain: Domain, + ?Sum: #IConvertible, + ?BGColor: Color ) = fun (ternary: Ternary) -> ternary diff --git a/src/Plotly.NET/Plotly.NET.fsproj b/src/Plotly.NET/Plotly.NET.fsproj index 4431ce9e3..839ee387d 100644 --- a/src/Plotly.NET/Plotly.NET.fsproj +++ b/src/Plotly.NET/Plotly.NET.fsproj @@ -36,6 +36,13 @@ <ItemGroup> <EmbeddedResource Remove="Layout\ObjectAbstractions\2D\**" /> <EmbeddedResource Remove="Layout\ObjectAbstractions\Carpet\**" /> + <InternalsVisibleTo Include="Plotly.NET.CSharp" /> + <InternalsVisibleTo Include="FSharpTestBase" /> + <InternalsVisibleTo Include="CSharpTestBase" /> + <InternalsVisibleTo Include="CoreTests" /> + <InternalsVisibleTo Include="StrongNameTests" /> + <InternalsVisibleTo Include="CSharpTests" /> + <InternalsVisibleTo Include="ImageExportTests" /> </ItemGroup> <ItemGroup> <None Include="RELEASE_NOTES.md" /> @@ -163,7 +170,6 @@ <Compile Include="ChartAPI\ChartCarpet.fs" /> <Compile Include="ChartAPI\ChartDomain.fs" /> <Compile Include="ChartAPI\ChartSmith.fs" /> - <Compile Include="CSharpLayer\GenericChartExtensions.fs" /> <None Include="Playground.fsx" /> </ItemGroup> <ItemGroup> diff --git a/src/Plotly.NET/Templates/Template.fs b/src/Plotly.NET/Templates/Template.fs index c1044995e..dc8740386 100644 --- a/src/Plotly.NET/Templates/Template.fs +++ b/src/Plotly.NET/Templates/Template.fs @@ -9,13 +9,13 @@ open System.Runtime.InteropServices type Template() = inherit DynamicObj() - static member init(layoutTemplate: Layout, [<Optional; DefaultParameterValue(null)>] ?TraceTemplates: seq<#Trace>) = + static member init(layoutTemplate: Layout, ?TraceTemplates: seq<#Trace>) = Template() |> Template.style (layoutTemplate, ?TraceTemplates = TraceTemplates) static member style ( layoutTemplate: Layout, - [<Optional; DefaultParameterValue(null)>] ?TraceTemplates: seq<#Trace> + ?TraceTemplates: seq<#Trace> ) = fun (template: Template) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Bins.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Bins.fs index 94326e188..71bff83c5 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Bins.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Bins.fs @@ -13,9 +13,9 @@ type Bins() = // Init Bins() static member init ( - [<Optional; DefaultParameterValue(null)>] ?Start: float, - [<Optional; DefaultParameterValue(null)>] ?End: float, - [<Optional; DefaultParameterValue(null)>] ?Size: float + ?Start: float, + ?End: float, + ?Size: float ) = Bins() |> Bins.style (?Start = Start, ?End = End, ?Size = Size) @@ -23,9 +23,9 @@ type Bins() = // Applies the styles to Bins() static member style ( - [<Optional; DefaultParameterValue(null)>] ?Start: float, - [<Optional; DefaultParameterValue(null)>] ?End: float, - [<Optional; DefaultParameterValue(null)>] ?Size: float + ?Start: float, + ?End: float, + ?Size: float ) = fun (bins: Bins) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Box.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Box.fs index 9b47399c6..42193978b 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Box.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Box.fs @@ -13,11 +13,11 @@ type Box() = /// Initialized Line object static member init ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float + ?Visible: bool, + ?Width: float, + ?FillColor: Color, + ?LineColor: Color, + ?LineWidth: float ) = Box() |> Box.style ( @@ -32,11 +32,11 @@ type Box() = // Applies the styles to Line() static member style ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float + ?Visible: bool, + ?Width: float, + ?FillColor: Color, + ?LineColor: Color, + ?LineWidth: float ) = fun (box: Box) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Caps.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Caps.fs index ce1c112f7..54024e809 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Caps.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Caps.fs @@ -11,15 +11,15 @@ type CapFill() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Fill: float, - [<Optional; DefaultParameterValue(null)>] ?Show: bool + ?Fill: float, + ?Show: bool ) = CapFill() |> CapFill.style (?Fill = Fill, ?Show = Show) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Fill: float, - [<Optional; DefaultParameterValue(null)>] ?Show: bool + ?Fill: float, + ?Show: bool ) = fun (capFill: CapFill) -> @@ -34,18 +34,18 @@ type Caps() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?X: CapFill, - [<Optional; DefaultParameterValue(null)>] ?Y: CapFill, - [<Optional; DefaultParameterValue(null)>] ?Z: CapFill + ?X: CapFill, + ?Y: CapFill, + ?Z: CapFill ) = Caps() |> Caps.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [<Optional; DefaultParameterValue(null)>] ?X: CapFill, - [<Optional; DefaultParameterValue(null)>] ?Y: CapFill, - [<Optional; DefaultParameterValue(null)>] ?Z: CapFill + ?X: CapFill, + ?Y: CapFill, + ?Z: CapFill ) = fun (caps: Caps) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Contours.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Contours.fs index b33f3b7ce..0b806d21d 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Contours.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Contours.fs @@ -12,17 +12,17 @@ type ContourProject() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?X: bool, - [<Optional; DefaultParameterValue(null)>] ?Y: bool, - [<Optional; DefaultParameterValue(null)>] ?Z: bool + ?X: bool, + ?Y: bool, + ?Z: bool ) = ContourProject() |> ContourProject.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [<Optional; DefaultParameterValue(null)>] ?X: bool, - [<Optional; DefaultParameterValue(null)>] ?Y: bool, - [<Optional; DefaultParameterValue(null)>] ?Z: bool + ?X: bool, + ?Y: bool, + ?Z: bool ) = fun (contourProject: ContourProject) -> @@ -37,20 +37,19 @@ type Contour() = inherit DynamicObj() /// Initialized a Contour object - //[<CompiledName("init")>] static member init ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?End: float, - [<Optional; DefaultParameterValue(null)>] ?Highlight: bool, - [<Optional; DefaultParameterValue(null)>] ?HighlightColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HighlightWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Project: ContourProject, - [<Optional; DefaultParameterValue(null)>] ?Show: bool, - [<Optional; DefaultParameterValue(null)>] ?Size: float, - [<Optional; DefaultParameterValue(null)>] ?Start: float, - [<Optional; DefaultParameterValue(null)>] ?UseColorMap: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: float + ?Color: Color, + ?End: float, + ?Highlight: bool, + ?HighlightColor: Color, + ?HighlightWidth: float, + ?Project: ContourProject, + ?Show: bool, + ?Size: float, + ?Start: float, + ?UseColorMap: bool, + ?Width: float ) = Contour() |> Contour.style ( @@ -69,20 +68,19 @@ type Contour() = // Applies the styles to Contours() - //[<CompiledName("style")>] static member style ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?End: float, - [<Optional; DefaultParameterValue(null)>] ?Highlight: bool, - [<Optional; DefaultParameterValue(null)>] ?HighlightColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HighlightWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Project: ContourProject, - [<Optional; DefaultParameterValue(null)>] ?Show: bool, - [<Optional; DefaultParameterValue(null)>] ?Size: float, - [<Optional; DefaultParameterValue(null)>] ?Start: float, - [<Optional; DefaultParameterValue(null)>] ?UseColorMap: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: float + ?Color: Color, + ?End: float, + ?Highlight: bool, + ?HighlightColor: Color, + ?HighlightWidth: float, + ?Project: ContourProject, + ?Show: bool, + ?Size: float, + ?Start: float, + ?UseColorMap: bool, + ?Width: float ) = fun (contour: Contour) -> @@ -105,17 +103,17 @@ type Contours() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Coloring: StyleParam.ContourColoring, - [<Optional; DefaultParameterValue(null)>] ?End: float, - [<Optional; DefaultParameterValue(null)>] ?LabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?LabelFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Operation: StyleParam.ConstraintOperation, - [<Optional; DefaultParameterValue(null)>] ?ShowLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowLines: bool, - [<Optional; DefaultParameterValue(null)>] ?Size: float, - [<Optional; DefaultParameterValue(null)>] ?Start: float, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.ContourType, - [<Optional; DefaultParameterValue(null)>] ?Value: #IConvertible + ?Coloring: StyleParam.ContourColoring, + ?End: float, + ?LabelFont: Font, + ?LabelFormat: string, + ?Operation: StyleParam.ConstraintOperation, + ?ShowLabels: bool, + ?ShowLines: bool, + ?Size: float, + ?Start: float, + ?Type: StyleParam.ContourType, + ?Value: #IConvertible ) = Contours() |> Contours.style ( @@ -135,33 +133,31 @@ type Contours() = /// Initialized Contours object - //[<CompiledName("init")>] static member initSurface ( - [<Optional; DefaultParameterValue(null)>] ?X: Contour, - [<Optional; DefaultParameterValue(null)>] ?Y: Contour, - [<Optional; DefaultParameterValue(null)>] ?Z: Contour + ?X: Contour, + ?Y: Contour, + ?Z: Contour ) = Contours() |> Contours.style (?X = X, ?Y = Y, ?Z = Z) // Applies the styles to Contours() - //[<CompiledName("style")>] static member style ( - [<Optional; DefaultParameterValue(null)>] ?X: Contour, - [<Optional; DefaultParameterValue(null)>] ?Y: Contour, - [<Optional; DefaultParameterValue(null)>] ?Z: Contour, - [<Optional; DefaultParameterValue(null)>] ?Coloring: StyleParam.ContourColoring, - [<Optional; DefaultParameterValue(null)>] ?End: float, - [<Optional; DefaultParameterValue(null)>] ?LabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?LabelFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Operation: StyleParam.ConstraintOperation, - [<Optional; DefaultParameterValue(null)>] ?ShowLabels: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowLines: bool, - [<Optional; DefaultParameterValue(null)>] ?Size: float, - [<Optional; DefaultParameterValue(null)>] ?Start: float, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.ContourType, - [<Optional; DefaultParameterValue(null)>] ?Value: #IConvertible + ?X: Contour, + ?Y: Contour, + ?Z: Contour, + ?Coloring: StyleParam.ContourColoring, + ?End: float, + ?LabelFont: Font, + ?LabelFormat: string, + ?Operation: StyleParam.ConstraintOperation, + ?ShowLabels: bool, + ?ShowLines: bool, + ?Size: float, + ?Start: float, + ?Type: StyleParam.ContourType, + ?Value: #IConvertible ) = fun (contours: Contours) -> @@ -182,22 +178,20 @@ 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 ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?End: float, - [<Optional; DefaultParameterValue(null)>] ?Highlight: bool, - [<Optional; DefaultParameterValue(null)>] ?HighlightColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HighlightWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Project: ContourProject, - [<Optional; DefaultParameterValue(null)>] ?Show: bool, - [<Optional; DefaultParameterValue(null)>] ?Size: float, - [<Optional; DefaultParameterValue(null)>] ?Start: float, - [<Optional; DefaultParameterValue(null)>] ?UseColorMap: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: float + ?Color: Color, + ?End: float, + ?Highlight: bool, + ?HighlightColor: Color, + ?HighlightWidth: float, + ?Project: ContourProject, + ?Show: bool, + ?Size: float, + ?Start: float, + ?UseColorMap: bool, + ?Width: float ) = Contours() |> Contours.styleXyz ( @@ -215,20 +209,19 @@ type Contours() = ) // Applies the styles to Contours() - //[<CompiledName("styleXyz")>] static member styleXyz ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?End: float, - [<Optional; DefaultParameterValue(null)>] ?Highlight: bool, - [<Optional; DefaultParameterValue(null)>] ?HighlightColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HighlightWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Project: ContourProject, - [<Optional; DefaultParameterValue(null)>] ?Show: bool, - [<Optional; DefaultParameterValue(null)>] ?Size: float, - [<Optional; DefaultParameterValue(null)>] ?Start: float, - [<Optional; DefaultParameterValue(null)>] ?UseColorMap: bool, - [<Optional; DefaultParameterValue(null)>] ?Width: float + ?Color: Color, + ?End: float, + ?Highlight: bool, + ?HighlightColor: Color, + ?HighlightWidth: float, + ?Project: ContourProject, + ?Show: bool, + ?Size: float, + ?Start: float, + ?UseColorMap: bool, + ?Width: float ) = (fun (contours: Contours) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Cumulative.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Cumulative.fs index a8f841679..47c5d9210 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Cumulative.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Cumulative.fs @@ -23,9 +23,9 @@ type Cumulative() = // Init Cumulative() static member init ( - [<Optional; DefaultParameterValue(null)>] ?Enabled: bool, - [<Optional; DefaultParameterValue(null)>] ?Direction: StyleParam.CumulativeDirection, - [<Optional; DefaultParameterValue(null)>] ?Currentbin: StyleParam.Currentbin + ?Enabled: bool, + ?Direction: StyleParam.CumulativeDirection, + ?Currentbin: StyleParam.Currentbin ) = Cumulative() |> Cumulative.style (?Enabled = Enabled, ?Direction = Direction, ?Currentbin = Currentbin) @@ -33,9 +33,9 @@ type Cumulative() = // Applies the styles to Cumulative() static member style ( - [<Optional; DefaultParameterValue(null)>] ?Enabled: bool, - [<Optional; DefaultParameterValue(null)>] ?Direction: StyleParam.CumulativeDirection, - [<Optional; DefaultParameterValue(null)>] ?Currentbin: StyleParam.Currentbin + ?Enabled: bool, + ?Direction: StyleParam.CumulativeDirection, + ?Currentbin: StyleParam.Currentbin ) = fun (cumulative: Cumulative) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Dimensions.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Dimensions.fs index bdb06a8fb..a36a5746e 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Dimensions.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Dimensions.fs @@ -13,17 +13,17 @@ type Dimension() = /// Initializes dimensions object to be used with parcats and parcoords plots static member initParallel ( - [<Optional; DefaultParameterValue(null)>] ?ConstraintRange: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Label: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiSelect: bool, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Tickvals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool + ?ConstraintRange: StyleParam.Range, + ?Label: #IConvertible, + ?MultiSelect: bool, + ?Name: string, + ?Range: StyleParam.Range, + ?TemplateItemName: string, + ?TickFormat: StyleParam.TickMode, + ?TickText: seq<#IConvertible>, + ?Tickvals: seq<#IConvertible>, + ?Values: seq<#IConvertible>, + ?Visible: bool ) = Dimension() |> Dimension.style ( @@ -45,13 +45,13 @@ type Dimension() = /// Initializes dimensions object to be used with SPLOM plots static member initSplom ( - [<Optional; DefaultParameterValue(null)>] ?AxisMatches: bool, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType, - [<Optional; DefaultParameterValue(null)>] ?Label: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool + ?AxisMatches: bool, + ?AxisType: StyleParam.AxisType, + ?Label: #IConvertible, + ?Name: string, + ?TemplateItemName: string, + ?Values: seq<#IConvertible>, + ?Visible: bool ) = Dimension() |> Dimension.style ( @@ -69,19 +69,19 @@ type Dimension() = // Applies the styles to Dimensions() static member style ( - [<Optional; DefaultParameterValue(null)>] ?Label: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?ConstraintRange: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?MultiSelect: bool, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?TickFormat: StyleParam.TickMode, - [<Optional; DefaultParameterValue(null)>] ?TickText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Tickvals: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?AxisMatches: bool, - [<Optional; DefaultParameterValue(null)>] ?AxisType: StyleParam.AxisType + ?Label: #IConvertible, + ?Name: string, + ?TemplateItemName: string, + ?Values: seq<#IConvertible>, + ?Visible: bool, + ?ConstraintRange: StyleParam.Range, + ?MultiSelect: bool, + ?Range: StyleParam.Range, + ?TickFormat: StyleParam.TickMode, + ?TickText: seq<#IConvertible>, + ?Tickvals: seq<#IConvertible>, + ?AxisMatches: bool, + ?AxisType: StyleParam.AxisType ) = fun (dims: Dimension) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Error.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Error.fs index d9ee3e7f3..6cedddff5 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Error.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Error.fs @@ -28,19 +28,19 @@ type Error() = /// <param name ="Width">Sets the width (in px) of the cross-bar at both ends of the error bars.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.ErrorType, - [<Optional; DefaultParameterValue(null)>] ?Symmetric: bool, - [<Optional; DefaultParameterValue(null)>] ?Array: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Arrayminus: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Value: float, - [<Optional; DefaultParameterValue(null)>] ?Valueminus: float, - [<Optional; DefaultParameterValue(null)>] ?Traceref: int, - [<Optional; DefaultParameterValue(null)>] ?Tracerefminus: int, - [<Optional; DefaultParameterValue(null)>] ?Copy_ystyle: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?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 ) = Error() |> Error.style ( @@ -77,19 +77,19 @@ type Error() = /// <param name ="Width">Sets the width (in px) of the cross-bar at both ends of the error bars.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.ErrorType, - [<Optional; DefaultParameterValue(null)>] ?Symmetric: bool, - [<Optional; DefaultParameterValue(null)>] ?Array: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Arrayminus: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Value: float, - [<Optional; DefaultParameterValue(null)>] ?Valueminus: float, - [<Optional; DefaultParameterValue(null)>] ?Traceref: int, - [<Optional; DefaultParameterValue(null)>] ?Tracerefminus: int, - [<Optional; DefaultParameterValue(null)>] ?Copy_ystyle: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?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 (error: Error) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/FinanceMarker.fs b/src/Plotly.NET/Traces/ObjectAbstractions/FinanceMarker.fs index b8adfd151..120ce5e29 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/FinanceMarker.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/FinanceMarker.fs @@ -11,10 +11,10 @@ type FinanceMarker() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle + ?FillColor: Color, + ?LineColor: Color, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle ) = FinanceMarker() |> FinanceMarker.style ( @@ -27,10 +27,10 @@ type FinanceMarker() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineColor: Color, - [<Optional; DefaultParameterValue(null)>] ?LineWidth: float, - [<Optional; DefaultParameterValue(null)>] ?LineDash: StyleParam.DrawingStyle + ?FillColor: Color, + ?LineColor: Color, + ?LineWidth: float, + ?LineDash: StyleParam.DrawingStyle ) = fun (financeMarker: FinanceMarker) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/FunnelConnector.fs b/src/Plotly.NET/Traces/ObjectAbstractions/FunnelConnector.fs index 06d1cb9ea..40b20c05b 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/FunnelConnector.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/FunnelConnector.fs @@ -20,18 +20,18 @@ type FunnelConnector() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool + ?FillColor: Color, + ?Line: Line, + ?Visible: bool ) = FunnelConnector() |> FunnelConnector.style (?FillColor = FillColor, ?Line = Line, ?Visible = Visible) static member style ( - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool + ?FillColor: Color, + ?Line: Line, + ?Visible: bool ) = fun (connector: FunnelConnector) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Gradient.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Gradient.fs index 38145faae..177ce0922 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Gradient.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Gradient.fs @@ -11,17 +11,17 @@ type Gradient() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.GradientType, - [<Optional; DefaultParameterValue(null)>] ?MultiTypes: seq<StyleParam.GradientType> + ?Color: Color, + ?Type: StyleParam.GradientType, + ?MultiTypes: seq<StyleParam.GradientType> ) = Gradient() |> Gradient.style (?Color = Color, ?Type = Type, ?MultiTypes = MultiTypes) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.GradientType, - [<Optional; DefaultParameterValue(null)>] ?MultiTypes: seq<StyleParam.GradientType> + ?Color: Color, + ?Type: StyleParam.GradientType, + ?MultiTypes: seq<StyleParam.GradientType> ) = fun (gradient: Gradient) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Icicle.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Icicle.fs index ec8967739..83c8e7f78 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Icicle.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Icicle.fs @@ -9,10 +9,10 @@ open System.Runtime.InteropServices type IcicleRoot() = inherit DynamicObj() - static member init([<Optional; DefaultParameterValue(null)>] ?Color: Color) = + static member init(?Color: Color) = IcicleRoot() |> IcicleRoot.style (?Color = Color) - static member style([<Optional; DefaultParameterValue(null)>] ?Color: Color) = + static member style(?Color: Color) = fun (icicleRoot: IcicleRoot) -> icicleRoot |> DynObj.withOptionalProperty "color" Color @@ -20,10 +20,10 @@ type IcicleRoot() = type IcicleLeaf() = inherit DynamicObj() - static member init([<Optional; DefaultParameterValue(null)>] ?Opacity: float) = + static member init(?Opacity: float) = IcicleLeaf() |> IcicleLeaf.style (?Opacity = Opacity) - static member style([<Optional; DefaultParameterValue(null)>] ?Opacity: float) = + static member style(?Opacity: float) = fun (icicleLeaf: IcicleLeaf) -> icicleLeaf |> DynObj.withOptionalProperty "opacity" Opacity @@ -33,17 +33,17 @@ type IcicleTiling() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Flip: StyleParam.TilingFlip, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Pad: int + ?Flip: StyleParam.TilingFlip, + ?Orientation: StyleParam.Orientation, + ?Pad: int ) = IcicleTiling() |> IcicleTiling.style (?Flip = Flip, ?Orientation = Orientation, ?Pad = Pad) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Flip: StyleParam.TilingFlip, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Pad: int + ?Flip: StyleParam.TilingFlip, + ?Orientation: StyleParam.Orientation, + ?Pad: int ) = fun (icicleTiling: IcicleTiling) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Indicator.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Indicator.fs index 42e389dbf..d5680dc22 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Indicator.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Indicator.fs @@ -12,15 +12,15 @@ type IndicatorSymbol() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Symbol: string + ?Color: Color, + ?Symbol: string ) = IndicatorSymbol() |> IndicatorSymbol.style (?Color = Color, ?Symbol = Symbol) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Symbol: string + ?Color: Color, + ?Symbol: string ) = fun (indicatorDirection: IndicatorSymbol) -> @@ -45,15 +45,15 @@ type IndicatorDelta() = /// <param name="ValueFormat">Sets the value formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Decreasing: IndicatorSymbol, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Increasing: IndicatorSymbol, - [<Optional; DefaultParameterValue(null)>] ?Position: StyleParam.IndicatorDeltaPosition, - [<Optional; DefaultParameterValue(null)>] ?Prefix: string, - [<Optional; DefaultParameterValue(null)>] ?Reference: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Relative: bool, - [<Optional; DefaultParameterValue(null)>] ?Suffix: string, - [<Optional; DefaultParameterValue(null)>] ?ValueFormat: string + ?Decreasing: IndicatorSymbol, + ?Font: Font, + ?Increasing: IndicatorSymbol, + ?Position: StyleParam.IndicatorDeltaPosition, + ?Prefix: string, + ?Reference: #IConvertible, + ?Relative: bool, + ?Suffix: string, + ?ValueFormat: string ) = IndicatorDelta() |> IndicatorDelta.style ( @@ -82,15 +82,15 @@ type IndicatorDelta() = /// <param name="ValueFormat">Sets the value formatting rule using d3 formatting mini-languages which are very similar to those in Python. For numbers, see: https://github.com/d3/d3-format/tree/v1.4.5#d3-format.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Decreasing: IndicatorSymbol, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Increasing: IndicatorSymbol, - [<Optional; DefaultParameterValue(null)>] ?Position: StyleParam.IndicatorDeltaPosition, - [<Optional; DefaultParameterValue(null)>] ?Prefix: string, - [<Optional; DefaultParameterValue(null)>] ?Reference: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Relative: bool, - [<Optional; DefaultParameterValue(null)>] ?Suffix: string, - [<Optional; DefaultParameterValue(null)>] ?ValueFormat: string + ?Decreasing: IndicatorSymbol, + ?Font: Font, + ?Increasing: IndicatorSymbol, + ?Position: StyleParam.IndicatorDeltaPosition, + ?Prefix: string, + ?Reference: #IConvertible, + ?Relative: bool, + ?Suffix: string, + ?ValueFormat: string ) = fun (indicatorDelta: IndicatorDelta) -> @@ -110,20 +110,20 @@ type IndicatorNumber() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Prefix: string, - [<Optional; DefaultParameterValue(null)>] ?Suffix: string, - [<Optional; DefaultParameterValue(null)>] ?ValueFormat: string + ?Font: Font, + ?Prefix: string, + ?Suffix: string, + ?ValueFormat: string ) = IndicatorNumber() |> IndicatorNumber.style (?Font = Font, ?Prefix = Prefix, ?Suffix = Suffix, ?ValueFormat = ValueFormat) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Prefix: string, - [<Optional; DefaultParameterValue(null)>] ?Suffix: string, - [<Optional; DefaultParameterValue(null)>] ?ValueFormat: string + ?Font: Font, + ?Prefix: string, + ?Suffix: string, + ?ValueFormat: string ) = fun (indicatorNumber: IndicatorNumber) -> @@ -139,17 +139,17 @@ type IndicatorBar() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float + ?Color: Color, + ?Line: Line, + ?Thickness: float ) = IndicatorBar() |> IndicatorBar.style (?Color = Color, ?Line = Line, ?Thickness = Thickness) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float + ?Color: Color, + ?Line: Line, + ?Thickness: float ) = fun (indicatorBar: IndicatorBar) -> indicatorBar @@ -163,12 +163,12 @@ type IndicatorStep() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float + ?Color: Color, + ?Line: Line, + ?Name: string, + ?Range: StyleParam.Range, + ?TemplateItemName: string, + ?Thickness: float ) = IndicatorStep() |> IndicatorStep.style ( @@ -182,12 +182,12 @@ type IndicatorStep() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Range: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float + ?Color: Color, + ?Line: Line, + ?Name: string, + ?Range: StyleParam.Range, + ?TemplateItemName: string, + ?Thickness: float ) = fun (indicatorSteps: IndicatorStep) -> @@ -205,17 +205,17 @@ type IndicatorThreshold() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?Value: #IConvertible + ?Line: Line, + ?Thickness: float, + ?Value: #IConvertible ) = IndicatorThreshold() |> IndicatorThreshold.style (?Line = Line, ?Thickness = Thickness, ?Value = Value) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?Value: #IConvertible + ?Line: Line, + ?Thickness: float, + ?Value: #IConvertible ) = fun (indicatorThreshold: IndicatorThreshold) -> @@ -230,14 +230,14 @@ type IndicatorGauge() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Axis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?Bar: IndicatorBar, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Shape: StyleParam.IndicatorGaugeShape, - [<Optional; DefaultParameterValue(null)>] ?Steps: seq<IndicatorStep>, - [<Optional; DefaultParameterValue(null)>] ?Threshold: IndicatorThreshold + ?Axis: LinearAxis, + ?Bar: IndicatorBar, + ?BGColor: Color, + ?BorderColor: Color, + ?BorderWidth: int, + ?Shape: StyleParam.IndicatorGaugeShape, + ?Steps: seq<IndicatorStep>, + ?Threshold: IndicatorThreshold ) = IndicatorGauge() |> IndicatorGauge.style ( @@ -253,14 +253,14 @@ type IndicatorGauge() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Axis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?Bar: IndicatorBar, - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderColor: Color, - [<Optional; DefaultParameterValue(null)>] ?BorderWidth: int, - [<Optional; DefaultParameterValue(null)>] ?Shape: StyleParam.IndicatorGaugeShape, - [<Optional; DefaultParameterValue(null)>] ?Steps: seq<IndicatorStep>, - [<Optional; DefaultParameterValue(null)>] ?Threshold: IndicatorThreshold + ?Axis: LinearAxis, + ?Bar: IndicatorBar, + ?BGColor: Color, + ?BorderColor: Color, + ?BorderWidth: int, + ?Shape: StyleParam.IndicatorGaugeShape, + ?Steps: seq<IndicatorStep>, + ?Threshold: IndicatorThreshold ) = fun (indicatorGauge: IndicatorGauge) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Lighting.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Lighting.fs index 7107d1979..fe2f198d5 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Lighting.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Lighting.fs @@ -22,13 +22,13 @@ type Lighting() = /// <param name="VertexNormalEpsilon">Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Ambient: float, - [<Optional; DefaultParameterValue(null)>] ?Diffuse: float, - [<Optional; DefaultParameterValue(null)>] ?FaceNormalEpsilon: float, - [<Optional; DefaultParameterValue(null)>] ?Fresnel: float, - [<Optional; DefaultParameterValue(null)>] ?Roughness: float, - [<Optional; DefaultParameterValue(null)>] ?Specular: float, - [<Optional; DefaultParameterValue(null)>] ?VertexNormalEpsilon: float + ?Ambient: float, + ?Diffuse: float, + ?FaceNormalEpsilon: float, + ?Fresnel: float, + ?Roughness: float, + ?Specular: float, + ?VertexNormalEpsilon: float ) = Lighting() |> Lighting.style ( @@ -53,13 +53,13 @@ type Lighting() = /// <param name="VertexNormalEpsilon">Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Ambient: float, - [<Optional; DefaultParameterValue(null)>] ?Diffuse: float, - [<Optional; DefaultParameterValue(null)>] ?FaceNormalEpsilon: float, - [<Optional; DefaultParameterValue(null)>] ?Fresnel: float, - [<Optional; DefaultParameterValue(null)>] ?Roughness: float, - [<Optional; DefaultParameterValue(null)>] ?Specular: float, - [<Optional; DefaultParameterValue(null)>] ?VertexNormalEpsilon: float + ?Ambient: float, + ?Diffuse: float, + ?FaceNormalEpsilon: float, + ?Fresnel: float, + ?Roughness: float, + ?Specular: float, + ?VertexNormalEpsilon: float ) = fun (l: Lighting) -> @@ -83,9 +83,9 @@ type LightPosition() = /// <param name="Z"></param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = LightPosition() |> LightPosition.style (?X = X, ?Y = Y, ?Z = Z) @@ -97,9 +97,9 @@ type LightPosition() = /// <param name="Z"></param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?X: float, - [<Optional; DefaultParameterValue(null)>] ?Y: float, - [<Optional; DefaultParameterValue(null)>] ?Z: float + ?X: float, + ?Y: float, + ?Z: float ) = fun (lp: LightPosition) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Marker.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Marker.fs index 9d3847d5d..72da4260b 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Marker.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Marker.fs @@ -49,40 +49,40 @@ type Marker() = /// <param name="OutlierWidth">Sets the width of the outlier sample points.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Angle: float, - [<Optional; DefaultParameterValue(null)>] ?AngleRef: StyleParam.AngleRef, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Colors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?CornerRadius: int, - [<Optional; DefaultParameterValue(null)>] ?Gradient: Gradient, - [<Optional; DefaultParameterValue(null)>] ?Outline: Line, - [<Optional; DefaultParameterValue(null)>] ?MaxDisplayed: int, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Pattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Size: int, - [<Optional; DefaultParameterValue(null)>] ?MultiSize: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?SizeMin: int, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.MarkerSizeMode, - [<Optional; DefaultParameterValue(null)>] ?SizeRef: int, - [<Optional; DefaultParameterValue(null)>] ?StandOff: float, - [<Optional; DefaultParameterValue(null)>] ?MultiStandOff: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Symbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Symbol3D: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiSymbol3D: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?OutlierColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlierWidth: int + ?Angle: float, + ?AngleRef: StyleParam.AngleRef, + ?AutoColorScale: bool, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Color: Color, + ?Colors: seq<Color>, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?Colorscale: StyleParam.Colorscale, + ?CornerRadius: int, + ?Gradient: Gradient, + ?Outline: Line, + ?MaxDisplayed: int, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Pattern: Pattern, + ?ReverseScale: bool, + ?ShowScale: bool, + ?Size: int, + ?MultiSize: seq<int>, + ?SizeMin: int, + ?SizeMode: StyleParam.MarkerSizeMode, + ?SizeRef: int, + ?StandOff: float, + ?MultiStandOff: seq<float>, + ?Symbol: StyleParam.MarkerSymbol, + ?MultiSymbol: seq<StyleParam.MarkerSymbol>, + ?Symbol3D: StyleParam.MarkerSymbol3D, + ?MultiSymbol3D: seq<StyleParam.MarkerSymbol3D>, + ?OutlierColor: Color, + ?OutlierWidth: int ) = Marker() |> Marker.style ( @@ -161,40 +161,40 @@ type Marker() = /// <param name="OutlierWidth">Sets the width of the outlier sample points.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Angle: float, - [<Optional; DefaultParameterValue(null)>] ?AngleRef: StyleParam.AngleRef, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Colors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?CornerRadius: int, - [<Optional; DefaultParameterValue(null)>] ?Gradient: Gradient, - [<Optional; DefaultParameterValue(null)>] ?Outline: Line, - [<Optional; DefaultParameterValue(null)>] ?MaxDisplayed: int, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Pattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Size: int, - [<Optional; DefaultParameterValue(null)>] ?MultiSize: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?SizeMin: int, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.MarkerSizeMode, - [<Optional; DefaultParameterValue(null)>] ?SizeRef: int, - [<Optional; DefaultParameterValue(null)>] ?StandOff: float, - [<Optional; DefaultParameterValue(null)>] ?MultiStandOff: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Symbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Symbol3D: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiSymbol3D: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?OutlierColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlierWidth: int + ?Angle: float, + ?AngleRef: StyleParam.AngleRef, + ?AutoColorScale: bool, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Color: Color, + ?Colors: seq<Color>, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?Colorscale: StyleParam.Colorscale, + ?CornerRadius: int, + ?Gradient: Gradient, + ?Outline: Line, + ?MaxDisplayed: int, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Pattern: Pattern, + ?ReverseScale: bool, + ?ShowScale: bool, + ?Size: int, + ?MultiSize: seq<int>, + ?SizeMin: int, + ?SizeMode: StyleParam.MarkerSizeMode, + ?SizeRef: int, + ?StandOff: float, + ?MultiStandOff: seq<float>, + ?Symbol: StyleParam.MarkerSymbol, + ?MultiSymbol: seq<StyleParam.MarkerSymbol>, + ?Symbol3D: StyleParam.MarkerSymbol3D, + ?MultiSymbol3D: seq<StyleParam.MarkerSymbol3D>, + ?OutlierColor: Color, + ?OutlierWidth: int ) = (fun (marker: Marker) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/MeanLine.fs b/src/Plotly.NET/Traces/ObjectAbstractions/MeanLine.fs index 84cf107ed..3cc24d09a 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/MeanLine.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/MeanLine.fs @@ -13,9 +13,9 @@ type MeanLine() = /// Initialized Line object static member init ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Width: float + ?Visible: bool, + ?Color: Color, + ?Width: float ) = MeanLine() |> MeanLine.style (?Visible = Visible, ?Color = Color, ?Width = Width) @@ -23,9 +23,9 @@ type MeanLine() = // Applies the styles to Line() static member style ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Width: float + ?Visible: bool, + ?Color: Color, + ?Width: float ) = fun (line: MeanLine) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Pathbar.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Pathbar.fs index 9705fba47..427e4a435 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Pathbar.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Pathbar.fs @@ -24,11 +24,11 @@ type Pathbar() = ///Textfont : Sets the font used inside `pathbar`. static member init ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?EdgeShape: StyleParam.PathbarEdgeShape, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?Textfont: Font + ?Visible: bool, + ?Side: StyleParam.Side, + ?EdgeShape: StyleParam.PathbarEdgeShape, + ?Thickness: float, + ?Textfont: Font ) = Pathbar() @@ -55,11 +55,11 @@ type Pathbar() = ///Textfont : Sets the font used inside `pathbar`. static member style ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?EdgeShape: StyleParam.PathbarEdgeShape, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?Textfont: Font + ?Visible: bool, + ?Side: StyleParam.Side, + ?EdgeShape: StyleParam.PathbarEdgeShape, + ?Thickness: float, + ?Textfont: Font ) = fun (pathbar: Pathbar) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Pattern.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Pattern.fs index 18cc28513..3dda78620 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Pattern.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Pattern.fs @@ -23,15 +23,15 @@ type Pattern() = /// <param name="Solidity">Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FGOpacity: float, - [<Optional; DefaultParameterValue(null)>] ?FillMode: StyleParam.PatternFillMode, - [<Optional; DefaultParameterValue(null)>] ?Shape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?Size: int, - [<Optional; DefaultParameterValue(null)>] ?MultiSize: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?Solidity: float + ?BGColor: Color, + ?FGColor: Color, + ?FGOpacity: float, + ?FillMode: StyleParam.PatternFillMode, + ?Shape: StyleParam.PatternShape, + ?MultiShape: seq<StyleParam.PatternShape>, + ?Size: int, + ?MultiSize: seq<int>, + ?Solidity: float ) = Pattern() |> Pattern.style ( @@ -60,15 +60,15 @@ type Pattern() = /// <param name="Solidity">Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern.</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?BGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FGColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FGOpacity: float, - [<Optional; DefaultParameterValue(null)>] ?FillMode: StyleParam.PatternFillMode, - [<Optional; DefaultParameterValue(null)>] ?Shape: StyleParam.PatternShape, - [<Optional; DefaultParameterValue(null)>] ?MultiShape: seq<StyleParam.PatternShape>, - [<Optional; DefaultParameterValue(null)>] ?Size: int, - [<Optional; DefaultParameterValue(null)>] ?MultiSize: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?Solidity: float + ?BGColor: Color, + ?FGColor: Color, + ?FGOpacity: float, + ?FillMode: StyleParam.PatternFillMode, + ?Shape: StyleParam.PatternShape, + ?MultiShape: seq<StyleParam.PatternShape>, + ?Size: int, + ?MultiSize: seq<int>, + ?Solidity: float ) = fun (pattern: Pattern) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Projection.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Projection.fs index e705f18bd..d21c64a93 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Projection.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Projection.fs @@ -12,17 +12,17 @@ type ProjectionDimension() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Scale: float, - [<Optional; DefaultParameterValue(null)>] ?Show: bool + ?Opacity: float, + ?Scale: float, + ?Show: bool ) = ProjectionDimension() |> ProjectionDimension.style (?Opacity = Opacity, ?Scale = Scale, ?Show = Show) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Scale: float, - [<Optional; DefaultParameterValue(null)>] ?Show: bool + ?Opacity: float, + ?Scale: float, + ?Show: bool ) = fun (projectionDimension: ProjectionDimension) -> @@ -37,17 +37,17 @@ type Projection() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?X: ProjectionDimension, - [<Optional; DefaultParameterValue(null)>] ?Y: ProjectionDimension, - [<Optional; DefaultParameterValue(null)>] ?Z: ProjectionDimension + ?X: ProjectionDimension, + ?Y: ProjectionDimension, + ?Z: ProjectionDimension ) = Projection() |> Projection.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [<Optional; DefaultParameterValue(null)>] ?X: ProjectionDimension, - [<Optional; DefaultParameterValue(null)>] ?Y: ProjectionDimension, - [<Optional; DefaultParameterValue(null)>] ?Z: ProjectionDimension + ?X: ProjectionDimension, + ?Y: ProjectionDimension, + ?Z: ProjectionDimension ) = fun (projection: Projection) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Sankey.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Sankey.fs index bf3067ba1..9ae58ac34 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Sankey.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Sankey.fs @@ -11,19 +11,19 @@ type SankeyNodes() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Groups: seq<#seq<int>>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Label: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Pad: int, - [<Optional; DefaultParameterValue(null)>] ?Thickness: int, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible> + ?Color: Color, + ?CustomData: seq<#IConvertible>, + ?Groups: seq<#seq<int>>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverLabel: Hoverlabel, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?Label: seq<string>, + ?Line: Line, + ?Pad: int, + ?Thickness: int, + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible> ) = SankeyNodes() @@ -46,19 +46,19 @@ type SankeyNodes() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Groups: seq<#seq<int>>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Label: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Pad: int, - [<Optional; DefaultParameterValue(null)>] ?Thickness: int, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible> + ?Color: Color, + ?CustomData: seq<#IConvertible>, + ?Groups: seq<#seq<int>>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverLabel: Hoverlabel, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?Label: seq<string>, + ?Line: Line, + ?Pad: int, + ?Thickness: int, + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible> ) = fun (sankeyNodes: SankeyNodes) -> sankeyNodes @@ -80,12 +80,12 @@ type SankeyLinkColorscale() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?Label: string, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string + ?CMax: float, + ?CMin: float, + ?ColorScale: StyleParam.Colorscale, + ?Label: string, + ?Name: string, + ?TemplateItemName: string ) = SankeyLinkColorscale() @@ -101,12 +101,12 @@ type SankeyLinkColorscale() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?Label: string, - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?TemplateItemName: string + ?CMax: float, + ?CMin: float, + ?ColorScale: StyleParam.Colorscale, + ?Label: string, + ?Name: string, + ?TemplateItemName: string ) = fun (sankeyLinkColorscale: SankeyLinkColorscale) -> @@ -123,19 +123,19 @@ type SankeyLinks() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?ArrowLen: int, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ColorScales: seq<SankeyLinkColorscale>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Label: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Source: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?Target: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?Value: seq<#IConvertible> + ?ArrowLen: int, + ?Color: Color, + ?ColorScales: seq<SankeyLinkColorscale>, + ?CustomData: seq<#IConvertible>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverLabel: Hoverlabel, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?Label: seq<string>, + ?Line: Line, + ?Source: seq<int>, + ?Target: seq<int>, + ?Value: seq<#IConvertible> ) = SankeyLinks() @@ -158,19 +158,19 @@ type SankeyLinks() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?ArrowLen: int, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ColorScales: seq<SankeyLinkColorscale>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Label: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Source: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?Target: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?Value: seq<#IConvertible> + ?ArrowLen: int, + ?Color: Color, + ?ColorScales: seq<SankeyLinkColorscale>, + ?CustomData: seq<#IConvertible>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverLabel: Hoverlabel, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?Label: seq<string>, + ?Line: Line, + ?Source: seq<int>, + ?Target: seq<int>, + ?Value: seq<#IConvertible> ) = fun (sankeyLinks: SankeyLinks) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Slices.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Slices.fs index 655f2314a..0bbca8455 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Slices.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Slices.fs @@ -11,17 +11,17 @@ type SlicesFill() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Fill: float, - [<Optional; DefaultParameterValue(null)>] ?Locations: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Show: bool + ?Fill: float, + ?Locations: seq<#IConvertible>, + ?Show: bool ) = SlicesFill() |> SlicesFill.style (?Fill = Fill, ?Locations = Locations, ?Show = Show) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Fill: float, - [<Optional; DefaultParameterValue(null)>] ?Locations: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Show: bool + ?Fill: float, + ?Locations: seq<#IConvertible>, + ?Show: bool ) = fun (slicesFill: SlicesFill) -> @@ -37,18 +37,18 @@ type Slices() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?X: SlicesFill, - [<Optional; DefaultParameterValue(null)>] ?Y: SlicesFill, - [<Optional; DefaultParameterValue(null)>] ?Z: SlicesFill + ?X: SlicesFill, + ?Y: SlicesFill, + ?Z: SlicesFill ) = Slices() |> Slices.style (?X = X, ?Y = Y, ?Z = Z) static member style ( - [<Optional; DefaultParameterValue(null)>] ?X: SlicesFill, - [<Optional; DefaultParameterValue(null)>] ?Y: SlicesFill, - [<Optional; DefaultParameterValue(null)>] ?Z: SlicesFill + ?X: SlicesFill, + ?Y: SlicesFill, + ?Z: SlicesFill ) = fun (slices: Slices) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/SpaceFrame.fs b/src/Plotly.NET/Traces/ObjectAbstractions/SpaceFrame.fs index 3dbc72d36..245eae99e 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/SpaceFrame.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/SpaceFrame.fs @@ -11,15 +11,15 @@ type Spaceframe() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Fill: float, - [<Optional; DefaultParameterValue(null)>] ?Show: bool + ?Fill: float, + ?Show: bool ) = Spaceframe() |> Spaceframe.style (?Fill = Fill, ?Show = Show) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Fill: float, - [<Optional; DefaultParameterValue(null)>] ?Show: bool + ?Fill: float, + ?Show: bool ) = fun (spaceframe: Spaceframe) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/SplomDiagonal.fs b/src/Plotly.NET/Traces/ObjectAbstractions/SplomDiagonal.fs index 9647f8d70..4381ff51e 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/SplomDiagonal.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/SplomDiagonal.fs @@ -9,10 +9,10 @@ open System.Runtime.InteropServices type SplomDiagonal() = inherit DynamicObj() - static member init([<Optional; DefaultParameterValue(null)>] ?Visible: bool) = + static member init(?Visible: bool) = SplomDiagonal() |> SplomDiagonal.style (?Visible = Visible) - static member style([<Optional; DefaultParameterValue(null)>] ?Visible: bool) = + static member style(?Visible: bool) = fun (splomDiagonal: SplomDiagonal) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/StreamTubeStarts.fs b/src/Plotly.NET/Traces/ObjectAbstractions/StreamTubeStarts.fs index e1d36286e..693efadcd 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/StreamTubeStarts.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/StreamTubeStarts.fs @@ -18,9 +18,9 @@ type StreamTubeStarts() = /// <param name="Z">Sets the z components of the starting position of the streamtubes</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible> + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible>, + ?Z: seq<#IConvertible> ) = StreamTubeStarts() |> StreamTubeStarts.style (?X = X, ?Y = Y, ?Z = Z) @@ -33,9 +33,9 @@ type StreamTubeStarts() = /// <param name="Z">Sets the z components of the starting position of the streamtubes</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible> + ?X: seq<#IConvertible>, + ?Y: seq<#IConvertible>, + ?Z: seq<#IConvertible> ) = fun (streamTubeStarts: StreamTubeStarts) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Sunburst.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Sunburst.fs index 762b41f6e..24c7af241 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Sunburst.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Sunburst.fs @@ -10,11 +10,11 @@ open System.Runtime.InteropServices type SunburstRoot() = inherit DynamicObj() - static member init([<Optional; DefaultParameterValue(null)>] ?Color: Color) = + static member init(?Color: Color) = SunburstRoot() |> SunburstRoot.style (?Color = Color) - static member style([<Optional; DefaultParameterValue(null)>] ?Color: Color) = + static member style(?Color: Color) = fun (root: SunburstRoot) -> root |> DynObj.withOptionalProperty "color" Color @@ -22,11 +22,11 @@ type SunburstRoot() = type SunburstLeaf() = inherit DynamicObj() - static member init([<Optional; DefaultParameterValue(null)>] ?Opacity: float) = + static member init(?Opacity: float) = SunburstLeaf() |> SunburstLeaf.style (?Opacity = Opacity) - static member style([<Optional; DefaultParameterValue(null)>] ?Opacity: float) = + static member style(?Opacity: float) = fun (leaf: SunburstLeaf) -> leaf diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Surface.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Surface.fs index a099edeb3..2c1c38a51 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Surface.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Surface.fs @@ -11,19 +11,19 @@ type Surface() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Count: int, - [<Optional; DefaultParameterValue(null)>] ?Fill: float, - [<Optional; DefaultParameterValue(null)>] ?Pattern: StyleParam.SurfacePattern, - [<Optional; DefaultParameterValue(null)>] ?Show: bool + ?Count: int, + ?Fill: float, + ?Pattern: StyleParam.SurfacePattern, + ?Show: bool ) = Surface() |> Surface.style (?Count = Count, ?Fill = Fill, ?Pattern = Pattern, ?Show = Show) static member style ( - [<Optional; DefaultParameterValue(null)>] ?Count: int, - [<Optional; DefaultParameterValue(null)>] ?Fill: float, - [<Optional; DefaultParameterValue(null)>] ?Pattern: StyleParam.SurfacePattern, - [<Optional; DefaultParameterValue(null)>] ?Show: bool + ?Count: int, + ?Fill: float, + ?Pattern: StyleParam.SurfacePattern, + ?Show: bool ) = fun (surface: Surface) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/Table.fs b/src/Plotly.NET/Traces/ObjectAbstractions/Table.fs index e91553225..da60f429d 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/Table.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/Table.fs @@ -10,10 +10,10 @@ open System.Runtime.InteropServices type TableFill() = inherit DynamicObj() - static member init([<Optional; DefaultParameterValue(null)>] ?Color: Color) = + static member init(?Color: Color) = TableFill() |> TableFill.style (?Color = Color) - static member style([<Optional; DefaultParameterValue(null)>] ?Color: Color) = + static member style(?Color: Color) = fun (fill: TableFill) -> fill |> DynObj.withOptionalProperty "color" Color @@ -25,18 +25,18 @@ type TableCells() = /// Initialized Cells object static member init ( - [<Optional; DefaultParameterValue(null)>] ?Align: StyleParam.HorizontalAlign, - [<Optional; DefaultParameterValue(null)>] ?MultiAlign: seq<StyleParam.HorizontalAlign>, - [<Optional; DefaultParameterValue(null)>] ?Fill: TableFill, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Format: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Height: int, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Prefix: string, - [<Optional; DefaultParameterValue(null)>] ?MultiPrefix: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Suffix: string, - [<Optional; DefaultParameterValue(null)>] ?MultiSuffix: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#seq<#IConvertible>> + ?Align: StyleParam.HorizontalAlign, + ?MultiAlign: seq<StyleParam.HorizontalAlign>, + ?Fill: TableFill, + ?Font: Font, + ?Format: seq<string>, + ?Height: int, + ?Line: Line, + ?Prefix: string, + ?MultiPrefix: seq<string>, + ?Suffix: string, + ?MultiSuffix: seq<string>, + ?Values: seq<#seq<#IConvertible>> ) = TableCells() |> TableCells.style ( @@ -57,18 +57,18 @@ type TableCells() = //Applies the styles to TableCells() static member style ( - [<Optional; DefaultParameterValue(null)>] ?Align: StyleParam.HorizontalAlign, - [<Optional; DefaultParameterValue(null)>] ?MultiAlign: seq<StyleParam.HorizontalAlign>, - [<Optional; DefaultParameterValue(null)>] ?Fill: TableFill, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?Format: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Height: int, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Prefix: string, - [<Optional; DefaultParameterValue(null)>] ?MultiPrefix: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Suffix: string, - [<Optional; DefaultParameterValue(null)>] ?MultiSuffix: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#seq<#IConvertible>> + ?Align: StyleParam.HorizontalAlign, + ?MultiAlign: seq<StyleParam.HorizontalAlign>, + ?Fill: TableFill, + ?Font: Font, + ?Format: seq<string>, + ?Height: int, + ?Line: Line, + ?Prefix: string, + ?MultiPrefix: seq<string>, + ?Suffix: string, + ?MultiSuffix: seq<string>, + ?Values: seq<#seq<#IConvertible>> ) = fun (cells: TableCells) -> diff --git a/src/Plotly.NET/Traces/ObjectAbstractions/TraceSelection.fs b/src/Plotly.NET/Traces/ObjectAbstractions/TraceSelection.fs index 476dc2745..4a2043d82 100644 --- a/src/Plotly.NET/Traces/ObjectAbstractions/TraceSelection.fs +++ b/src/Plotly.NET/Traces/ObjectAbstractions/TraceSelection.fs @@ -18,9 +18,9 @@ type MarkerSelectionStyle() = /// <param name="Size">Sets the size of the selected/unselected markers</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Size: int + ?Opacity: float, + ?Color: Color, + ?Size: int ) = MarkerSelectionStyle() |> MarkerSelectionStyle.style (?Opacity = Opacity, ?Color = Color, ?Size = Size) @@ -32,9 +32,9 @@ type MarkerSelectionStyle() = /// <param name="Size">Sets the size of the selected/unselected markers</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Size: int + ?Opacity: float, + ?Color: Color, + ?Size: int ) = fun (markerSelectionStyle: MarkerSelectionStyle) -> @@ -54,8 +54,8 @@ type LineSelectionStyle() = /// <param name="Color">Sets the color of the selected/unselected lines</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color + ?Opacity: float, + ?Color: Color ) = LineSelectionStyle() |> LineSelectionStyle.style (?Opacity = Opacity, ?Color = Color) @@ -66,8 +66,8 @@ type LineSelectionStyle() = /// <param name="Color">Sets the color of the selected/unselected lines</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color + ?Opacity: float, + ?Color: Color ) = fun (lineSelectionStyle: LineSelectionStyle) -> @@ -83,14 +83,14 @@ type FontSelectionStyle() = /// Returns a new FontSelectionStyle object with the given styles /// </summary> /// <param name="Color">Sets the color of the selected/unselected text</param> - static member init([<Optional; DefaultParameterValue(null)>] ?Color: Color) = + static member init(?Color: Color) = FontSelectionStyle() |> FontSelectionStyle.style (?Color = Color) /// <summary> /// Returns a function that applies the given styles to a FontSelectionStyle object /// </summary> /// <param name="Color">Sets the color of the selected/unselected text</param> - static member style([<Optional; DefaultParameterValue(null)>] ?Color: Color) = + static member style(?Color: Color) = fun (fontSelectionStyle: FontSelectionStyle) -> fontSelectionStyle @@ -110,9 +110,9 @@ type TraceSelection() = /// <param name="FontSelectionStyle">Sets the styles of the selected/unselected texts</param> static member init ( - [<Optional; DefaultParameterValue(null)>] ?MarkerSelectionStyle: MarkerSelectionStyle, - [<Optional; DefaultParameterValue(null)>] ?LineSelectionStyle: LineSelectionStyle, - [<Optional; DefaultParameterValue(null)>] ?FontSelectionStyle: FontSelectionStyle + ?MarkerSelectionStyle: MarkerSelectionStyle, + ?LineSelectionStyle: LineSelectionStyle, + ?FontSelectionStyle: FontSelectionStyle ) = TraceSelection() |> TraceSelection.style ( @@ -129,9 +129,9 @@ type TraceSelection() = /// <param name="FontSelectionStyle">Sets the styles of the selected/unselected texts</param> static member style ( - [<Optional; DefaultParameterValue(null)>] ?MarkerSelectionStyle: MarkerSelectionStyle, - [<Optional; DefaultParameterValue(null)>] ?LineSelectionStyle: LineSelectionStyle, - [<Optional; DefaultParameterValue(null)>] ?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([<Optional; DefaultParameterValue(null)>] ?Color: Color) = + static member init(?Color: Color) = TreemapRoot() |> TreemapRoot.style (?Color = Color) - static member style([<Optional; DefaultParameterValue(null)>] ?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([<Optional; DefaultParameterValue(null)>] ?Opacity: float) = + static member init(?Opacity: float) = TreemapLeaf() |> TreemapLeaf.style (?Opacity = Opacity) - static member style([<Optional; DefaultParameterValue(null)>] ?Opacity: float) = + static member style(?Opacity: float) = fun (leaf: TreemapLeaf) -> leaf @@ -38,10 +38,10 @@ type TreemapTiling() = static member init ( - [<Optional; DefaultParameterValue(null)>] ?Packing: StyleParam.TreemapTilingPacking, - [<Optional; DefaultParameterValue(null)>] ?SquarifyRatio: float, - [<Optional; DefaultParameterValue(null)>] ?Flip: StyleParam.TilingFlip, - [<Optional; DefaultParameterValue(null)>] ?Pad: float + ?Packing: StyleParam.TreemapTilingPacking, + ?SquarifyRatio: float, + ?Flip: StyleParam.TilingFlip, + ?Pad: float ) = TreemapTiling() @@ -49,10 +49,10 @@ type TreemapTiling() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Packing: StyleParam.TreemapTilingPacking, - [<Optional; DefaultParameterValue(null)>] ?SquarifyRatio: float, - [<Optional; DefaultParameterValue(null)>] ?Flip: StyleParam.TilingFlip, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?ConnectorMode: StyleParam.ConnectorMode + ?Line: Line, + ?Visible: bool, + ?ConnectorMode: StyleParam.ConnectorMode ) = WaterfallConnector() @@ -30,9 +30,9 @@ type WaterfallConnector() = static member style ( - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="LegendGroupTitle">Sets the title for the chart's trace legend group </param> static member TraceInfo ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="OutlierWidth">Sets the width of the outlier sample points.</param> static member Marker ( - [<Optional; DefaultParameterValue(null)>] ?Angle: float, - [<Optional; DefaultParameterValue(null)>] ?AngleRef: StyleParam.AngleRef, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Colors: seq<Color>, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?CornerRadius: int, - [<Optional; DefaultParameterValue(null)>] ?Gradient: Gradient, - [<Optional; DefaultParameterValue(null)>] ?Outline: Line, - [<Optional; DefaultParameterValue(null)>] ?MaxDisplayed: int, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?MultiOpacity: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Pattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?Size: int, - [<Optional; DefaultParameterValue(null)>] ?MultiSize: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?SizeMin: int, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.MarkerSizeMode, - [<Optional; DefaultParameterValue(null)>] ?SizeRef: int, - [<Optional; DefaultParameterValue(null)>] ?StandOff: float, - [<Optional; DefaultParameterValue(null)>] ?MultiStandOff: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Symbol: StyleParam.MarkerSymbol, - [<Optional; DefaultParameterValue(null)>] ?MultiSymbol: seq<StyleParam.MarkerSymbol>, - [<Optional; DefaultParameterValue(null)>] ?Symbol3D: StyleParam.MarkerSymbol3D, - [<Optional; DefaultParameterValue(null)>] ?MultiSymbol3D: seq<StyleParam.MarkerSymbol3D>, - [<Optional; DefaultParameterValue(null)>] ?OutlierColor: Color, - [<Optional; DefaultParameterValue(null)>] ?OutlierWidth: int + ?Angle: float, + ?AngleRef: StyleParam.AngleRef, + ?AutoColorScale: bool, + ?CAuto: bool, + ?CMax: float, + ?CMid: float, + ?CMin: float, + ?Color: Color, + ?Colors: seq<Color>, + ?ColorAxis: StyleParam.SubPlotId, + ?ColorBar: ColorBar, + ?Colorscale: StyleParam.Colorscale, + ?CornerRadius: int, + ?Gradient: Gradient, + ?Outline: Line, + ?MaxDisplayed: int, + ?Opacity: float, + ?MultiOpacity: seq<float>, + ?Pattern: Pattern, + ?ReverseScale: bool, + ?ShowScale: bool, + ?Size: int, + ?MultiSize: seq<int>, + ?SizeMin: int, + ?SizeMode: StyleParam.MarkerSizeMode, + ?SizeRef: int, + ?StandOff: float, + ?MultiStandOff: seq<float>, + ?Symbol: StyleParam.MarkerSymbol, + ?MultiSymbol: seq<StyleParam.MarkerSymbol>, + ?Symbol3D: StyleParam.MarkerSymbol3D, + ?MultiSymbol3D: seq<StyleParam.MarkerSymbol3D>, + ?OutlierColor: Color, + ?OutlierWidth: int ) = (fun (trace: ('T :> Trace)) -> let marker = @@ -478,26 +478,26 @@ type TraceStyle() = /// <param name="OutlierWidth">Sets the width of the outline of outliers</param> static member Line ( - [<Optional; DefaultParameterValue(null)>] ?BackOff: StyleParam.BackOff, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Colorscale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?Dash: StyleParam.DrawingStyle, - [<Optional; DefaultParameterValue(null)>] ?Shape: StyleParam.Shape, - [<Optional; DefaultParameterValue(null)>] ?Simplify: bool, - [<Optional; DefaultParameterValue(null)>] ?Smoothing: float, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?OutlierColor: Color, - [<Optional; DefaultParameterValue(null)>] ?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<float>, + ?OutlierColor: Color, + ?OutlierWidth: float ) = (fun (trace: ('T :> Trace)) -> let line = @@ -546,19 +546,19 @@ type TraceStyle() = /// <param name ="Width">Sets the width (in px) of the cross-bar at both ends of the error bars.</param> static member XError ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.ErrorType, - [<Optional; DefaultParameterValue(null)>] ?Symmetric: bool, - [<Optional; DefaultParameterValue(null)>] ?Array: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Arrayminus: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Value: float, - [<Optional; DefaultParameterValue(null)>] ?Valueminus: float, - [<Optional; DefaultParameterValue(null)>] ?Traceref: int, - [<Optional; DefaultParameterValue(null)>] ?Tracerefminus: int, - [<Optional; DefaultParameterValue(null)>] ?Copy_ystyle: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name ="Width">Sets the width (in px) of the cross-bar at both ends of the error bars.</param> static member YError ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.ErrorType, - [<Optional; DefaultParameterValue(null)>] ?Symmetric: bool, - [<Optional; DefaultParameterValue(null)>] ?Array: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Arrayminus: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Value: float, - [<Optional; DefaultParameterValue(null)>] ?Valueminus: float, - [<Optional; DefaultParameterValue(null)>] ?Traceref: int, - [<Optional; DefaultParameterValue(null)>] ?Tracerefminus: int, - [<Optional; DefaultParameterValue(null)>] ?Copy_ystyle: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name ="Width">Sets the width (in px) of the cross-bar at both ends of the error bars.</param> static member ZError ( - [<Optional; DefaultParameterValue(null)>] ?Visible: bool, - [<Optional; DefaultParameterValue(null)>] ?Type: StyleParam.ErrorType, - [<Optional; DefaultParameterValue(null)>] ?Symmetric: bool, - [<Optional; DefaultParameterValue(null)>] ?Array: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Arrayminus: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Value: float, - [<Optional; DefaultParameterValue(null)>] ?Valueminus: float, - [<Optional; DefaultParameterValue(null)>] ?Traceref: int, - [<Optional; DefaultParameterValue(null)>] ?Tracerefminus: int, - [<Optional; DefaultParameterValue(null)>] ?Copy_ystyle: bool, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Thickness: float, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="Unselected">Sets the style of unselected points of this trace.</param> static member Selection ( - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection + ?SelectedPoints: seq<#IConvertible>, + ?Selected: TraceSelection, + ?Unselected: TraceSelection ) = fun (trace: #Trace) -> trace @@ -725,18 +725,18 @@ type TraceStyle() = /// <param name="TextFont">Sets the text font of this trace.</param> static member TextLabel ( - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?TextFont: Font ) = fun (trace: #Trace) -> trace @@ -754,10 +754,10 @@ type TraceStyle() = /// </summary> static member Domain ( - [<Optional; DefaultParameterValue(null)>] ?X: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Y: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?Row: int, - [<Optional; DefaultParameterValue(null)>] ?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 ( - [<Optional; DefaultParameterValue(null)>] ?X: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Y: StyleParam.LinearAxisId + ?X: StyleParam.LinearAxisId, + ?Y: StyleParam.LinearAxisId ) = fun (trace: Trace2D) -> trace @@ -178,71 +178,71 @@ type Trace2DStyle() = /// <param name="UIRevision">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.</param> static member Scatter ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DX: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DY: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?GroupNorm: StyleParam.GroupNorm, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?StackGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?XPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?YPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?XError: Error, - [<Optional; DefaultParameterValue(null)>] ?YError: Error, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?ClipOnAxis: bool, - [<Optional; DefaultParameterValue(null)>] ?ConnectGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?FillPattern: Pattern, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverOn: StyleParam.HoverOn, - [<Optional; DefaultParameterValue(null)>] ?StackGaps: StyleParam.StackGaps, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?YCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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<seq<#IConvertible>>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Bar ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DX: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DY: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Offset: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiOffset: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?XPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?YPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextAngle: float, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?XError: Error, - [<Optional; DefaultParameterValue(null)>] ?YError: Error, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?ClipOnAxis: bool, - [<Optional; DefaultParameterValue(null)>] ?Constraintext: StyleParam.ConstrainText, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?InsideTextAnchor: StyleParam.InsideTextAnchor, - [<Optional; DefaultParameterValue(null)>] ?InsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?OutsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?YCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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>>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?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<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Funnel ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DX: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DY: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?Offset: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?XPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?YPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextAngle: float, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ClipOnAxis: bool, - [<Optional; DefaultParameterValue(null)>] ?Connector: FunnelConnector, - [<Optional; DefaultParameterValue(null)>] ?Constraintext: StyleParam.ConstrainText, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?InsideTextAnchor: StyleParam.InsideTextAnchor, - [<Optional; DefaultParameterValue(null)>] ?InsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?OutsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?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>>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Width: float, + ?Offset: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Waterfall ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DX: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DY: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Measure: StyleParam.WaterfallMeasure seq, - [<Optional; DefaultParameterValue(null)>] ?Offset: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiOffset: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?XPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?YPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TextAngle: float, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ClipOnAxis: bool, - [<Optional; DefaultParameterValue(null)>] ?Connector: WaterfallConnector, - [<Optional; DefaultParameterValue(null)>] ?Constraintext: StyleParam.ConstrainText, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?InsideTextAnchor: StyleParam.InsideTextAnchor, - [<Optional; DefaultParameterValue(null)>] ?InsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?OutsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Totals: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?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>>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Base: #IConvertible, + ?Width: float, + ?MultiWidth: seq<float>, + ?Measure: StyleParam.WaterfallMeasure seq, + ?Offset: #IConvertible, + ?MultiOffset: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Histogram ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?HistFunc: StyleParam.HistFunc, - [<Optional; DefaultParameterValue(null)>] ?HistNorm: StyleParam.HistNorm, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?NBinsX: int, - [<Optional; DefaultParameterValue(null)>] ?NBinsY: int, - [<Optional; DefaultParameterValue(null)>] ?AutoBinX: bool, - [<Optional; DefaultParameterValue(null)>] ?AutoBinY: bool, - [<Optional; DefaultParameterValue(null)>] ?BinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?YBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextAngle: float, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?XError: Error, - [<Optional; DefaultParameterValue(null)>] ?YError: Error, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?ClipOnAxis: bool, - [<Optional; DefaultParameterValue(null)>] ?Constraintext: StyleParam.ConstrainText, - [<Optional; DefaultParameterValue(null)>] ?Cumulative: Cumulative, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?InsideTextAnchor: StyleParam.InsideTextAnchor, - [<Optional; DefaultParameterValue(null)>] ?InsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?OutsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?YCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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>>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member BoxPlot ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?LegendWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DX: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DY: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?XPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?YPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?BoxMean: StyleParam.BoxMean, - [<Optional; DefaultParameterValue(null)>] ?BoxPoints: StyleParam.BoxPoints, - [<Optional; DefaultParameterValue(null)>] ?Notched: bool, - [<Optional; DefaultParameterValue(null)>] ?NotchWidth: float, - [<Optional; DefaultParameterValue(null)>] ?ShowWhiskers: bool, - [<Optional; DefaultParameterValue(null)>] ?WhiskerWidth: float, - [<Optional; DefaultParameterValue(null)>] ?Q1: seq<IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Median: seq<IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Q3: seq<IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?LowerFence: seq<IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?UpperFence: seq<IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?NotchSpan: seq<IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Mean: seq<IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?SD: seq<IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?SDMultiple: float, - [<Optional; DefaultParameterValue(null)>] ?QuartileMethod: StyleParam.QuartileMethod, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverOn: StyleParam.HoverOn, - [<Optional; DefaultParameterValue(null)>] ?PointPos: float, - [<Optional; DefaultParameterValue(null)>] ?Jitter: float, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.BoxSizeMode, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?YCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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<seq<#IConvertible>>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Width: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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<IConvertible>, + ?Median: seq<IConvertible>, + ?Q3: seq<IConvertible>, + ?LowerFence: seq<IConvertible>, + ?UpperFence: seq<IConvertible>, + ?NotchSpan: seq<IConvertible>, + ?Mean: seq<IConvertible>, + ?SD: seq<IConvertible>, + ?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() = /// <param name="UIRevision">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.</param> static member Violin ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DX: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DY: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Width: float, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?AlignmentGroup: string, - [<Optional; DefaultParameterValue(null)>] ?OffsetGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Box: Box, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?BandWidth: float, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverOn: StyleParam.HoverOn, - [<Optional; DefaultParameterValue(null)>] ?PointPos: float, - [<Optional; DefaultParameterValue(null)>] ?Jitter: float, - [<Optional; DefaultParameterValue(null)>] ?MeanLine: MeanLine, - [<Optional; DefaultParameterValue(null)>] ?Points: StyleParam.JitterPoints, - [<Optional; DefaultParameterValue(null)>] ?ScaleGroup: string, - [<Optional; DefaultParameterValue(null)>] ?ScaleMode: StyleParam.ScaleMode, - [<Optional; DefaultParameterValue(null)>] ?Side: StyleParam.ViolinSide, - [<Optional; DefaultParameterValue(null)>] ?Span: StyleParam.Range, - [<Optional; DefaultParameterValue(null)>] ?SpanMode: StyleParam.SpanMode, - [<Optional; DefaultParameterValue(null)>] ?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>>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?Width: float, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Histogram2D ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?XGap: int, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?YGap: int, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?HistFunc: StyleParam.HistFunc, - [<Optional; DefaultParameterValue(null)>] ?HistNorm: StyleParam.HistNorm, - [<Optional; DefaultParameterValue(null)>] ?NBinsX: int, - [<Optional; DefaultParameterValue(null)>] ?NBinsY: int, - [<Optional; DefaultParameterValue(null)>] ?AutoBinX: bool, - [<Optional; DefaultParameterValue(null)>] ?AutoBinY: bool, - [<Optional; DefaultParameterValue(null)>] ?BinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XBinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?YBinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?YBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?ZHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?ZMin: float, - [<Optional; DefaultParameterValue(null)>] ?ZMid: float, - [<Optional; DefaultParameterValue(null)>] ?ZMax: float, - [<Optional; DefaultParameterValue(null)>] ?ZSmooth: StyleParam.SmoothAlg, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?YCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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>>, + ?XGap: int, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?YGap: int, + ?Z: seq<#seq<#IConvertible>>, + ?TextTemplate: string, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Histogram2DContour ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?HistFunc: StyleParam.HistFunc, - [<Optional; DefaultParameterValue(null)>] ?HistNorm: StyleParam.HistNorm, - [<Optional; DefaultParameterValue(null)>] ?NBinsX: int, - [<Optional; DefaultParameterValue(null)>] ?NBinsY: int, - [<Optional; DefaultParameterValue(null)>] ?AutoBinX: bool, - [<Optional; DefaultParameterValue(null)>] ?AutoBinY: bool, - [<Optional; DefaultParameterValue(null)>] ?BinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XBinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?XBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?YBinGroup: string, - [<Optional; DefaultParameterValue(null)>] ?YBins: Bins, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?ZHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Zmin: float, - [<Optional; DefaultParameterValue(null)>] ?Zmid: float, - [<Optional; DefaultParameterValue(null)>] ?Zmax: float, - [<Optional; DefaultParameterValue(null)>] ?AutoContour: bool, - [<Optional; DefaultParameterValue(null)>] ?Contours: Contours, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?NContours: int, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?YCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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>>, + ?Z: seq<#seq<#IConvertible>>, + ?TextTemplate: string, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Heatmap ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DX: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XType: StyleParam.CoordinateType, - [<Optional; DefaultParameterValue(null)>] ?XGap: int, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DY: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YType: StyleParam.CoordinateType, - [<Optional; DefaultParameterValue(null)>] ?YGap: int, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?XPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?XPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?YPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?ZHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?ZMax: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ZMid: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ZMin: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ZSmooth: StyleParam.SmoothAlg, - [<Optional; DefaultParameterValue(null)>] ?ConnectGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverOnGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?Transpose: bool, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?YCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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>>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?XType: StyleParam.CoordinateType, + ?XGap: int, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?YType: StyleParam.CoordinateType, + ?YGap: int, + ?Z: seq<#seq<#IConvertible>>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextTemplate: string, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Image ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DX: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DY: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Z: #seq<#seq<#seq<int>>>, - [<Optional; DefaultParameterValue(null)>] ?Source: string, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?ColorModel: StyleParam.ColorModel, - [<Optional; DefaultParameterValue(null)>] ?ZMax: StyleParam.ColorComponentBound, - [<Optional; DefaultParameterValue(null)>] ?ZMin: StyleParam.ColorComponentBound, - [<Optional; DefaultParameterValue(null)>] ?ZSmooth: StyleParam.SmoothAlg, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?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<int>>>, + ?Source: string, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Contour ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?X0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DX: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XType: StyleParam.CoordinateType, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DY: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YType: StyleParam.CoordinateType, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?XPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?XPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?YPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?ZHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?ZMax: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ZMid: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ZMin: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?AutoContour: bool, - [<Optional; DefaultParameterValue(null)>] ?ConnectGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?Contours: Contours, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverOnGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?NContours: int, - [<Optional; DefaultParameterValue(null)>] ?Transpose: bool, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?YCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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>>, + ?X0: #IConvertible, + ?DX: #IConvertible, + ?XType: StyleParam.CoordinateType, + ?Y: seq<#IConvertible>, + ?MultiY: seq<seq<#IConvertible>>, + ?Y0: #IConvertible, + ?DY: #IConvertible, + ?YType: StyleParam.CoordinateType, + ?Z: seq<#seq<#IConvertible>>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextTemplate: string, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member OHLC ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Close: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Open: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?High: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Low: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?XPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?XPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?YPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?TickWidth: float, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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>>, + ?Close: seq<#IConvertible>, + ?Open: seq<#IConvertible>, + ?High: seq<#IConvertible>, + ?Low: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Candlestick ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Close: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Open: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?High: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Low: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?XPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?XPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?XPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriod: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?YPeriodAlignment: StyleParam.PeriodAlignment, - [<Optional; DefaultParameterValue(null)>] ?YPeriod0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?WhiskerWidth: float, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Increasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?Decreasing: FinanceMarker, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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>>, + ?Close: seq<#IConvertible>, + ?Open: seq<#IConvertible>, + ?High: seq<#IConvertible>, + ?Low: seq<#IConvertible>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Splom ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Dimensions: seq<Dimension>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Diagonal: SplomDiagonal, - [<Optional; DefaultParameterValue(null)>] ?XAxes: seq<StyleParam.LinearAxisId>, - [<Optional; DefaultParameterValue(null)>] ?YAxes: seq<StyleParam.LinearAxisId>, - [<Optional; DefaultParameterValue(null)>] ?ShowLowerHalf: bool, - [<Optional; DefaultParameterValue(null)>] ?ShowUpperHalf: bool, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?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<Dimension>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?XHoverFormat: string, + ?YHoverFormat: string, + ?Meta: string, + ?CustomData: seq<#IConvertible>, + ?Marker: Marker, + ?Diagonal: SplomDiagonal, + ?XAxes: seq<StyleParam.LinearAxisId>, + ?YAxes: seq<StyleParam.LinearAxisId>, + ?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([<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="UIRevision">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.</param> static member Scatter3D ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?SurfaceColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Scene: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?XError: Error, - [<Optional; DefaultParameterValue(null)>] ?YError: Error, - [<Optional; DefaultParameterValue(null)>] ?ZError: Error, - [<Optional; DefaultParameterValue(null)>] ?ZHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?ConnectGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?Hoverlabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?Projection: Projection, - [<Optional; DefaultParameterValue(null)>] ?Surfaceaxis: StyleParam.SurfaceAxis, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?YCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?ZCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Surface ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?SurfaceColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Scene: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?ConnectGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?Contours: Contours, - [<Optional; DefaultParameterValue(null)>] ?HideSurface: bool, - [<Optional; DefaultParameterValue(null)>] ?Hoverlabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?Lighting: Lighting, - [<Optional; DefaultParameterValue(null)>] ?LightPosition: LightPosition, - [<Optional; DefaultParameterValue(null)>] ?OpacityScale: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?YCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?ZCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Mesh3D ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?I: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?J: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?K: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?FaceColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Intensity: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?IntensityMode: StyleParam.IntensityMode, - [<Optional; DefaultParameterValue(null)>] ?VertexColor: Color, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Scene: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?AlphaHull: StyleParam.TriangulationAlgorithm, - [<Optional; DefaultParameterValue(null)>] ?Delaunayaxis: StyleParam.Delaunayaxis, - [<Optional; DefaultParameterValue(null)>] ?Contour: Contour, - [<Optional; DefaultParameterValue(null)>] ?FlatShading: bool, - [<Optional; DefaultParameterValue(null)>] ?Hoverlabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?Lighting: Lighting, - [<Optional; DefaultParameterValue(null)>] ?LightPosition: LightPosition, - [<Optional; DefaultParameterValue(null)>] ?XCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?YCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?ZCalendar: StyleParam.Calendar, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Cone ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?U: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?V: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?W: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?UHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?VHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?WHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Scene: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Anchor: StyleParam.ConeAnchor, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?Lighting: Lighting, - [<Optional; DefaultParameterValue(null)>] ?LightPosition: LightPosition, - [<Optional; DefaultParameterValue(null)>] ?SizeMode: StyleParam.ConeSizeMode, - [<Optional; DefaultParameterValue(null)>] ?SizeRef: float, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member StreamTube ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?U: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?V: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?W: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?UHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?VHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?WHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Scene: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?Lighting: Lighting, - [<Optional; DefaultParameterValue(null)>] ?LightPosition: LightPosition, - [<Optional; DefaultParameterValue(null)>] ?MaxDisplayed: int, - [<Optional; DefaultParameterValue(null)>] ?SizeRef: float, - [<Optional; DefaultParameterValue(null)>] ?Starts: StreamTubeStarts, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Volume ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Value: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?ValueHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Scene: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Caps: Caps, - [<Optional; DefaultParameterValue(null)>] ?Contour: Contour, - [<Optional; DefaultParameterValue(null)>] ?FlatShading: bool, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?IsoMax: float, - [<Optional; DefaultParameterValue(null)>] ?IsoMin: float, - [<Optional; DefaultParameterValue(null)>] ?Lighting: Lighting, - [<Optional; DefaultParameterValue(null)>] ?LightPosition: LightPosition, - [<Optional; DefaultParameterValue(null)>] ?OpacityScale: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Slices: Slices, - [<Optional; DefaultParameterValue(null)>] ?SpaceFrame: Spaceframe, - [<Optional; DefaultParameterValue(null)>] ?Surface: Surface, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member IsoSurface ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Value: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?XHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?YHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?ValueHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Scene: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZHoverFormat: string, - [<Optional; DefaultParameterValue(null)>] ?CAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?CMax: float, - [<Optional; DefaultParameterValue(null)>] ?CMid: float, - [<Optional; DefaultParameterValue(null)>] ?CMin: float, - [<Optional; DefaultParameterValue(null)>] ?Caps: Caps, - [<Optional; DefaultParameterValue(null)>] ?Contour: Contour, - [<Optional; DefaultParameterValue(null)>] ?FlatShading: bool, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?IsoMax: float, - [<Optional; DefaultParameterValue(null)>] ?IsoMin: float, - [<Optional; DefaultParameterValue(null)>] ?Lighting: Lighting, - [<Optional; DefaultParameterValue(null)>] ?LightPosition: LightPosition, - [<Optional; DefaultParameterValue(null)>] ?OpacityScale: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Slices: Slices, - [<Optional; DefaultParameterValue(null)>] ?SpaceFrame: Spaceframe, - [<Optional; DefaultParameterValue(null)>] ?Surface: Surface, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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 ( - [<Optional; DefaultParameterValue(null)>] ?X: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?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([<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="UIRevision">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.</param> static member Carpet ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?X: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiX: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?Y: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?MultiY: seq<#seq<#IConvertible>>, - [<Optional; DefaultParameterValue(null)>] ?A: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?A0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DA: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?B: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?B0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DB: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?AAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?BAxis: LinearAxis, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Color: Color, - [<Optional; DefaultParameterValue(null)>] ?Carpet: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?CheaterSlope: float, - [<Optional; DefaultParameterValue(null)>] ?Font: Font, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="UIRevision">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.</param> static member ScatterCarpet ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?A: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?B: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Carpet: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ConnectGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverOn: StyleParam.HoverOn, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member ContourCarpet ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?A: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?AType: StyleParam.CoordinateType, - [<Optional; DefaultParameterValue(null)>] ?A0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DA: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?B: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?BType: StyleParam.CoordinateType, - [<Optional; DefaultParameterValue(null)>] ?B0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DB: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?XAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?YAxis: StyleParam.LinearAxisId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?ZMax: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ZMid: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ZMin: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?AutoContour: bool, - [<Optional; DefaultParameterValue(null)>] ?Carpet: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Contours: Contours, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?NContours: int, - [<Optional; DefaultParameterValue(null)>] ?Transpose: bool, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?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([<Optional; DefaultParameterValue(null)>] ?Domain: Domain) = + static member SetDomain(?Domain: Domain) = fun (trace: TraceDomain) -> trace |> DynObj.withOptionalProperty "domain" Domain @@ -95,50 +95,50 @@ type TraceDomainStyle() = /// <param name="UIRevision">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.</param> static member Pie ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Labels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?DLabel: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Label0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Pull: float, - [<Optional; DefaultParameterValue(null)>] ?MultiPull: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?AutoMargin: bool, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?Direction: StyleParam.Direction, - [<Optional; DefaultParameterValue(null)>] ?Hole: float, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?InsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?InsideTextOrientation: StyleParam.InsideTextOrientation, - [<Optional; DefaultParameterValue(null)>] ?OutsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Rotation: float, - [<Optional; DefaultParameterValue(null)>] ?ScaleGroup: string, - [<Optional; DefaultParameterValue(null)>] ?Sort: bool, - [<Optional; DefaultParameterValue(null)>] ?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<float>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member FunnelArea ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Labels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?DLabel: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Label0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?AspectRatio: float, - [<Optional; DefaultParameterValue(null)>] ?BaseRatio: float, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?InsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?ScaleGroup: string, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Sunburst ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Parents: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Labels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?BranchValues: StyleParam.BranchValues, - [<Optional; DefaultParameterValue(null)>] ?Count: string, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?InsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?InsideTextOrientation: StyleParam.InsideTextOrientation, - [<Optional; DefaultParameterValue(null)>] ?OutsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Root: SunburstRoot, - [<Optional; DefaultParameterValue(null)>] ?Leaf: SunburstLeaf, - [<Optional; DefaultParameterValue(null)>] ?Level: string, - [<Optional; DefaultParameterValue(null)>] ?MaxDepth: int, - [<Optional; DefaultParameterValue(null)>] ?Rotation: int, - [<Optional; DefaultParameterValue(null)>] ?Sort: bool, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Treemap ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Title: Title, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Parents: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Labels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?BranchValues: StyleParam.BranchValues, - [<Optional; DefaultParameterValue(null)>] ?Count: string, - [<Optional; DefaultParameterValue(null)>] ?Tiling: TreemapTiling, - [<Optional; DefaultParameterValue(null)>] ?PathBar: Pathbar, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?InsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?OutsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Root: TreemapRoot, - [<Optional; DefaultParameterValue(null)>] ?Level: string, - [<Optional; DefaultParameterValue(null)>] ?MaxDepth: int, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member ParallelCoord ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Dimensions: seq<Dimension>, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?LabelAngle: int, - [<Optional; DefaultParameterValue(null)>] ?LabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?LabelSide: StyleParam.Side, - [<Optional; DefaultParameterValue(null)>] ?RangeFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: int, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Ids: seq<#IConvertible>, + ?Dimensions: seq<Dimension>, + ?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() = /// <param name="UIRevision">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.</param> static member ParallelCategories ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Counts: int, - [<Optional; DefaultParameterValue(null)>] ?Dimensions: seq<Dimension>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?Arrangement: StyleParam.CategoryArrangement, - [<Optional; DefaultParameterValue(null)>] ?BundleColors: bool, - [<Optional; DefaultParameterValue(null)>] ?SortPaths: StyleParam.SortAlgorithm, - [<Optional; DefaultParameterValue(null)>] ?Hoveron: StyleParam.HoverOn, - [<Optional; DefaultParameterValue(null)>] ?LabelFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TickFont: Font, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?Legend: StyleParam.SubPlotId, + ?LegendGroup: string, + ?LegendGroupTitle: Title, + ?Counts: int, + ?Dimensions: seq<Dimension>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member Sankey ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Orientation: StyleParam.Orientation, - [<Optional; DefaultParameterValue(null)>] ?Node: SankeyNodes, - [<Optional; DefaultParameterValue(null)>] ?Link: SankeyLinks, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Arrangement: StyleParam.CategoryArrangement, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?ValueFormat: string, - [<Optional; DefaultParameterValue(null)>] ?ValueSuffix: string, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="UIRevision">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.</param> static member Table ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: bool, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?ColumnOrder: seq<int>, - [<Optional; DefaultParameterValue(null)>] ?ColumnWidth: float, - [<Optional; DefaultParameterValue(null)>] ?MultiColumnWidth: seq<float>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Cells: TableCells, - [<Optional; DefaultParameterValue(null)>] ?Header: TableHeader, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?UIRevision: string + ?Name: string, + ?Visible: StyleParam.Visible, + ?Legend: StyleParam.SubPlotId, + ?LegendRank: bool, + ?LegendGroupTitle: Title, + ?Ids: seq<#IConvertible>, + ?ColumnOrder: seq<int>, + ?ColumnWidth: float, + ?MultiColumnWidth: seq<float>, + ?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() = /// <param name="UIRevision">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.</param> static member Indicator ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Title: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.IndicatorMode, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Value: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Align: StyleParam.IndicatorAlignment, - [<Optional; DefaultParameterValue(null)>] ?Delta: IndicatorDelta, - [<Optional; DefaultParameterValue(null)>] ?Number: IndicatorNumber, - [<Optional; DefaultParameterValue(null)>] ?Gauge: IndicatorGauge, - [<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="UIRevision">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.</param> static member Icicle ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Parents: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Values: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Labels: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Domain: Domain, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?TextInfo: StyleParam.TextInfo, - [<Optional; DefaultParameterValue(null)>] ?BranchValues: StyleParam.BranchValues, - [<Optional; DefaultParameterValue(null)>] ?Count: StyleParam.IcicleCount, - [<Optional; DefaultParameterValue(null)>] ?Tiling: IcicleTiling, - [<Optional; DefaultParameterValue(null)>] ?PathBar: Pathbar, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?InsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?OutsideTextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?Root: IcicleRoot, - [<Optional; DefaultParameterValue(null)>] ?Leaf: IcicleLeaf, - [<Optional; DefaultParameterValue(null)>] ?Level: string, - [<Optional; DefaultParameterValue(null)>] ?MaxDepth: int, - [<Optional; DefaultParameterValue(null)>] ?Sort: bool, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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([<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="UIRevision">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.</param> static member ChoroplethMap ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(null)>] ?Locations: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Geo: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?Zmin: float, - [<Optional; DefaultParameterValue(null)>] ?Zmid: float, - [<Optional; DefaultParameterValue(null)>] ?Zmax: float, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member ScatterGeo ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Lat: #IConvertible seq, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(null)>] ?Locations: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Lon: #IConvertible seq, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Geo: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?ConnectGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?LocationMode: StyleParam.LocationFormat, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?Lon: #IConvertible seq, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?TextPosition: StyleParam.TextPosition, + ?MultiTextPosition: seq<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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([<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="UIRevision">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.</param> static member ScatterMapbox ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Lat: #IConvertible seq, - [<Optional; DefaultParameterValue(null)>] ?Lon: #IConvertible seq, - [<Optional; DefaultParameterValue(null)>] ?Cluster: MapboxCluster, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?SubPlot: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(null)>] ?ConnectGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member ChoroplethMapbox ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?GeoJson: obj, - [<Optional; DefaultParameterValue(null)>] ?FeatureIdKey: string, - [<Optional; DefaultParameterValue(null)>] ?Locations: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?SubPlot: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?Zmax: float, - [<Optional; DefaultParameterValue(null)>] ?Zmid: float, - [<Optional; DefaultParameterValue(null)>] ?Zmin: float, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?Text: #IConvertible, + ?MultiText: seq<#IConvertible>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member DensityMapbox ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Z: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Radius: int, - [<Optional; DefaultParameterValue(null)>] ?Lat: #IConvertible seq, - [<Optional; DefaultParameterValue(null)>] ?Lon: #IConvertible seq, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?SubPlot: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?ColorAxis: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?ColorBar: ColorBar, - [<Optional; DefaultParameterValue(null)>] ?AutoColorScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ColorScale: StyleParam.Colorscale, - [<Optional; DefaultParameterValue(null)>] ?ShowScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ReverseScale: bool, - [<Optional; DefaultParameterValue(null)>] ?ZAuto: bool, - [<Optional; DefaultParameterValue(null)>] ?Zmin: float, - [<Optional; DefaultParameterValue(null)>] ?Zmid: float, - [<Optional; DefaultParameterValue(null)>] ?Zmax: float, - [<Optional; DefaultParameterValue(null)>] ?Below: string, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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([<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="UIRevision">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.</param> static member ScatterPolar ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?R: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?R0: IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DR: IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Theta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Theta0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DTheta: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ThetaUnit: StyleParam.AngularUnit, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Subplot: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?ClipOnAxis: bool, - [<Optional; DefaultParameterValue(null)>] ?ConnectGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverOn: string, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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() = /// <param name="UIRevision">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.</param> static member BarPolar ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Base: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?R: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?R0: IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DR: IConvertible, - [<Optional; DefaultParameterValue(null)>] ?Theta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Theta0: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?DTheta: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?ThetaUnit: StyleParam.AngularUnit, - [<Optional; DefaultParameterValue(null)>] ?Width: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiWidth: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Offset: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiOffset: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Subplot: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?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<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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([<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="UIRevision">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.</param> static member ScatterSmith ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Imag: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Real: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Subplot: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?ClipOnAxis: bool, - [<Optional; DefaultParameterValue(null)>] ?ConnectGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverOn: StyleParam.HoverOn, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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([<Optional; DefaultParameterValue(null)>] ?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() = /// <param name="UIRevision">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.</param> static member ScatterTernary ( - [<Optional; DefaultParameterValue(null)>] ?Name: string, - [<Optional; DefaultParameterValue(null)>] ?Visible: StyleParam.Visible, - [<Optional; DefaultParameterValue(null)>] ?ShowLegend: bool, - [<Optional; DefaultParameterValue(null)>] ?Legend: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?LegendRank: int, - [<Optional; DefaultParameterValue(null)>] ?LegendGroup: string, - [<Optional; DefaultParameterValue(null)>] ?LegendGroupTitle: Title, - [<Optional; DefaultParameterValue(null)>] ?Opacity: float, - [<Optional; DefaultParameterValue(null)>] ?Mode: StyleParam.Mode, - [<Optional; DefaultParameterValue(null)>] ?Ids: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?A: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?B: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?C: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Text: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?MultiText: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?TextPosition: StyleParam.TextPosition, - [<Optional; DefaultParameterValue(null)>] ?MultiTextPosition: seq<StyleParam.TextPosition>, - [<Optional; DefaultParameterValue(null)>] ?TextTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiTextTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverText: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverText: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?HoverInfo: StyleParam.HoverInfo, - [<Optional; DefaultParameterValue(null)>] ?HoverTemplate: string, - [<Optional; DefaultParameterValue(null)>] ?MultiHoverTemplate: seq<string>, - [<Optional; DefaultParameterValue(null)>] ?Meta: string, - [<Optional; DefaultParameterValue(null)>] ?CustomData: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?SubPlot: StyleParam.SubPlotId, - [<Optional; DefaultParameterValue(null)>] ?Marker: Marker, - [<Optional; DefaultParameterValue(null)>] ?Line: Line, - [<Optional; DefaultParameterValue(null)>] ?TextFont: Font, - [<Optional; DefaultParameterValue(null)>] ?SelectedPoints: seq<#IConvertible>, - [<Optional; DefaultParameterValue(null)>] ?Selected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?Unselected: TraceSelection, - [<Optional; DefaultParameterValue(null)>] ?ClipOnAxis: bool, - [<Optional; DefaultParameterValue(null)>] ?ConnectGaps: bool, - [<Optional; DefaultParameterValue(null)>] ?Fill: StyleParam.Fill, - [<Optional; DefaultParameterValue(null)>] ?FillColor: Color, - [<Optional; DefaultParameterValue(null)>] ?HoverLabel: Hoverlabel, - [<Optional; DefaultParameterValue(null)>] ?HoverOn: StyleParam.HoverOn, - [<Optional; DefaultParameterValue(null)>] ?Sum: #IConvertible, - [<Optional; DefaultParameterValue(null)>] ?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<StyleParam.TextPosition>, + ?TextTemplate: string, + ?MultiTextTemplate: seq<string>, + ?HoverText: string, + ?MultiHoverText: seq<string>, + ?HoverInfo: StyleParam.HoverInfo, + ?HoverTemplate: string, + ?MultiHoverTemplate: seq<string>, + ?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/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<int, int, int>( - x: new int [] { 1, 2, 3 }, - y: new int [] { 5, 3, 4 }, - mode: Mode.Markers, - Name: "scatter", - MultiText: new int [] { 3, 4 } - ), - Chart.Point<int,int,string>( - x: new int [] { 1, 2, 3 }, - y: new int [] { 6, 4, 5 }, - Name: "point", - Text: "hi" - ), - Chart.Line<int,int,string>( - x: new int [] { 1, 2, 3 }, - y: new int [] { 7, 5, 6 }, - Name: "line" - ), - Chart.Spline<int,int,string>( - x: new int [] { 1, 2, 3}, - y: new int [] { 8, 6, 7 }, - Name: "spline" - ), - Chart.Bubble<int,int,string>( - 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<int, int, int>( + // x: new int [] { 1, 2, 3 }, + // y: new int [] { 5, 3, 4 }, + // mode: Mode.Markers, + // Name: "scatter", + // MultiText: new int [] { 3, 4 } + // ), + // Chart.Point<int,int,string>( + // x: new int [] { 1, 2, 3 }, + // y: new int [] { 6, 4, 5 }, + // Name: "point", + // Text: "hi" + // ), + // Chart.Line<int,int,string>( + // x: new int [] { 1, 2, 3 }, + // y: new int [] { 7, 5, 6 }, + // Name: "line" + // ), + // Chart.Spline<int,int,string>( + // x: new int [] { 1, 2, 3}, + // y: new int [] { 8, 6, 7 }, + // Name: "spline" + // ), + // Chart.Bubble<int,int,string>( + // 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<int, int, string>( - 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<int,int,string>( - x: new int [] { 1, 2}, - y: new int [] { 3, 1}, - Name: "area" - ), - Chart.SplineArea<int,int,string>( - x: new int [] { 3, 4, 5}, - y: new int [] { 3, 1, 4}, - Name: "splinearea" - ), - Chart.StackedArea<int,int,string>( - x: new int [] { 6, 7}, - y: new int [] { 3, 1}, - Name: "stacked area 1" - ), - Chart.StackedArea<int,int,string>( - 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<int,string,string>( - values: new int [] { 1,2 }, - Keys: new string [] { "first", "second"}, - Name: "bar" - ), - Chart.StackedBar<int,string,string>( - values: new int [] { 1,2 }, - Keys: new string [] { "third", "4th"}, - Name: "stacked bar 1" - ), - Chart.StackedBar<int,string,string>( - 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<int,string,string>( - values: new int [] { 3,4 }, - Keys: new string [] { "first", "second"}, - Name: "column" - ), - Chart.StackedColumn<int,string,string>( - values: new int [] { 1,2 }, - Keys: new string [] { "third", "4th"}, - Name: "stacked column 1" - ), - Chart.StackedColumn<int,string,string>( - 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<int, int, int, string>( - 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<string>( - 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<int, int, string>( + // 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<int,int,string>( + // x: new int [] { 1, 2}, + // y: new int [] { 3, 1}, + // Name: "area" + // ), + // Chart.SplineArea<int,int,string>( + // x: new int [] { 3, 4, 5}, + // y: new int [] { 3, 1, 4}, + // Name: "splinearea" + // ), + // Chart.StackedArea<int,int,string>( + // x: new int [] { 6, 7}, + // y: new int [] { 3, 1}, + // Name: "stacked area 1" + // ), + // Chart.StackedArea<int,int,string>( + // 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<int,string,string>( + // values: new int [] { 1,2 }, + // Keys: new string [] { "first", "second"}, + // Name: "bar" + // ), + // Chart.StackedBar<int,string,string>( + // values: new int [] { 1,2 }, + // Keys: new string [] { "third", "4th"}, + // Name: "stacked bar 1" + // ), + // Chart.StackedBar<int,string,string>( + // 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<int,string,string>( + // values: new int [] { 3,4 }, + // Keys: new string [] { "first", "second"}, + // Name: "column" + // ), + // Chart.StackedColumn<int,string,string>( + // values: new int [] { 1,2 }, + // Keys: new string [] { "third", "4th"}, + // Name: "stacked column 1" + // ), + // Chart.StackedColumn<int,string,string>( + // 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<int, int, int, string>( + // 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<string>( + // 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<int,int,int>( - 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<int,int,int>( - 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<int,int,string>( - X: new int [] { 1,2,2,2,3,4,5,5 }, - Name: "Boxplot" - ), - Chart.Violin<int,int,string>( - 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<int,int,int,string>( - 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<int,int,int>( - 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<int,int>( - 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<int,int,int>( + // 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<int,int,int>( + // 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<int,int,string>( + // X: new int [] { 1,2,2,2,3,4,5,5 }, + // Name: "Boxplot" + // ), + // Chart.Violin<int,int,string>( + // 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<int,int,int,string>( + // 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<int,int,int>( + // 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<int,int>( + // 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<double,DateTime,string>( - 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<double,DateTime,string>( - 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<string, int, string>( - 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<double, string, string>( - 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<double, string, string>( - x: new double [] { 1200, 909.4}, - y: new string[] { "A", "B"}, - Name: "stackedfunnel 1" - ), - Chart.StackedFunnel<double, string, string>( - 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<int, string, string>( - 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<double>( - 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<double,DateTime,string>( + // 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<double,DateTime,string>( + // 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<string, int, string>( + // 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<double, string, string>( + // 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<double, string, string>( + // x: new double [] { 1200, 909.4}, + // y: new string[] { "A", "B"}, + // Name: "stackedfunnel 1" + // ), + // Chart.StackedFunnel<double, string, string>( + // 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<int, string, string>( + // 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<double>( + // 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<int,int,int,string>( - x: new int[] { 1, 2 }, - y: new int [] { 13, 14 }, - z: new int [] { 14, 15 }, - mode: Mode.Markers, - Name: "scatter3D" - ), - Chart.Point3D<int,int,int,string>( - x: new int[] { 3, 4 }, - y: new int [] { 13, 14 }, - z: new int [] { 14, 15 }, - Name: "point3D" - ), - Chart.Line3D<int,int,int,string>( - x: new int[] { 5, 6 }, - y: new int [] { 13, 14 }, - z: new int [] { 14, 15 }, - Name: "line3D" - ), - Chart.Bubble3D<int,int,int,string>( - 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<int,int,int,string>( - 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<int,int,int,int,int,int,string>( - 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<int,int,int,int,int,int,string>( - 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<int,int,int,int,int,int,string>( - 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<double,double,double,double,string,double>( - 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<double,double,double,double,string>( - 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<int,int,int,string>( + // x: new int[] { 1, 2 }, + // y: new int [] { 13, 14 }, + // z: new int [] { 14, 15 }, + // mode: Mode.Markers, + // Name: "scatter3D" + // ), + // Chart.Point3D<int,int,int,string>( + // x: new int[] { 3, 4 }, + // y: new int [] { 13, 14 }, + // z: new int [] { 14, 15 }, + // Name: "point3D" + // ), + // Chart.Line3D<int,int,int,string>( + // x: new int[] { 5, 6 }, + // y: new int [] { 13, 14 }, + // z: new int [] { 14, 15 }, + // Name: "line3D" + // ), + // Chart.Bubble3D<int,int,int,string>( + // 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<int,int,int,string>( + // 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<int,int,int,int,int,int,string>( + // 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<int,int,int,int,int,int,string>( + // 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<int,int,int,int,int,int,string>( + // 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<double,double,double,double,string,double>( + // 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<double,double,double,double,string>( + // 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<int,int,string>( - theta: new int [] { 0, 90, 180, 270 }, - r: new int [] { 10, 20, 15, 20 }, - mode: Mode.Markers, - Name: "scatterpolar" - ), - Chart.PointPolar<int,int,string>( - theta: new int [] { 0, 90, 180, 270 }, - r: new int [] { 10, 20, 15, 20 }, - Name: "pointpolar" - ), - Chart.LinePolar<int,int,string>( - theta: new int [] { 0, 90, 180, 270 }, - r: new int [] { 10, 20, 15, 20 }, - Name: "linepolar" - ), - Chart.SplinePolar<int,int,string>( - theta: new int [] { 0, 90, 180, 270 }, - r: new int [] { 10, 20, 15, 20 }, - Name: "splinepolar" - ), - Chart.BubblePolar<int,int,string>( - 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<int,int,string>( - theta: new int [] { 0, 90, 180, 270 }, - r: new int [] { 10, 20, 15, 20 }, - Name: "barpolar" - ), - Chart.Invisible(), + // //polar traces + // Chart.ScatterPolar<int,int,string>( + // theta: new int [] { 0, 90, 180, 270 }, + // r: new int [] { 10, 20, 15, 20 }, + // mode: Mode.Markers, + // Name: "scatterpolar" + // ), + // Chart.PointPolar<int,int,string>( + // theta: new int [] { 0, 90, 180, 270 }, + // r: new int [] { 10, 20, 15, 20 }, + // Name: "pointpolar" + // ), + // Chart.LinePolar<int,int,string>( + // theta: new int [] { 0, 90, 180, 270 }, + // r: new int [] { 10, 20, 15, 20 }, + // Name: "linepolar" + // ), + // Chart.SplinePolar<int,int,string>( + // theta: new int [] { 0, 90, 180, 270 }, + // r: new int [] { 10, 20, 15, 20 }, + // Name: "splinepolar" + // ), + // Chart.BubblePolar<int,int,string>( + // 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<int,int,string>( + // 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<int,int,string>( - longitudes: new int [] { 1, 20 }, - latitudes: new int [] { 1, 40 }, - mode: Mode.Markers, - Name: "scattergeo" - ), - Chart.PointGeo<int,int,string>( - longitudes: new int [] { 40, 50 }, - latitudes: new int [] { 60, 70 }, - Name: "pointgeo" - ), - Chart.LineGeo<int,int,string>( - longitudes: new int [] { 10, -100}, - latitudes: new int [] { 50, 50 }, - Name: "linegeo" - ), - Chart.BubbleGeo<int,int,string>( - 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<int, string>( - 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<int,int,string>( - longitudes: new int [] { 1, 2 }, - latitudes: new int [] { 1, 2 }, - mode: Mode.Markers, - Name: "scattermapbox" - ), - Chart.PointMapbox<int,int,string>( - longitudes: new int [] { 10, 11 }, - latitudes: new int [] { 10, 11 }, - Name: "pointmapbox" - ), - Chart.LineMapbox<int,int,string>( - longitudes: new int [] { -1, 11}, - latitudes: new int [] { 11, 1 }, - Name: "linemapbox" - ), - Chart.BubbleMapbox<int,int,string>( - 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<int,int,int,string>( - 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<int,int,string>( + // longitudes: new int [] { 1, 20 }, + // latitudes: new int [] { 1, 40 }, + // mode: Mode.Markers, + // Name: "scattergeo" + // ), + // Chart.PointGeo<int,int,string>( + // longitudes: new int [] { 40, 50 }, + // latitudes: new int [] { 60, 70 }, + // Name: "pointgeo" + // ), + // Chart.LineGeo<int,int,string>( + // longitudes: new int [] { 10, -100}, + // latitudes: new int [] { 50, 50 }, + // Name: "linegeo" + // ), + // Chart.BubbleGeo<int,int,string>( + // 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<int, string>( + // 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<int,int,string>( + // longitudes: new int [] { 1, 2 }, + // latitudes: new int [] { 1, 2 }, + // mode: Mode.Markers, + // Name: "scattermapbox" + // ), + // Chart.PointMapbox<int,int,string>( + // longitudes: new int [] { 10, 11 }, + // latitudes: new int [] { 10, 11 }, + // Name: "pointmapbox" + // ), + // Chart.LineMapbox<int,int,string>( + // longitudes: new int [] { -1, 11}, + // latitudes: new int [] { 11, 1 }, + // Name: "linemapbox" + // ), + // Chart.BubbleMapbox<int,int,string>( + // 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<int,int,int,string>( + // 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<int,int,int,IConvertible,string>( - 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<int,int,int,int,string>( - 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<int,int,int,int,string>( - 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<int,int,int,int,string>( - 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<int,int,int,IConvertible,string>( + // 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<int,int,int,int,string>( + // 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<int,int,int,int,string>( + // 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<int,int,int,int,string>( + // 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<double,double,double,double,double,double>( - 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<double,double,double,double,double,double>( - 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<int, int, string>( - 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<double,double,double,double,double,double>( - 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<int, int, string>( - 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<double,double,double,double,double,double>( - 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<int, int, string>( - 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<double,double,double,double,double,double>( - 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<int, int, string>( - 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<double,double,double,double,double,double>( - 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<int, int, string>( - 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<double,double,double,double,double,double>( - 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<double,int,int,string>( - 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<double,double,double,double,double,double>( + // 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<double,double,double,double,double,double>( + // 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<int, int, string>( + // 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<double,double,double,double,double,double>( + // 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<int, int, string>( + // 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<double,double,double,double,double,double>( + // 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<int, int, string>( + // 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<double,double,double,double,double,double>( + // 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<int, int, string>( + // 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<double,double,double,double,double,double>( + // 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<int, int, string>( + // 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<double,double,double,double,double,double>( + // 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<double,int,int,string>( + // 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<double,string,string>( - values: new double [] {69, 420}, - Labels: new string [] {"A", "B"}, - Name: "pie" - ), - Chart.Sunburst<string, string, int, string, string>( - Values: new int [] {19, 26, 55}, - labels: new string [] {"A", "B", "C"}, - parents: new string [] {"", "", "B"}, - Name: "sunburst" - ), - Chart.Treemap<string, string, int, string, string>( - 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<string, string, int, int>(Label: "A", Values: new int [] {1, 4, 3}), - Plotly.NET.TraceObjects.Dimension.initParallel<string, string, int, int>(Label: "B", Values: new int [] {3, 1, 2}) - }, - Name: "parcoords" - ), - Chart.ParallelCategories( - dimensions: new Plotly.NET.TraceObjects.Dimension [] { - Plotly.NET.TraceObjects.Dimension.initParallel<string, string, int, int>(Label: "A", Values: new int [] {1, 1, 2}), - Plotly.NET.TraceObjects.Dimension.initParallel<string, string, int, int>(Label: "B", Values: new int [] {3, 3, 3}) - }, - Name: "parcats" - ), - Chart.Sankey<string>( - nodes: Plotly.NET.TraceObjects.SankeyNodes.init<string, int [], string, string>( - Label: new string [] {"A", "B", "C", "D"} - ), - links: Plotly.NET.TraceObjects.SankeyLinks.init<string, int>( - Source: new int [] {0, 1, 1 }, - Target: new int [] {2, 2, 3 }, - Value: new int [] {1, 2, 5} - ) - ), - Chart.Icicle<string, string, int, string, string>( - Values: new int [] {19, 26, 55}, - labels: new string [] {"A", "B", "C"}, - parents: new string [] {"", "", "B"}, - Name: "icicle" - ), + // //domain traces + // Chart.Pie<double,string,string>( + // values: new double [] {69, 420}, + // Labels: new string [] {"A", "B"}, + // Name: "pie" + // ), + // Chart.Sunburst<string, string, int, string, string>( + // Values: new int [] {19, 26, 55}, + // labels: new string [] {"A", "B", "C"}, + // parents: new string [] {"", "", "B"}, + // Name: "sunburst" + // ), + // Chart.Treemap<string, string, int, string, string>( + // 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<string, string, int, int>(Label: "A", Values: new int [] {1, 4, 3}), + // Plotly.NET.TraceObjects.Dimension.initParallel<string, string, int, int>(Label: "B", Values: new int [] {3, 1, 2}) + // }, + // Name: "parcoords" + // ), + // Chart.ParallelCategories( + // dimensions: new Plotly.NET.TraceObjects.Dimension [] { + // Plotly.NET.TraceObjects.Dimension.initParallel<string, string, int, int>(Label: "A", Values: new int [] {1, 1, 2}), + // Plotly.NET.TraceObjects.Dimension.initParallel<string, string, int, int>(Label: "B", Values: new int [] {3, 3, 3}) + // }, + // Name: "parcats" + // ), + // Chart.Sankey<string>( + // nodes: Plotly.NET.TraceObjects.SankeyNodes.init<string, int [], string, string>( + // Label: new string [] {"A", "B", "C", "D"} + // ), + // links: Plotly.NET.TraceObjects.SankeyLinks.init<string, int>( + // Source: new int [] {0, 1, 1 }, + // Target: new int [] {2, 2, 3 }, + // Value: new int [] {1, 2, 5} + // ) + // ), + // Chart.Icicle<string, string, int, string, string>( + // Values: new int [] {19, 26, 55}, + // labels: new string [] {"A", "B", "C"}, + // parents: new string [] {"", "", "B"}, + // Name: "icicle" + // ), - //smith traces - Chart.ScatterSmith<double,double,string>( - 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<double,double,string>( - 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<double,double,string>( - 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<double,double,string>( - 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<double,double,string>( + // 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<double,double,string>( + // 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<double,double,string>( + // 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<double,double,string>( + // 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/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<int, int>[] xy = x.Zip(y).Select(c => new Tuple<int, int>(c.Item1, c.Item2)).ToArray(); - - [Fact] public void Scatter1() - => Chart2D.Chart.Scatter<int, int, int>(x, y, StyleParam.Mode.Lines); - - [Fact] public void Scatter2() - => Chart2D.Chart.Scatter<int, int, int>(xy, StyleParam.Mode.Lines); - - [Fact] public void Point1() - => Chart2D.Chart.Point<int, int, int>(x, y); - - [Fact] public void Point2() - => Chart2D.Chart.Point<int, int, int>(xy); - - [Fact] public void Line1() - => Chart2D.Chart.Line<int, int, int>(x, y); - - [Fact] public void Line2() - => Chart2D.Chart.Line<int, int, int>(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<int, int, int>[] xyz = x.Zip(y).Zip(z).Select(c => new Tuple<int, int, int>(c.Item1.First, c.Item1.Second, c.Item2)).ToArray(); - - [Fact] public void Scatter3d1() - => Chart3D.Chart.Scatter3D<int, int, int, int>(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<int[], int, int[], int>(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<int, int, int>[] xyz = x.Zip(y).Zip(z).Select(c => new Tuple<int, int, int>(c.Item1.First, c.Item1.Second, c.Item2)).ToArray(); - private static readonly Tuple<int, int>[] xy = x.Zip(y).Select(c => new Tuple<int, int>(c.Item1, c.Item2)).ToArray(); - - [Fact] - public void DensityMapBox() - => ChartMap.Chart.DensityMapbox<int, int, int, int>(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<int, int, int>[] xyz = x.Zip(y).Zip(z).Select(c => new Tuple<int, int, int>(c.Item1.First, c.Item1.Second, c.Item2)).ToArray(); - private static readonly Tuple<int, int>[] xy = x.Zip(y).Select(c => new Tuple<int, int>(c.Item1, c.Item2)).ToArray(); - - [Fact] - public void ScatterPlotter() - => ChartPolar.Chart.ScatterPolar<int, int, int>(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 @@ -<Project Sdk="Microsoft.NET.Sdk"> - - <PropertyGroup> - <TargetFramework>net6.0</TargetFramework> - <IsPackable>false</IsPackable> - </PropertyGroup> - - <ItemGroup> - <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.9.4" /> - <PackageReference Include="xunit" Version="2.4.1" /> - <PackageReference Include="xunit.runner.visualstudio" Version="2.4.3"> - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> - <PrivateAssets>all</PrivateAssets> - </PackageReference> - <PackageReference Include="coverlet.collector" Version="3.0.2"> - <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> - <PrivateAssets>all</PrivateAssets> - </PackageReference> - </ItemGroup> - - <ItemGroup> - <ProjectReference Include="..\..\..\src\Plotly.NET\Plotly.NET.fsproj" /> - </ItemGroup> - -</Project> 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<IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible, IConvertible>(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 - { - } -} 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<double, double, string>(x: new double[] { 1, 2 }, y: new double[] { 5, 10 }, UseDefaults: false); + internal GenericChart chart = Chart.Point<double, double, string>(x: new double[] { 1, 2 }, y: new double[] { 5, 10 }, UseDefaults: false); [Fact] public void CanUseCSharpExtensionMethod()