Skip to content

Commit da868be

Browse files
committed
Merge branch 'upload-to-cloud-proto' of github.com:plotly/plotly.js into upload-to-cloud-proto
2 parents c28c434 + c1b7122 commit da868be

2 files changed

Lines changed: 12 additions & 7 deletions

File tree

dist/plot-schema.json

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,8 @@
279279
"valType": "number"
280280
},
281281
"plotlyServerURL": {
282-
"description": "Sets the URL for the `sendChartToCloud` modebar button. When clicked, the button will send the chart data to this URL.",
283-
"dflt": "https://cloud.plotly.com/newchart",
282+
"description": "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.",
283+
"dflt": "",
284284
"valType": "string"
285285
},
286286
"queueLength": {
@@ -330,13 +330,18 @@
330330
"dflt": true,
331331
"valType": "boolean"
332332
},
333+
"showEditInChartStudio": {
334+
"description": "Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk. Note that if both `showSendToCloud` and `showEditInChartStudio` are turned, only `showEditInChartStudio` will be honored.",
335+
"dflt": false,
336+
"valType": "boolean"
337+
},
333338
"showLink": {
334339
"description": "Determines whether a link to Chart Studio Cloud is displayed at the bottom right corner of resulting graphs. Use with `sendData` and `linkText`.",
335340
"dflt": false,
336341
"valType": "boolean"
337342
},
338343
"showSendToCloud": {
339-
"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.",
344+
"description": "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? Prior to version 1.43.0 this button was included by default, now it is opt-in using this flag. 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\".",
340345
"dflt": false,
341346
"valType": "boolean"
342347
},
@@ -98646,4 +98651,4 @@
9864698651
"type": "waterfall"
9864798652
}
9864898653
}
98649-
}
98654+
}

test/plot-schema.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,8 +336,8 @@
336336
"valType": "boolean"
337337
},
338338
"showSendToCloud": {
339-
"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 can (depending on `plotlyServerURL` being set) send your data to an external server.",
340-
"dflt": true,
339+
"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.",
340+
"dflt": false,
341341
"valType": "boolean"
342342
},
343343
"showSources": {
@@ -98663,4 +98663,4 @@
9866398663
"type": "waterfall"
9866498664
}
9866598665
}
98666-
}
98666+
}

0 commit comments

Comments
 (0)