diff --git a/Plotly.NET.sln b/Plotly.NET.sln
index 107e080a2..c30783bb2 100644
--- a/Plotly.NET.sln
+++ b/Plotly.NET.sln
@@ -156,6 +156,8 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Plotly.NET.CSharp.Tests", "
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Plotly.NET.Tests.CSharpInteroperability", "tests\Plotly.NET.Tests.CSharpInteroperability\Plotly.NET.Tests.CSharpInteroperability.csproj", "{64022D22-EB9A-4AE3-A0E6-BFA41E8B18CB}"
EndProject
+Project("{6EC3EE1D-3C4E-46DD-8F32-0CC8E7565705}") = "Plotly.NET.Codegen", "src\Plotly.NET.Codegen\Plotly.NET.Codegen.fsproj", "{92601FE7-4E86-41B7-B61D-5D9EB46733C7}"
+EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
@@ -229,6 +231,12 @@ Global
{64022D22-EB9A-4AE3-A0E6-BFA41E8B18CB}.Dotnet|Any CPU.Build.0 = Debug|Any CPU
{64022D22-EB9A-4AE3-A0E6-BFA41E8B18CB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{64022D22-EB9A-4AE3-A0E6-BFA41E8B18CB}.Release|Any CPU.Build.0 = Release|Any CPU
+ {92601FE7-4E86-41B7-B61D-5D9EB46733C7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {92601FE7-4E86-41B7-B61D-5D9EB46733C7}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {92601FE7-4E86-41B7-B61D-5D9EB46733C7}.Dotnet|Any CPU.ActiveCfg = Debug|Any CPU
+ {92601FE7-4E86-41B7-B61D-5D9EB46733C7}.Dotnet|Any CPU.Build.0 = Debug|Any CPU
+ {92601FE7-4E86-41B7-B61D-5D9EB46733C7}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {92601FE7-4E86-41B7-B61D-5D9EB46733C7}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
@@ -248,6 +256,7 @@ Global
{F944FE69-F4A5-4B48-8E4D-BE4B61E92B26} = {0E87E47E-9EDC-4525-AF72-F0E139D54236}
{4C24BA53-F41C-4110-AD7A-28143DCF671E} = {EAE25A1F-86FC-426B-803F-1006D1AD06A8}
{64022D22-EB9A-4AE3-A0E6-BFA41E8B18CB} = {EAE25A1F-86FC-426B-803F-1006D1AD06A8}
+ {92601FE7-4E86-41B7-B61D-5D9EB46733C7} = {0E87E47E-9EDC-4525-AF72-F0E139D54236}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {7177F1E1-341C-48AB-9864-6B525FFF7633}
diff --git a/src/Plotly.NET.CSharp/GenericChartExtensions.cs b/src/Plotly.NET.CSharp/GenericChartExtensions.cs
index 033e82b40..cad9fa8f2 100644
--- a/src/Plotly.NET.CSharp/GenericChartExtensions.cs
+++ b/src/Plotly.NET.CSharp/GenericChartExtensions.cs
@@ -14,7 +14,7 @@ public static class GenericChartExtensions
/// Returns the layout of the given chart
///
/// The chart of which to get the layout
- public static Layout GetLayout(this GenericChart.GenericChart gChart) => GenericChart.getLayout(gChart);
+ public static Plotly.NET.Layout GetLayout(this GenericChart.GenericChart gChart) => GenericChart.getLayout(gChart);
///
/// Returns all traces of the given chart as an array
diff --git a/src/Plotly.NET.CSharp/Layout.cs b/src/Plotly.NET.CSharp/Layout.cs
new file mode 100644
index 000000000..5eadceb8c
--- /dev/null
+++ b/src/Plotly.NET.CSharp/Layout.cs
@@ -0,0 +1,596 @@
+// this file was auto-generated using Plotly.NET.Codegen on 3/20/2023 targeting Plotly.NET, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c98c6d87097b7615.
+// Do not edit this, as it will most likely be overwritten on the next codegen run.
+// Instead, file an issue or target the codegen with your changes directly.
+// Bugs that are not caused by wrong codegen are most likely not found in this file, but in the F# source this file is generated from.
+
+namespace Plotly.NET.CSharp;
+
+public static class Layout {
+ public static Plotly.NET.Layout Init(
+ Optional Title = default,
+ Optional ShowLegend = default,
+ Optional Legend = default,
+ Optional Margin = default,
+ Optional AutoSize = default,
+ Optional Width = default,
+ Optional Height = default,
+ Optional Font = default,
+ Optional UniformText = default,
+ Optional Separators = default,
+ Optional PaperBGColor = default,
+ Optional PlotBGColor = default,
+ Optional AutoTypeNumbers = default,
+ Optional Colorscale = default,
+ Optional Colorway = default,
+ Optional ModeBar = default,
+ Optional HoverMode = default,
+ Optional ClickMode = default,
+ Optional DragMode = default,
+ Optional SelectDirection = default,
+ Optional HoverDistance = default,
+ Optional SpikeDistance = default,
+ Optional Hoverlabel = default,
+ Optional Transition = default,
+ Optional DataRevision = default,
+ Optional UIRevision = default,
+ Optional EditRevision = default,
+ Optional SelectRevision = default,
+ Optional Template = default,
+ Optional Meta = default,
+ Optional Computed = default,
+ Optional Grid = default,
+ Optional Calendar = default,
+ Optional NewShape = default,
+ Optional ActiveShape = default,
+ Optional HideSources = default,
+ Optional BarGap = default,
+ Optional BarGroupGap = default,
+ Optional BarMode = default,
+ Optional BarNorm = default,
+ Optional ExtendPieColors = default,
+ Optional> HiddenLabels = default,
+ Optional PieColorWay = default,
+ Optional BoxGap = default,
+ Optional BoxGroupGap = default,
+ Optional BoxMode = default,
+ Optional ViolinGap = default,
+ Optional ViolinGroupGap = default,
+ Optional ViolinMode = default,
+ Optional WaterfallGap = default,
+ Optional WaterfallGroupGap = default,
+ Optional WaterfallMode = default,
+ Optional FunnelGap = default,
+ Optional FunnelGroupGap = default,
+ Optional FunnelMode = default,
+ Optional ExtendFunnelAreaColors = default,
+ Optional FunnelAreaColorWay = default,
+ Optional ExtendSunBurstColors = default,
+ Optional SunBurstColorWay = default,
+ Optional ExtendTreeMapColors = default,
+ Optional TreeMapColorWay = default,
+ Optional ExtendIcicleColors = default,
+ Optional IcicleColorWay = default,
+ Optional> Annotations = default,
+ Optional> Shapes = default,
+ Optional> Images = default,
+ Optional> Sliders = default,
+ Optional> UpdateMenus = default
+ )
+ where a: System.IConvertible
+ =>
+ Plotly.NET.Layout.init(
+ Title: Title.ToOption(),
+ ShowLegend: ShowLegend.ToOption(),
+ Legend: Legend.ToOption(),
+ Margin: Margin.ToOption(),
+ AutoSize: AutoSize.ToOption(),
+ Width: Width.ToOption(),
+ Height: Height.ToOption(),
+ Font: Font.ToOption(),
+ UniformText: UniformText.ToOption(),
+ Separators: Separators.ToOption(),
+ PaperBGColor: PaperBGColor.ToOption(),
+ PlotBGColor: PlotBGColor.ToOption(),
+ AutoTypeNumbers: AutoTypeNumbers.ToOption(),
+ Colorscale: Colorscale.ToOption(),
+ Colorway: Colorway.ToOption(),
+ ModeBar: ModeBar.ToOption(),
+ HoverMode: HoverMode.ToOption(),
+ ClickMode: ClickMode.ToOption(),
+ DragMode: DragMode.ToOption(),
+ SelectDirection: SelectDirection.ToOption(),
+ HoverDistance: HoverDistance.ToOption(),
+ SpikeDistance: SpikeDistance.ToOption(),
+ Hoverlabel: Hoverlabel.ToOption(),
+ Transition: Transition.ToOption(),
+ DataRevision: DataRevision.ToOption(),
+ UIRevision: UIRevision.ToOption(),
+ EditRevision: EditRevision.ToOption(),
+ SelectRevision: SelectRevision.ToOption(),
+ Template: Template.ToOption(),
+ Meta: Meta.ToOption(),
+ Computed: Computed.ToOption(),
+ Grid: Grid.ToOption(),
+ Calendar: Calendar.ToOption(),
+ NewShape: NewShape.ToOption(),
+ ActiveShape: ActiveShape.ToOption(),
+ HideSources: HideSources.ToOption(),
+ BarGap: BarGap.ToOption(),
+ BarGroupGap: BarGroupGap.ToOption(),
+ BarMode: BarMode.ToOption(),
+ BarNorm: BarNorm.ToOption(),
+ ExtendPieColors: ExtendPieColors.ToOption(),
+ HiddenLabels: HiddenLabels.ToOption(),
+ PieColorWay: PieColorWay.ToOption(),
+ BoxGap: BoxGap.ToOption(),
+ BoxGroupGap: BoxGroupGap.ToOption(),
+ BoxMode: BoxMode.ToOption(),
+ ViolinGap: ViolinGap.ToOption(),
+ ViolinGroupGap: ViolinGroupGap.ToOption(),
+ ViolinMode: ViolinMode.ToOption(),
+ WaterfallGap: WaterfallGap.ToOption(),
+ WaterfallGroupGap: WaterfallGroupGap.ToOption(),
+ WaterfallMode: WaterfallMode.ToOption(),
+ FunnelGap: FunnelGap.ToOption(),
+ FunnelGroupGap: FunnelGroupGap.ToOption(),
+ FunnelMode: FunnelMode.ToOption(),
+ ExtendFunnelAreaColors: ExtendFunnelAreaColors.ToOption(),
+ FunnelAreaColorWay: FunnelAreaColorWay.ToOption(),
+ ExtendSunBurstColors: ExtendSunBurstColors.ToOption(),
+ SunBurstColorWay: SunBurstColorWay.ToOption(),
+ ExtendTreeMapColors: ExtendTreeMapColors.ToOption(),
+ TreeMapColorWay: TreeMapColorWay.ToOption(),
+ ExtendIcicleColors: ExtendIcicleColors.ToOption(),
+ IcicleColorWay: IcicleColorWay.ToOption(),
+ Annotations: Annotations.ToOption(),
+ Shapes: Shapes.ToOption(),
+ Images: Images.ToOption(),
+ Sliders: Sliders.ToOption(),
+ UpdateMenus: UpdateMenus.ToOption()
+ );
+ public static Plotly.NET.Layout Style(
+ this Plotly.NET.Layout obj,
+ Optional Title = default,
+ Optional ShowLegend = default,
+ Optional Legend = default,
+ Optional Margin = default,
+ Optional AutoSize = default,
+ Optional Width = default,
+ Optional Height = default,
+ Optional Font = default,
+ Optional UniformText = default,
+ Optional Separators = default,
+ Optional PaperBGColor = default,
+ Optional PlotBGColor = default,
+ Optional AutoTypeNumbers = default,
+ Optional Colorscale = default,
+ Optional Colorway = default,
+ Optional ModeBar = default,
+ Optional HoverMode = default,
+ Optional ClickMode = default,
+ Optional DragMode = default,
+ Optional SelectDirection = default,
+ Optional HoverDistance = default,
+ Optional SpikeDistance = default,
+ Optional Hoverlabel = default,
+ Optional Transition = default,
+ Optional DataRevision = default,
+ Optional UIRevision = default,
+ Optional EditRevision = default,
+ Optional SelectRevision = default,
+ Optional Template = default,
+ Optional Meta = default,
+ Optional Computed = default,
+ Optional Grid = default,
+ Optional Calendar = default,
+ Optional NewShape = default,
+ Optional ActiveShape = default,
+ Optional HideSources = default,
+ Optional BarGap = default,
+ Optional BarGroupGap = default,
+ Optional BarMode = default,
+ Optional BarNorm = default,
+ Optional ExtendPieColors = default,
+ Optional> HiddenLabels = default,
+ Optional PieColorWay = default,
+ Optional BoxGap = default,
+ Optional BoxGroupGap = default,
+ Optional BoxMode = default,
+ Optional ViolinGap = default,
+ Optional ViolinGroupGap = default,
+ Optional ViolinMode = default,
+ Optional WaterfallGap = default,
+ Optional WaterfallGroupGap = default,
+ Optional WaterfallMode = default,
+ Optional FunnelGap = default,
+ Optional FunnelGroupGap = default,
+ Optional FunnelMode = default,
+ Optional ExtendFunnelAreaColors = default,
+ Optional FunnelAreaColorWay = default,
+ Optional ExtendSunBurstColors = default,
+ Optional SunBurstColorWay = default,
+ Optional ExtendTreeMapColors = default,
+ Optional TreeMapColorWay = default,
+ Optional ExtendIcicleColors = default,
+ Optional IcicleColorWay = default,
+ Optional> Annotations = default,
+ Optional> Shapes = default,
+ Optional> Images = default,
+ Optional> Sliders = default,
+ Optional> UpdateMenus = default
+ )
+ where a: System.IConvertible
+ =>
+ Plotly.NET.Layout.style(
+ Title: Title.ToOption(),
+ ShowLegend: ShowLegend.ToOption(),
+ Legend: Legend.ToOption(),
+ Margin: Margin.ToOption(),
+ AutoSize: AutoSize.ToOption(),
+ Width: Width.ToOption(),
+ Height: Height.ToOption(),
+ Font: Font.ToOption(),
+ UniformText: UniformText.ToOption(),
+ Separators: Separators.ToOption(),
+ PaperBGColor: PaperBGColor.ToOption(),
+ PlotBGColor: PlotBGColor.ToOption(),
+ AutoTypeNumbers: AutoTypeNumbers.ToOption(),
+ Colorscale: Colorscale.ToOption(),
+ Colorway: Colorway.ToOption(),
+ ModeBar: ModeBar.ToOption(),
+ HoverMode: HoverMode.ToOption(),
+ ClickMode: ClickMode.ToOption(),
+ DragMode: DragMode.ToOption(),
+ SelectDirection: SelectDirection.ToOption(),
+ HoverDistance: HoverDistance.ToOption(),
+ SpikeDistance: SpikeDistance.ToOption(),
+ Hoverlabel: Hoverlabel.ToOption(),
+ Transition: Transition.ToOption(),
+ DataRevision: DataRevision.ToOption(),
+ UIRevision: UIRevision.ToOption(),
+ EditRevision: EditRevision.ToOption(),
+ SelectRevision: SelectRevision.ToOption(),
+ Template: Template.ToOption(),
+ Meta: Meta.ToOption(),
+ Computed: Computed.ToOption(),
+ Grid: Grid.ToOption(),
+ Calendar: Calendar.ToOption(),
+ NewShape: NewShape.ToOption(),
+ ActiveShape: ActiveShape.ToOption(),
+ HideSources: HideSources.ToOption(),
+ BarGap: BarGap.ToOption(),
+ BarGroupGap: BarGroupGap.ToOption(),
+ BarMode: BarMode.ToOption(),
+ BarNorm: BarNorm.ToOption(),
+ ExtendPieColors: ExtendPieColors.ToOption(),
+ HiddenLabels: HiddenLabels.ToOption(),
+ PieColorWay: PieColorWay.ToOption(),
+ BoxGap: BoxGap.ToOption(),
+ BoxGroupGap: BoxGroupGap.ToOption(),
+ BoxMode: BoxMode.ToOption(),
+ ViolinGap: ViolinGap.ToOption(),
+ ViolinGroupGap: ViolinGroupGap.ToOption(),
+ ViolinMode: ViolinMode.ToOption(),
+ WaterfallGap: WaterfallGap.ToOption(),
+ WaterfallGroupGap: WaterfallGroupGap.ToOption(),
+ WaterfallMode: WaterfallMode.ToOption(),
+ FunnelGap: FunnelGap.ToOption(),
+ FunnelGroupGap: FunnelGroupGap.ToOption(),
+ FunnelMode: FunnelMode.ToOption(),
+ ExtendFunnelAreaColors: ExtendFunnelAreaColors.ToOption(),
+ FunnelAreaColorWay: FunnelAreaColorWay.ToOption(),
+ ExtendSunBurstColors: ExtendSunBurstColors.ToOption(),
+ SunBurstColorWay: SunBurstColorWay.ToOption(),
+ ExtendTreeMapColors: ExtendTreeMapColors.ToOption(),
+ TreeMapColorWay: TreeMapColorWay.ToOption(),
+ ExtendIcicleColors: ExtendIcicleColors.ToOption(),
+ IcicleColorWay: IcicleColorWay.ToOption(),
+ Annotations: Annotations.ToOption(),
+ Shapes: Shapes.ToOption(),
+ Images: Images.ToOption(),
+ Sliders: Sliders.ToOption(),
+ UpdateMenus: UpdateMenus.ToOption()
+ ).Invoke(obj);
+ public static Plotly.NET.Layout UpdateLinearAxisById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.LinearAxis axis
+ )
+
+ =>
+ Plotly.NET.Layout.updateLinearAxisById(
+ id: id,
+ axis: axis
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.LinearAxis GetLinearAxisById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id
+ )
+
+ =>
+ Plotly.NET.Layout.getLinearAxisById(
+ id: id
+ ).Invoke(obj);
+ public static Plotly.NET.Layout SetLinearAxis(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.LinearAxis axis
+ )
+
+ =>
+ Plotly.NET.Layout.setLinearAxis(
+ id: id,
+ axis: axis
+ ).Invoke(obj);
+ public static Plotly.NET.Layout UpdateSceneById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Scene scene
+ )
+
+ =>
+ Plotly.NET.Layout.updateSceneById(
+ id: id,
+ scene: scene
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.Scene GetSceneById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id
+ )
+
+ =>
+ Plotly.NET.Layout.getSceneById(
+ id: id
+ ).Invoke(obj);
+ public static Plotly.NET.Layout SetScene(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Scene scene
+ )
+
+ =>
+ Plotly.NET.Layout.setScene(
+ id: id,
+ scene: scene
+ ).Invoke(obj);
+ public static Plotly.NET.Layout UpdateGeoById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Geo geo
+ )
+
+ =>
+ Plotly.NET.Layout.updateGeoById(
+ id: id,
+ geo: geo
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.Geo GetGeoById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id
+ )
+
+ =>
+ Plotly.NET.Layout.getGeoById(
+ id: id
+ ).Invoke(obj);
+ public static Plotly.NET.Layout SetGeo(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Geo geo
+ )
+
+ =>
+ Plotly.NET.Layout.setGeo(
+ id: id,
+ geo: geo
+ ).Invoke(obj);
+ public static Plotly.NET.Layout UpdateMapboxById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Mapbox mapbox
+ )
+
+ =>
+ Plotly.NET.Layout.updateMapboxById(
+ id: id,
+ mapbox: mapbox
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.Mapbox GetMapboxById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id
+ )
+
+ =>
+ Plotly.NET.Layout.getMapboxById(
+ id: id
+ ).Invoke(obj);
+ public static Plotly.NET.Layout SetMapbox(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Mapbox mapbox
+ )
+
+ =>
+ Plotly.NET.Layout.setMapbox(
+ id: id,
+ mapbox: mapbox
+ ).Invoke(obj);
+ public static Plotly.NET.Layout UpdatePolarById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Polar polar
+ )
+
+ =>
+ Plotly.NET.Layout.updatePolarById(
+ id: id,
+ polar: polar
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.Polar GetPolarById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id
+ )
+
+ =>
+ Plotly.NET.Layout.getPolarById(
+ id: id
+ ).Invoke(obj);
+ public static Plotly.NET.Layout SetPolar(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Polar polar
+ )
+
+ =>
+ Plotly.NET.Layout.setPolar(
+ id: id,
+ polar: polar
+ ).Invoke(obj);
+ public static Plotly.NET.Layout UpdateSmithById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Smith smith
+ )
+
+ =>
+ Plotly.NET.Layout.updateSmithById(
+ id: id,
+ smith: smith
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.Smith GetSmithById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id
+ )
+
+ =>
+ Plotly.NET.Layout.getSmithById(
+ id: id
+ ).Invoke(obj);
+ public static Plotly.NET.Layout SetSmith(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Smith smith
+ )
+
+ =>
+ Plotly.NET.Layout.setSmith(
+ id: id,
+ smith: smith
+ ).Invoke(obj);
+ public static Plotly.NET.Layout UpdateColorAxisById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.ColorAxis colorAxis
+ )
+
+ =>
+ Plotly.NET.Layout.updateColorAxisById(
+ id: id,
+ colorAxis: colorAxis
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.ColorAxis GetColorAxisById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id
+ )
+
+ =>
+ Plotly.NET.Layout.getColorAxisById(
+ id: id
+ ).Invoke(obj);
+ public static Plotly.NET.Layout SetColorAxis(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.ColorAxis colorAxis
+ )
+
+ =>
+ Plotly.NET.Layout.setColorAxis(
+ id: id,
+ colorAxis: colorAxis
+ ).Invoke(obj);
+ public static Plotly.NET.Layout UpdateTernaryById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Ternary ternary
+ )
+
+ =>
+ Plotly.NET.Layout.updateTernaryById(
+ id: id,
+ ternary: ternary
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.Ternary GetTernaryById(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id
+ )
+
+ =>
+ Plotly.NET.Layout.getTernaryById(
+ id: id
+ ).Invoke(obj);
+ public static Plotly.NET.Layout SetTernary(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.StyleParam.SubPlotId id,
+ Plotly.NET.LayoutObjects.Ternary ternary
+ )
+
+ =>
+ Plotly.NET.Layout.setTernary(
+ id: id,
+ ternary: ternary
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.LayoutGrid GetLayoutGrid(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.Layout layout
+ )
+
+ =>
+ Plotly.NET.Layout.getLayoutGrid(
+ layout: layout
+ );
+ public static Plotly.NET.Layout SetLayoutGrid(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.LayoutObjects.LayoutGrid layoutGrid
+ )
+
+ =>
+ Plotly.NET.Layout.setLayoutGrid(
+ layoutGrid: layoutGrid
+ ).Invoke(obj);
+ public static Plotly.NET.Layout UpdateLayoutGrid(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.LayoutObjects.LayoutGrid layoutGrid
+ )
+
+ =>
+ Plotly.NET.Layout.updateLayoutGrid(
+ layoutGrid: layoutGrid
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.Legend GetLegend(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.Layout layout
+ )
+
+ =>
+ Plotly.NET.Layout.getLegend(
+ layout: layout
+ );
+ public static Plotly.NET.Layout SetLegend(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.LayoutObjects.Legend legend
+ )
+
+ =>
+ Plotly.NET.Layout.setLegend(
+ legend: legend
+ ).Invoke(obj);
+ public static Plotly.NET.Layout UpdateLegend(
+ this Plotly.NET.Layout obj,
+ Plotly.NET.LayoutObjects.Legend legend
+ )
+
+ =>
+ Plotly.NET.Layout.updateLegend(
+ legend: legend
+ ).Invoke(obj);
+}
\ No newline at end of file
diff --git a/src/Plotly.NET.CSharp/LayoutObjects/Geo.cs b/src/Plotly.NET.CSharp/LayoutObjects/Geo.cs
new file mode 100644
index 000000000..102f43878
--- /dev/null
+++ b/src/Plotly.NET.CSharp/LayoutObjects/Geo.cs
@@ -0,0 +1,146 @@
+// this file was auto-generated using Plotly.NET.Codegen on 3/20/2023 targeting Plotly.NET, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c98c6d87097b7615.
+// Do not edit this, as it will most likely be overwritten on the next codegen run.
+// Instead, file an issue or target the codegen with your changes directly.
+// Bugs that are not caused by wrong codegen are most likely not found in this file, but in the F# source this file is generated from.
+
+namespace Plotly.NET.CSharp.LayoutObjects;
+
+public static class Geo {
+ public static Plotly.NET.LayoutObjects.Geo Init(
+ Optional FitBounds = default,
+ Optional Resolution = default,
+ Optional Scope = default,
+ Optional Projection = default,
+ Optional> Center = default,
+ Optional Visible = default,
+ Optional Domain = default,
+ Optional ShowCoastLines = default,
+ Optional CoastLineColor = default,
+ Optional CoastLineWidth = default,
+ Optional ShowLand = default,
+ Optional LandColor = default,
+ Optional ShowOcean = default,
+ Optional OceanColor = default,
+ Optional ShowLakes = default,
+ Optional LakeColor = default,
+ Optional ShowRivers = default,
+ Optional RiverColor = default,
+ Optional RiverWidth = default,
+ Optional ShowCountries = default,
+ Optional CountryColor = default,
+ Optional CountryWidth = default,
+ Optional ShowSubunits = default,
+ Optional SubunitColor = default,
+ Optional SubunitWidth = default,
+ Optional ShowFrame = default,
+ Optional FrameColor = default,
+ Optional FrameWidth = default,
+ Optional BgColor = default,
+ Optional LatAxis = default,
+ Optional LonAxis = default
+ )
+
+ =>
+ Plotly.NET.LayoutObjects.Geo.init(
+ FitBounds: FitBounds.ToOption(),
+ Resolution: Resolution.ToOption(),
+ Scope: Scope.ToOption(),
+ Projection: Projection.ToOption(),
+ Center: Center.ToOption(),
+ Visible: Visible.ToOption(),
+ Domain: Domain.ToOption(),
+ ShowCoastLines: ShowCoastLines.ToOption(),
+ CoastLineColor: CoastLineColor.ToOption(),
+ CoastLineWidth: CoastLineWidth.ToOption(),
+ ShowLand: ShowLand.ToOption(),
+ LandColor: LandColor.ToOption(),
+ ShowOcean: ShowOcean.ToOption(),
+ OceanColor: OceanColor.ToOption(),
+ ShowLakes: ShowLakes.ToOption(),
+ LakeColor: LakeColor.ToOption(),
+ ShowRivers: ShowRivers.ToOption(),
+ RiverColor: RiverColor.ToOption(),
+ RiverWidth: RiverWidth.ToOption(),
+ ShowCountries: ShowCountries.ToOption(),
+ CountryColor: CountryColor.ToOption(),
+ CountryWidth: CountryWidth.ToOption(),
+ ShowSubunits: ShowSubunits.ToOption(),
+ SubunitColor: SubunitColor.ToOption(),
+ SubunitWidth: SubunitWidth.ToOption(),
+ ShowFrame: ShowFrame.ToOption(),
+ FrameColor: FrameColor.ToOption(),
+ FrameWidth: FrameWidth.ToOption(),
+ BgColor: BgColor.ToOption(),
+ LatAxis: LatAxis.ToOption(),
+ LonAxis: LonAxis.ToOption()
+ );
+ public static Plotly.NET.LayoutObjects.Geo Style(
+ this Plotly.NET.LayoutObjects.Geo obj,
+ Optional FitBounds = default,
+ Optional Resolution = default,
+ Optional Scope = default,
+ Optional Projection = default,
+ Optional> Center = default,
+ Optional Visible = default,
+ Optional Domain = default,
+ Optional ShowCoastLines = default,
+ Optional CoastLineColor = default,
+ Optional CoastLineWidth = default,
+ Optional ShowLand = default,
+ Optional LandColor = default,
+ Optional ShowOcean = default,
+ Optional OceanColor = default,
+ Optional ShowLakes = default,
+ Optional LakeColor = default,
+ Optional ShowRivers = default,
+ Optional RiverColor = default,
+ Optional RiverWidth = default,
+ Optional ShowCountries = default,
+ Optional CountryColor = default,
+ Optional CountryWidth = default,
+ Optional ShowSubunits = default,
+ Optional SubunitColor = default,
+ Optional SubunitWidth = default,
+ Optional ShowFrame = default,
+ Optional FrameColor = default,
+ Optional FrameWidth = default,
+ Optional BgColor = default,
+ Optional LatAxis = default,
+ Optional LonAxis = default
+ )
+
+ =>
+ Plotly.NET.LayoutObjects.Geo.style(
+ FitBounds: FitBounds.ToOption(),
+ Resolution: Resolution.ToOption(),
+ Scope: Scope.ToOption(),
+ Projection: Projection.ToOption(),
+ Center: Center.ToOption(),
+ Visible: Visible.ToOption(),
+ Domain: Domain.ToOption(),
+ ShowCoastLines: ShowCoastLines.ToOption(),
+ CoastLineColor: CoastLineColor.ToOption(),
+ CoastLineWidth: CoastLineWidth.ToOption(),
+ ShowLand: ShowLand.ToOption(),
+ LandColor: LandColor.ToOption(),
+ ShowOcean: ShowOcean.ToOption(),
+ OceanColor: OceanColor.ToOption(),
+ ShowLakes: ShowLakes.ToOption(),
+ LakeColor: LakeColor.ToOption(),
+ ShowRivers: ShowRivers.ToOption(),
+ RiverColor: RiverColor.ToOption(),
+ RiverWidth: RiverWidth.ToOption(),
+ ShowCountries: ShowCountries.ToOption(),
+ CountryColor: CountryColor.ToOption(),
+ CountryWidth: CountryWidth.ToOption(),
+ ShowSubunits: ShowSubunits.ToOption(),
+ SubunitColor: SubunitColor.ToOption(),
+ SubunitWidth: SubunitWidth.ToOption(),
+ ShowFrame: ShowFrame.ToOption(),
+ FrameColor: FrameColor.ToOption(),
+ FrameWidth: FrameWidth.ToOption(),
+ BgColor: BgColor.ToOption(),
+ LatAxis: LatAxis.ToOption(),
+ LonAxis: LonAxis.ToOption()
+ ).Invoke(obj);
+}
\ No newline at end of file
diff --git a/src/Plotly.NET.CSharp/LayoutObjects/Mapbox.cs b/src/Plotly.NET.CSharp/LayoutObjects/Mapbox.cs
new file mode 100644
index 000000000..dbabda0da
--- /dev/null
+++ b/src/Plotly.NET.CSharp/LayoutObjects/Mapbox.cs
@@ -0,0 +1,54 @@
+// this file was auto-generated using Plotly.NET.Codegen on 3/20/2023 targeting Plotly.NET, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c98c6d87097b7615.
+// Do not edit this, as it will most likely be overwritten on the next codegen run.
+// Instead, file an issue or target the codegen with your changes directly.
+// Bugs that are not caused by wrong codegen are most likely not found in this file, but in the F# source this file is generated from.
+
+namespace Plotly.NET.CSharp.LayoutObjects;
+
+public static class Mapbox {
+ public static Plotly.NET.LayoutObjects.Mapbox Init(
+ Optional Domain = default,
+ Optional AccessToken = default,
+ Optional Style = default,
+ Optional> Center = default,
+ Optional Zoom = default,
+ Optional Bearing = default,
+ Optional Pitch = default,
+ Optional> Layers = default
+ )
+
+ =>
+ Plotly.NET.LayoutObjects.Mapbox.init(
+ Domain: Domain.ToOption(),
+ AccessToken: AccessToken.ToOption(),
+ Style: Style.ToOption(),
+ Center: Center.ToOption(),
+ Zoom: Zoom.ToOption(),
+ Bearing: Bearing.ToOption(),
+ Pitch: Pitch.ToOption(),
+ Layers: Layers.ToOption()
+ );
+ public static Plotly.NET.LayoutObjects.Mapbox Style(
+ this Plotly.NET.LayoutObjects.Mapbox obj,
+ Optional Domain = default,
+ Optional AccessToken = default,
+ Optional Style = default,
+ Optional> Center = default,
+ Optional Zoom = default,
+ Optional Bearing = default,
+ Optional Pitch = default,
+ Optional> Layers = default
+ )
+
+ =>
+ Plotly.NET.LayoutObjects.Mapbox.style(
+ Domain: Domain.ToOption(),
+ AccessToken: AccessToken.ToOption(),
+ Style: Style.ToOption(),
+ Center: Center.ToOption(),
+ Zoom: Zoom.ToOption(),
+ Bearing: Bearing.ToOption(),
+ Pitch: Pitch.ToOption(),
+ Layers: Layers.ToOption()
+ ).Invoke(obj);
+}
\ No newline at end of file
diff --git a/src/Plotly.NET.CSharp/LayoutObjects/Polar.cs b/src/Plotly.NET.CSharp/LayoutObjects/Polar.cs
new file mode 100644
index 000000000..32da66b5c
--- /dev/null
+++ b/src/Plotly.NET.CSharp/LayoutObjects/Polar.cs
@@ -0,0 +1,94 @@
+// this file was auto-generated using Plotly.NET.Codegen on 3/20/2023 targeting Plotly.NET, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c98c6d87097b7615.
+// Do not edit this, as it will most likely be overwritten on the next codegen run.
+// Instead, file an issue or target the codegen with your changes directly.
+// Bugs that are not caused by wrong codegen are most likely not found in this file, but in the F# source this file is generated from.
+
+namespace Plotly.NET.CSharp.LayoutObjects;
+
+public static class Polar {
+ public static Plotly.NET.LayoutObjects.Polar Init(
+ Optional Domain = default,
+ Optional> Sector = default,
+ Optional Hole = default,
+ Optional BGColor = default,
+ Optional RadialAxis = default,
+ Optional AngularAxis = default,
+ Optional GridShape = default,
+ Optional UIRevision = default
+ )
+
+ =>
+ Plotly.NET.LayoutObjects.Polar.init(
+ Domain: Domain.ToOption(),
+ Sector: Sector.ToOption(),
+ Hole: Hole.ToOption(),
+ BGColor: BGColor.ToOption(),
+ RadialAxis: RadialAxis.ToOption(),
+ AngularAxis: AngularAxis.ToOption(),
+ GridShape: GridShape.ToOption(),
+ UIRevision: UIRevision.ToOption()
+ );
+ public static Plotly.NET.LayoutObjects.Polar Style(
+ this Plotly.NET.LayoutObjects.Polar obj,
+ Optional Domain = default,
+ Optional> Sector = default,
+ Optional Hole = default,
+ Optional BGColor = default,
+ Optional RadialAxis = default,
+ Optional AngularAxis = default,
+ Optional GridShape = default,
+ Optional UIRevision = default,
+ Optional BarMode = default,
+ Optional BarGap = default
+ )
+
+ =>
+ Plotly.NET.LayoutObjects.Polar.style(
+ Domain: Domain.ToOption(),
+ Sector: Sector.ToOption(),
+ Hole: Hole.ToOption(),
+ BGColor: BGColor.ToOption(),
+ RadialAxis: RadialAxis.ToOption(),
+ AngularAxis: AngularAxis.ToOption(),
+ GridShape: GridShape.ToOption(),
+ UIRevision: UIRevision.ToOption(),
+ BarMode: BarMode.ToOption(),
+ BarGap: BarGap.ToOption()
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.AngularAxis GetAngularAxis(
+ this Plotly.NET.LayoutObjects.Polar obj,
+ Plotly.NET.LayoutObjects.Polar polar
+ )
+
+ =>
+ Plotly.NET.LayoutObjects.Polar.getAngularAxis(
+ polar: polar
+ );
+ public static Plotly.NET.LayoutObjects.Polar SetAngularAxis(
+ this Plotly.NET.LayoutObjects.Polar obj,
+ Plotly.NET.LayoutObjects.AngularAxis angularAxis
+ )
+
+ =>
+ Plotly.NET.LayoutObjects.Polar.setAngularAxis(
+ angularAxis: angularAxis
+ ).Invoke(obj);
+ public static Plotly.NET.LayoutObjects.RadialAxis GetRadialAxis(
+ this Plotly.NET.LayoutObjects.Polar obj,
+ Plotly.NET.LayoutObjects.Polar polar
+ )
+
+ =>
+ Plotly.NET.LayoutObjects.Polar.getRadialAxis(
+ polar: polar
+ );
+ public static Plotly.NET.LayoutObjects.Polar SetRadialAxis(
+ this Plotly.NET.LayoutObjects.Polar obj,
+ Plotly.NET.LayoutObjects.RadialAxis radialAxis
+ )
+
+ =>
+ Plotly.NET.LayoutObjects.Polar.setRadialAxis(
+ radialAxis: radialAxis
+ ).Invoke(obj);
+}
\ No newline at end of file
diff --git a/src/Plotly.NET.CSharp/LayoutObjects/Scene.cs b/src/Plotly.NET.CSharp/LayoutObjects/Scene.cs
new file mode 100644
index 000000000..653fd1256
--- /dev/null
+++ b/src/Plotly.NET.CSharp/LayoutObjects/Scene.cs
@@ -0,0 +1,124 @@
+// this file was auto-generated using Plotly.NET.Codegen on 3/20/2023 targeting Plotly.NET, Version=3.0.0.0, Culture=neutral, PublicKeyToken=c98c6d87097b7615.
+// Do not edit this, as it will most likely be overwritten on the next codegen run.
+// Instead, file an issue or target the codegen with your changes directly.
+// Bugs that are not caused by wrong codegen are most likely not found in this file, but in the F# source this file is generated from.
+
+namespace Plotly.NET.CSharp.LayoutObjects;
+
+public static class Scene {
+ public static Plotly.NET.LayoutObjects.Scene Init(
+ Optional> Annotations = default,
+ Optional AspectMode = default,
+ Optional AspectRatio = default,
+ Optional BGColor = default,
+ Optional Camera = default,
+ Optional Domain = default,
+ Optional DragMode = default,
+ Optional HoverMode = default,
+ Optional UIRevision = default,
+ Optional XAxis = default,
+ Optional YAxis = default,
+ Optional ZAxis = default
+ )
+
+ =>
+ Plotly.NET.LayoutObjects.Scene.init(
+ Annotations: Annotations.ToOption(),
+ AspectMode: AspectMode.ToOption(),
+ AspectRatio: AspectRatio.ToOption(),
+ BGColor: BGColor.ToOption(),
+ Camera: Camera.ToOption(),
+ Domain: Domain.ToOption(),
+ DragMode: DragMode.ToOption(),
+ HoverMode: HoverMode.ToOption(),
+ UIRevision: UIRevision.ToOption(),
+ XAxis: XAxis.ToOption(),
+ YAxis: YAxis.ToOption(),
+ ZAxis: ZAxis.ToOption()
+ );
+ public static Plotly.NET.LayoutObjects.Scene Style(
+ this Plotly.NET.LayoutObjects.Scene obj,
+ Optional> Annotations = default,
+ Optional AspectMode = default,
+ Optional AspectRatio = default,
+ Optional BGColor = default,
+ Optional Camera = default,
+ Optional Domain = default,
+ Optional