Skip to content

Commit

Permalink
plotlyjs v2.17: Introduce group attributes for scatter trace i.e. ali…
Browse files Browse the repository at this point in the history
…gnmentgroup, offsetgroup, scattermode and scattergap (plotly/plotly.js#6381)
  • Loading branch information
kMutagene committed Feb 13, 2023
1 parent c5f7108 commit 67378a3
Show file tree
Hide file tree
Showing 5 changed files with 122 additions and 8 deletions.
6 changes: 6 additions & 0 deletions src/Plotly.NET/ChartAPI/Chart.fs
Original file line number Diff line number Diff line change
Expand Up @@ -776,6 +776,8 @@ type Chart =
/// <param name="NewShape">Controls the behavior of newly drawn shapes</param>
/// <param name="ActiveShape">Sets the styling of the active shape</param>
/// <param name="HideSources">Determines whether or not a text link citing the data source is placed at the bottom-right cored of the figure. Has only an effect only on graphs that have been generated via forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise).</param>
/// <param name="ScatterGap">Sets the gap (in plot fraction) between scatter points of adjacent location coordinates. Defaults to `bargap`.</param>
/// <param name="ScatterMode">Determines how scatter points at the same location coordinate are displayed on the graph. With "group", the scatter points are plotted next to one another centered around the shared location. With "overlay", the scatter points are plotted over one another, you might need to reduce "opacity" to see multiple scatter points.</param>
/// <param name="BarGap">Sets the gap (in plot fraction) between bars of adjacent location coordinates.</param>
/// <param name="BarGroupGap">Sets the gap (in plot fraction) between bars of adjacent location coordinates.</param>
/// <param name="BarMode">Determines how bars at the same location coordinate are displayed on the graph. With "stack", the bars are stacked on top of one another With "relative", the bars are stacked on top of one another, with negative values below the axis, positive values above With "group", the bars are plotted next to one another centered around the shared location. With "overlay", the bars are plotted over one another, you might need to an "opacity" to see multiple bars.</param>
Expand Down Expand Up @@ -852,6 +854,8 @@ type Chart =
[<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,
Expand Down Expand Up @@ -930,6 +934,8 @@ type Chart =
?MinReducedWidth = MinReducedWidth,
?ActiveShape = ActiveShape,
?HideSources = HideSources,
?ScatterGap = ScatterGap,
?ScatterMode = ScatterMode,
?BarGap = BarGap,
?BarGroupGap = BarGroupGap,
?BarMode = BarMode,
Expand Down
Loading

0 comments on commit 67378a3

Please sign in to comment.