Commit 71b794f8 authored by Masayuki Tanaka's avatar Masayuki Tanaka

Fix bug

parent daed47a8
...@@ -182,6 +182,11 @@ ...@@ -182,6 +182,11 @@
if (isTimeSeries) { if (isTimeSeries) {
xAxis.tickFormat(customTimeFormat) xAxis.tickFormat(customTimeFormat)
}
if (isCategorized) {
xAxis.categories(__axis_x_categories).tickCentered(__axis_x_tick_centered)
subXAxis.categories(__axis_x_categories).tickCentered(__axis_x_tick_centered)
} else {
// TODO: fix // TODO: fix
xAxis.tickOffset = function () { xAxis.tickOffset = function () {
return 0 return 0
...@@ -191,10 +196,6 @@ ...@@ -191,10 +196,6 @@
return 0 return 0
} }
} }
if (isCategorized) {
xAxis.categories(__axis_x_categories).tickCentered(__axis_x_tick_centered)
subXAxis.categories(__axis_x_categories).tickCentered(__axis_x_tick_centered)
}
// Use custom scale if needed // Use custom scale if needed
if (isCategorized) { if (isCategorized) {
......
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