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

Skip to content

Commit e74bd27

Browse files
authored
Merge pull request plotly#1004 from plotly/waterfall
fix waterfall plotly_js example
2 parents 3d0bb06 + bdf8653 commit e74bd27

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

_posts/plotly_js/basic/bar/2015-08-07-waterfall-bar-chart.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010

1111
// Base
1212

13-
var xData = ['Product<br>Revenue', 'Services<br>Revenue',
14-
'Total<br>Revenue', 'Fixed<br>Costs',
15-
'Variable<br>Costs', 'Total<br>Costs', 'Total'
13+
var xData = ['Product&lt;br&gt;Revenue', 'Services&lt;br&gt;Revenue',
14+
'Total&lt;br&gt;Revenue', 'Fixed&lt;br&gt;Costs',
15+
'Variable&lt;br&gt;Costs', 'Total&lt;br&gt;Costs', 'Total'
1616
];
1717

1818
var yData = [400, 660, 660, 590, 400, 400, 340];

_posts/plotly_js/style/annotations/2015-10-08-style-annotation-b.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
bordercolor: point.fullData.marker.color,
6060
borderwidth: 3,
6161
borderpad: 4,
62-
text: '<i>Series Identification</i><br>' +
63-
'<b>Year</b> ' + (point.data.name) + '<br>' +
62+
text: '<i>Series Identification</i>' + <br>
63+
'<b>Year</b> '+(point.data.name) + '<br>' +
6464
'<i>Point Identification</i><br>' +
6565
'<b>Month</b> '+ (months[point.pointNumber]) +
6666
'<br><i>Point Values</i><br>' +

0 commit comments

Comments
 (0)