From 718cbe168754180ccb61697215d3fc3b6dda50a1 Mon Sep 17 00:00:00 2001 From: michaelbabyn Date: Wed, 19 Dec 2018 17:21:48 -0500 Subject: [PATCH] document showSendToCloud button --- .../2015-09-24-config-showSendToCloud.html | 20 +++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 _posts/plotly_js/fundamentals/config-options/2015-09-24-config-showSendToCloud.html diff --git a/_posts/plotly_js/fundamentals/config-options/2015-09-24-config-showSendToCloud.html b/_posts/plotly_js/fundamentals/config-options/2015-09-24-config-showSendToCloud.html new file mode 100644 index 000000000000..ed5ec7b1089e --- /dev/null +++ b/_posts/plotly_js/fundamentals/config-options/2015-09-24-config-showSendToCloud.html @@ -0,0 +1,20 @@ +--- +name: Display Edit in Chart Studio Button +plot_url: https://codepen.io/plotly/embed/aPpzzw/?height=600&theme-id=15263&default-tab=result +language: plotly_js +suite: configuration +order: 7.1 +sitemap: false +arrangement: horizontal +--- +var data = [{ + values: [19, 26, 55], + labels: ['Residential', 'Non-Residential', 'Utility'], + type: 'pie' +}]; + +var layout = { + title: 'Show Edit in Chart Studio Button' +}; + +Plotly.newPlot('myDiv', data, layout, {showSendToCloud: true});