Skip to content

Commit d9d85f0

Browse files
committed
No initial transition.
1 parent 40be541 commit d9d85f0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/bullet/bullet.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ var w = 960,
44

55
var chart = d3.chart.bullet()
66
.width(w - m[1] - m[3])
7-
.height(h - m[0] - m[2])
8-
.duration(1000);
7+
.height(h - m[0] - m[2]);
98

109
d3.json("bullets.json", function(data) {
1110

@@ -32,6 +31,7 @@ d3.json("bullets.json", function(data) {
3231
.attr("dy", "1em")
3332
.text(function(d) { return d.subtitle; });
3433

34+
chart.duration(1000);
3535
window.transition = function() {
3636
vis.map(randomize).call(chart);
3737
};

0 commit comments

Comments
 (0)