Browse Source

Add y lines option for grid

pull/55/head
David van Leeuwen 11 years ago
parent
commit
3e508c56ba
  1. 2
      c3.js
  2. 98
      c3.min.js

2
c3.js

@ -2260,7 +2260,7 @@
// Y-Grid
if (withY && __grid_y_show) {
ygrid = main.select('.ygrids').selectAll(".ygrid")
.data(y.ticks(10));
.data(y.ticks(__grid_y_lines));
ygrid.enter().append('line')
.attr('class', 'ygrid');
ygrid.attr("x1", __axis_rotated ? y : 0)

98
c3.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save