Commit cfa41d1e authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix ticks when multiple xs

parent 9bc8e185
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment