Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 124a4a9

Browse files
author
mahdis-z
committed
margin modifications
1 parent e880bbf commit 124a4a9

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

_posts/plotly_js/basic/funnel/2019-06-27-multi-funnelarea.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
textinfo: "value", title: {position: "top left", text: "Sales of Sale Person B in U.S."},
2525
domain: {x: [0.55, 1], y: [0.55, 1]}}];
2626

27-
var layout = {margin: {l: 200, r: 200}, width: 900, shapes: [
27+
var layout = {width: 600,shapes: [
2828
{x0: 0, x1: 0.5, y0: 0, y1: 0.5},
2929
{x0: 0, x1: 0.5, y0: 0.55, y1: 1},
3030
{x0: 0.55, x1: 1, y0: 0, y1: 0.5},

_posts/plotly_js/basic/funnel/2019-06-27-part-of-previous-funnel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@
1010
var gd = document.getElementById('graphDiv');
1111
var data = [{type: 'funnel', y: ["Website visit", "Downloads", "Potential customers", "Invoice sent", "Closed delas"], x: [13873, 10533, 5443, 2703, 908], hoverinfo: 'x+percent previous+percent initial'}];
1212

13-
var layout = {width: 800, height: 800}
13+
var layout = {margin: {l: 150}, width:600, height: 500}
1414

1515
Plotly.newPlot(gd, data, layout);

_posts/plotly_js/basic/funnel/2019-06-27-part-of-whole-funnel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
line: {"width": [4, 2, 2, 3, 1, 1], color: ["wheat", "wheat", "blue", "wheat", "wheat"]}},
1616
connector: {line: {color: "royalblue", dash: "dot", width: 3}}}];
1717

18-
var layout = {margin: {l: 150}, width: 800, height: 600}
18+
var layout = {margin: {l: 100}, width: 600, height: 500}
1919

2020
Plotly.newPlot(gd, data, layout);

_posts/plotly_js/basic/funnel/2019-06-27-stacked-funnel.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
y: ["Website visit", "Downloads", "Potential customers", "Requested price", "invoice sent", "closed deals"],
2222
x: [90, 70, 50, 30, 10, 5], textposition: "outside", textinfo: "value+percent total"}];
2323

24-
var layout = {margin: {l: 150 , r: 100}, width: 900, funnelmode: "stack", showlegend: 'true'}
24+
var layout = {margin: {l: 130, r: 0}, width: 600, funnelmode: "stack", showlegend: 'true'}
2525

2626
Plotly.newPlot(gd, data, layout);

0 commit comments

Comments
 (0)