Browse Source

Fix tick when few data

pull/1/head
Masayuki Tanaka 11 years ago
parent
commit
8c04810483
  1. 2
      c3.js

2
c3.js

@ -752,6 +752,8 @@
subY.domain(y.domain())
subY2.domain(y2.domain())
xAxis.ticks(data.length < 10 ? data.length : 10);
/*-- Main Region --*/
grid = main.append('g')

Loading…
Cancel
Save