Commit 63e65179 authored by Masayuki Tanaka's avatar Masayuki Tanaka Committed by masayuki

Fix for timeseries

parent 5c6263a9
...@@ -162,7 +162,17 @@ ...@@ -162,7 +162,17 @@
xAxis2.scale(x2).orient("bottom"); xAxis2.scale(x2).orient("bottom");
yAxis.scale(y).orient("left"); yAxis.scale(y).orient("left");
if (isTimeSeries) xAxis.tickFormat(customTimeFormat); if (isTimeSeries) {
xAxis.tickFormat(customTimeFormat);
// TODO: fix
xAxis.tickOffset = function () {
return 0;
};
// TODO: fix
xAxis2.tickOffset = function () {
return 0;
}
}
if (isCategorized) { if (isCategorized) {
xAxis.categories(__axis_x_categories).tickCentered(__axis_x_tick_centered); xAxis.categories(__axis_x_categories).tickCentered(__axis_x_tick_centered);
xAxis2.categories(__axis_x_categories).tickCentered(__axis_x_tick_centered); xAxis2.categories(__axis_x_categories).tickCentered(__axis_x_tick_centered);
......
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