Skip to content

Commit 5744e15

Browse files
committed
plotlyjs v2.14: Add editSelection option to config (plotly/plotly.js#6285)
1 parent 99d635a commit 5744e15

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Diff for: src/Plotly.NET/Config/Config.fs

+6
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,7 @@ type Config() =
345345
/// <param name="PlotlyServerUrl">When set it determines base URL for the 'Edit in Chart Studio'/`showEditInChartStudio`/`showSendToCloud` mode bar button', and the showLink/sendData on-graph link. To enable sending your data to Chart Studio Cloud, you need to' set both `plotlyServerURL` to \'https://chart-studio.plotly.com\' and also set `showSendToCloud` to true.</param>
346346
/// <param name="Editable">Determines whether the graph is editable or not. Sets all pieces of `edits` unless a separate `edits` config item overrides individual parts.</param>
347347
/// <param name="Edits">Object holding individual editable pieces of the graph.</param>
348+
/// <param name="EditSelection">Enables moving selections.</param>
348349
/// <param name="Autosizable">Determines whether the graphs are plotted with respect to layout.autosize:true and infer its container size. (default: false)</param>
349350
/// <param name="Responsive">Determines whether to change the layout size when window is resized.</param>
350351
/// <param name="ShowSendToCloud">Should we include a ModeBar button, labeled "Edit in Chart Studio",that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server as specified by `plotlyServerURL` for editing, export, etc? Note that this button can (depending on `plotlyServerURL` being set) send your data to an external server. However that server does not persist your data until you arrive at the Chart Studio and explicitly click "Save".</param>
@@ -359,6 +360,7 @@ type Config() =
359360
[<Optional; DefaultParameterValue(null)>] ?Autosizable: bool,
360361
[<Optional; DefaultParameterValue(null)>] ?Editable: bool,
361362
[<Optional; DefaultParameterValue(null)>] ?Edits: Edits,
363+
[<Optional; DefaultParameterValue(null)>] ?EditSelection: bool,
362364
[<Optional; DefaultParameterValue(null)>] ?ShowSendToCloud: bool,
363365
[<Optional; DefaultParameterValue(null)>] ?ShowEditInChartStudio: bool,
364366
[<Optional; DefaultParameterValue(null)>] ?Responsive: bool,
@@ -377,6 +379,7 @@ type Config() =
377379
?ShowEditInChartStudio = ShowEditInChartStudio,
378380
?Editable = Editable,
379381
?Edits = Edits,
382+
?EditSelection = EditSelection,
380383
?ModeBarButtonsToAdd = ModeBarButtonsToAdd
381384
)
382385

@@ -388,6 +391,7 @@ type Config() =
388391
/// <param name="PlotlyServerUrl">When set it determines base URL for the 'Edit in Chart Studio'/`showEditInChartStudio`/`showSendToCloud` mode bar button', and the showLink/sendData on-graph link. To enable sending your data to Chart Studio Cloud, you need to' set both `plotlyServerURL` to \'https://chart-studio.plotly.com\' and also set `showSendToCloud` to true.</param>
389392
/// <param name="Editable">Determines whether the graph is editable or not. Sets all pieces of `edits` unless a separate `edits` config item overrides individual parts.</param>
390393
/// <param name="Edits">Object holding individual editable pieces of the graph.</param>
394+
/// <param name="EditSelection">Enables moving selections.</param>
391395
/// <param name="Autosizable">Determines whether the graphs are plotted with respect to layout.autosize:true and infer its container size. (default: false)</param>
392396
/// <param name="Responsive">Determines whether to change the layout size when window is resized.</param>
393397
/// <param name="ShowSendToCloud">Should we include a ModeBar button, labeled "Edit in Chart Studio",that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server as specified by `plotlyServerURL` for editing, export, etc? Note that this button can (depending on `plotlyServerURL` being set) send your data to an external server. However that server does not persist your data until you arrive at the Chart Studio and explicitly click "Save".</param>
@@ -402,6 +406,7 @@ type Config() =
402406
[<Optional; DefaultParameterValue(null)>] ?Autosizable: bool,
403407
[<Optional; DefaultParameterValue(null)>] ?Editable: bool,
404408
[<Optional; DefaultParameterValue(null)>] ?Edits: Edits,
409+
[<Optional; DefaultParameterValue(null)>] ?EditSelection: bool,
405410
[<Optional; DefaultParameterValue(null)>] ?ShowSendToCloud: bool,
406411
[<Optional; DefaultParameterValue(null)>] ?ShowEditInChartStudio: bool,
407412
[<Optional; DefaultParameterValue(null)>] ?Responsive: bool,
@@ -415,6 +420,7 @@ type Config() =
415420
Autosizable |> DynObj.setValueOpt config "autosizable"
416421
Editable |> DynObj.setValueOpt config "editable"
417422
Edits |> DynObj.setValueOpt config "edits"
423+
EditSelection |> DynObj.setValueOpt config "editSelection"
418424
ShowSendToCloud |> DynObj.setValueOpt config "showSendToCloud"
419425
ShowEditInChartStudio |> DynObj.setValueOpt config "showEditInChartStudio"
420426
Responsive |> DynObj.setValueOpt config "responsive"

0 commit comments

Comments
 (0)