Browse Source

Fix ticks when multiple xs

pull/155/head
Masayuki Tanaka 11 years ago
parent
commit
cfa41d1e2c
  1. 2
      c3.js
  2. 2
      c3.min.js

2
c3.js

@ -2925,7 +2925,7 @@
if (__zoom_enabled) { zoom.scale(x).updateScaleExtent(); }
// update axis tick values according to options, except for scatter plot
if (! hasScatterType(targetsToShow)) { // TODO: fix this
tickValues = generateTickValues(mapTargetsToUniqueXs(targetsToShow));
tickValues = generateTickValues(mapTargetsToUniqueXs(targetsToShow)).sort();
xAxis.tickValues(tickValues);
subXAxis.tickValues(tickValues);
}

2
c3.min.js vendored

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