Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit

Permalink
Add config options from plotly.js 1.49.0 release.
Browse files Browse the repository at this point in the history
doubleClickDelay and showEditInChartStudio.
  • Loading branch information
Shammamah Hossain committed Jul 30, 2019
1 parent 5f1227e commit 7c97515
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/components/Graph.react.js
Original file line number Diff line number Diff line change
Expand Up @@ -474,6 +474,11 @@ const graphPropTypes = {
'reset+autosize',
]),

/**
* Delay for registering a double-click event in ms
*/
doubleClickDelay: PropTypes.number,

/**
* New users see some hints about interactivity
*/
Expand Down Expand Up @@ -517,6 +522,13 @@ const graphPropTypes = {
*/
showSendToCloud: PropTypes.bool,

/**
* Should we show a modebar button to send this data to a
* Plotly Chart Studio plot. If both this and showSendToCloud
* are selected, only showEditInChartStudio will be honored.
*/
showEditInChartStudio: PropTypes.bool,

/**
* Remove mode bar button by name.
* All modebar button names at https://github.com/plotly/plotly.js/blob/master/src/components/modebar/buttons.js
Expand Down

0 comments on commit 7c97515

Please sign in to comment.