Skip to content

Commit cd0d4f3

Browse files
committed
X-axis label should be horizontal unless there would otherwise be overlap
addresses datacite/datacite#893
1 parent 56d225a commit cd0d4f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

public/javascripts/usage_bar_chart.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@
199199
}
200200

201201
var rotate = "0"
202-
if(setup.length < 4){
202+
if(setup.length < 4 && setup.length != 1){
203203
rotate = "-65"
204204
}
205205

0 commit comments

Comments
 (0)