/// <param name="gChart">The chart in which to change the trace info</param>
/// <param name="Name">Sets the name of the chart's trace(s). When the chart is a multichart (it contains multiple traces), the name is suffixed by '_%i' where %i is the index of the trace.</param>
/// <param name="Visible">Whether or not the chart's traces are visible</param>
/// <param name="ShowLegend">Determines whether or not item(s) corresponding to this chart's trace(s) is/are shown in the legend.</param>
/// <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>
/// Sets the given x axis styles on the input chart's layout.
///
/// 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 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>
/// <param name="Title">Sets the Title (use this for more finegrained control than the other title-associated arguments)</param>
/// <param name="Color">Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors.</param>
/// <param name="AxisType">Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.</param>
/// <param name="MinMax">Tuple of (Min*Max value). Sets the range of this axis (the axis will go from Min to Max). If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2).</param>
/// <param name="Mirror">Determines if and how the axis lines or/and ticks are mirrored to the opposite side of the plotting area.</param>
/// <param name="ShowSpikes">Determines whether or not spikes (aka droplines) are drawn for this axis.</param>
/// <param name="SpikeColor">Sets the spike color. If not set, will use the series color</param>
/// <param name="SpikeThickness">Sets the width (in px) of the zero line.</param>
/// <param name="ShowLine">Determines whether or not a line bounding this axis is drawn.</param>
/// <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="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>
/// <param name="CategoryArray">Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.</param>
/// <param name="RangeSlider">Sets a range slider for this axis</param>
/// <param name="RangeSelector">Sets a range selector for this axis. This object contains toggable presets for the rangeslider.</param>
/// <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>
/// Sets the given y axis styles on the input chart's layout.
///
/// 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 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>
/// <param name="Title">Sets the Title (use this for more finegrained control than the other title-associated arguments)</param>
/// <param name="Color">Sets default for all colors associated with this axis all at once: line, font, tick, and grid colors.</param>
/// <param name="AxisType">Sets the axis type. By default, plotly attempts to determined the axis type by looking into the data of the traces that referenced the axis in question.</param>
/// <param name="MinMax">Tuple of (Min*Max value). Sets the range of this axis (the axis will go from Min to Max). If the axis `type` is "log", then you must take the log of your desired range (e.g. to set the range from 1 to 100, set the range from 0 to 2).</param>
/// <param name="Mirror">Determines if and how the axis lines or/and ticks are mirrored to the opposite side of the plotting area.</param>
/// <param name="ShowSpikes">Determines whether or not spikes (aka droplines) are drawn for this axis.</param>
/// <param name="SpikeColor">Sets the spike color. If not set, will use the series color</param>
/// <param name="SpikeThickness">Sets the width (in px) of the zero line.</param>
/// <param name="ShowLine">Determines whether or not a line bounding this axis is drawn.</param>
/// <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>
/// <param name="CategoryArray">Sets the order in which categories on this axis appear. Only has an effect if `categoryorder` is set to "array". Used with `categoryorder`.</param>
/// <param name="RangeSlider">Sets a range slider for this axis</param>
/// <param name="RangeSelector">Sets a range selector for this axis. This object contains toggable presets for the rangeslider.</param>
/// <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>
/// If there is already a Mapbox set, the objects are combined.
/// </summary>
/// <param name="gChart">The chart in which to change the mapbox</param>
/// <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>
publicstaticGenericChartWithMapbox(
thisGenericChartgChart,
Mapboxmapbox,
Optional<int>Id=default
)
=>
Plotly.NET.Chart.withMapbox(
mapbox:mapbox,
Id:Id.ToOption()
).Invoke(gChart);
/// <summary>
/// Sets the given Mapbox styles on the target Mapbox object on the input chart's layout.
///
/// If there is already a Mapbox set, the styles are applied to it. If there is no Mapbox present, a new Mapbox object with the given styles will be set.
/// </summary>
/// <param name="gChart">The chart in which to change the mapbox style</param>
/// <param name="Domain">Sets the domain of the Mapbox subplot</param>
/// <param name="AccessToken">Sets the mapbox access token to be used for this mapbox map. Alternatively, the mapbox access token can be set in the configuration options under `mapboxAccessToken`. Note that accessToken are only required when `style` (e.g with values : basic, streets, outdoors, light, dark, satellite, satellite-streets ) and/or a layout layer references the Mapbox server.</param>
/// <param name="Style">Defines the map layers that are rendered by default below the trace layers defined in `data`, which are themselves by default rendered below the layers defined in `layout.mapbox.layers`. These layers can be defined either explicitly as a Mapbox Style object which can contain multiple layer definitions that load data from any public or private Tile Map Service (TMS or XYZ) or Web Map Service (WMS) or implicitly by using one of the built-in style objects which use WMSes which do not require any access tokens, or by using a default Mapbox style or custom Mapbox style URL, both of which require a Mapbox access token Note that Mapbox access token can be set in the `accesstoken` attribute or in the `mapboxAccessToken` config option. Mapbox Style objects are of the form described in the Mapbox GL JS documentation available at https://docs.mapbox.com/mapbox-gl-js/style-spec The built-in plotly.js styles objects are: carto-darkmatter, carto-positron, open-street-map, stamen-terrain, stamen-toner, stamen-watercolor, white-bg The built-in Mapbox styles are: basic, streets, outdoors, light, dark, satellite, satellite-streets Mapbox style URLs are of the form: mapbox://mapbox.mapbox/name/version</param>
/// <param name="Center">Sets the (lon,lat) coordinates of the center of the map view</param>
/// <param name="Zoom">Sets the zoom level of the map (mapbox.zoom).</param>
/// <param name="Bearing">Sets the bearing angle of the map in degrees counter-clockwise from North (mapbox.bearing).</param>
/// <param name="Pitch">Sets the pitch angle of the map (in degrees, where "0" means perpendicular to the surface of the map) (mapbox.pitch).</param>
/// <param name="Layers">Sets the layers of this Mapbox</param>
/// <param name="Id">The target mapbox id</param>
publicstaticGenericChartWithMapboxStyle(
thisGenericChartgChart,
Optional<Domain>Domain=default,
Optional<string>AccessToken=default,
Optional<StyleParam.MapboxStyle>Style=default,
Optional<Tuple<double,double>>Center=default,
Optional<double>Zoom=default,
Optional<double>Bearing=default,
Optional<double>Pitch=default,
Optional<IEnumerable<MapboxLayer>>Layers=default,
Optional<int>Id=default
)
=>
Plotly.NET.Chart.withMapboxStyle(
Domain:Domain.ToOption(),
AccessToken:AccessToken.ToOption(),
Style:Style.ToOption(),
Center:Center.ToOption(),
Zoom:Zoom.ToOption(),
Bearing:Bearing.ToOption(),
Pitch:Pitch.ToOption(),
Layers:Layers.ToOption(),
Id:Id.ToOption()
).Invoke(gChart);
/// <summary>
/// Sets the range slider for the xAxis
/// </summary>
/// <param name="gChart">The chart for which to set the x axis range slider</param>
/// <param name="rangeSlider">The rangeslider to set</param>
/// <param name="Id">The id of the respective x axis</param>
/// <returns></returns>
publicstaticGenericChartWithXAxisRangeSlider(
thisGenericChartgChart,
RangeSliderrangeSlider,
Optional<StyleParam.SubPlotId>Id=default
)
=>
Plotly.NET.Chart.withXAxisRangeSlider(
rangeSlider:rangeSlider,
Id:Id.ToOption()
).Invoke(gChart);
/// <summary>
/// Sets the Legend for the chart's layout
///
/// If there is already a Legend set, the objects are combined.
/// </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>
publicstaticGenericChartWithLegend(
thisGenericChartgChart,
Legendlegend,
Optional<int>Id
)
=>
Plotly.NET.Chart.withLegend(
legend:legend,
Id:Id.ToOption()
).Invoke(gChart);
/// <summary>
/// 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</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>
/// <param name="EntryWidth">Sets the width (in px or fraction) of the legend. Use 0 to size the entry based on the text width, when `entrywidthmode` is set to "pixels".</param>
/// <param name="EntryWidthMode">Determines what entrywidth means.</param>
/// <param name="Font">Sets the font used to text the legend items.</param>
/// <param name="GroupClick">Determines the behavior on legend group item click. "toggleitem" toggles the visibility of the individual item clicked on the graph. "togglegroup" toggles the visibility of all items in the same legendgroup as the item clicked on the graph.</param>
/// <param name="GroupTitleFont">Sets the font for group titles in legend. Defaults to `legend.font` with its size increased about 10%.</param>
/// <param name="ItemClick">Determines the behavior on legend item click. "toggle" toggles the visibility of the item clicked on the graph. "toggleothers" makes the clicked item the sole visible item on the graph. "false" disables legend item click interactions.</param>
/// <param name="ItemDoubleClick">Determines the behavior on legend item double-click. "toggle" toggles the visibility of the item clicked on the graph. "toggleothers" makes the clicked item the sole visible item on the graph. "false" disables legend item double-click interactions.</param>
/// <param name="ItemSizing">Determines if the legend items symbols scale with their corresponding "trace" attributes or remain "constant" independent of the symbol size on the graph.</param>
/// <param name="ItemWidth">Sets the width (in px) of the legend item symbols (the part other than the title.text).</param>
/// <param name="Orientation">Sets the orientation of the legend.</param>
/// <param name="Title">Sets the title of the legend.</param>
/// <param name="TraceGroupGap">Sets the amount of vertical space (in px) between legend groups.</param>
/// <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>