Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions dist/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
},
"plotlyServerURL": {
"description": "Sets the URL for the `sendChartToCloud` modebar button. When clicked, the button will send the chart data to this URL.",
"dflt": "",
"dflt": "https://cloud.plotly.com/newchart",
"valType": "string"
},
"queueLength": {
Expand Down Expand Up @@ -342,7 +342,7 @@
},
"showSendToCloud": {
"description": "Should we include a modebar button that sends this chart to a URL specified by `plotlyServerURL`, for sharing the chart with others? Note that this button will (after a confirmation step) send chart data to an external server.",
"dflt": false,
"dflt": true,
"valType": "boolean"
},
"showSources": {
Expand Down
1 change: 1 addition & 0 deletions draftlogs/7909_change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
- Update plot_config to show the "Upload to Cloud" button by default, and set the default server URL to cloud.plotly.com via [[#7909](https://github.com/plotly/plotly.js/pull/7909)]
4 changes: 2 additions & 2 deletions src/plot_api/plot_config.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ var configAttributes = {

plotlyServerURL: {
valType: 'string',
dflt: '',
dflt: 'https://cloud.plotly.com/newchart',
description: [
'Sets the URL for the `sendChartToCloud` modebar button.',
'When clicked, the button will send the chart data to this URL.',
Expand Down Expand Up @@ -271,7 +271,7 @@ var configAttributes = {
},
showSendToCloud: {
valType: 'boolean',
dflt: false,
dflt: true,
description: [
'Should we include a modebar button that sends this chart to a URL',
'specified by `plotlyServerURL`, for sharing the chart with others?',
Expand Down
4 changes: 2 additions & 2 deletions test/plot-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@
},
"plotlyServerURL": {
"description": "Sets the URL for the `sendChartToCloud` modebar button. When clicked, the button will send the chart data to this URL.",
"dflt": "",
"dflt": "https://cloud.plotly.com/newchart",
"valType": "string"
},
"queueLength": {
Expand Down Expand Up @@ -342,7 +342,7 @@
},
"showSendToCloud": {
"description": "Should we include a modebar button that sends this chart to a URL specified by `plotlyServerURL`, for sharing the chart with others? Note that this button will (after a confirmation step) send chart data to an external server.",
"dflt": false,
"dflt": true,
"valType": "boolean"
},
"showSources": {
Expand Down
Loading