A set of minor fixes (#3014)

This commit is contained in:
Maxime Beauchemin
2017-06-21 12:09:49 -07:00
committed by GitHub
parent 5344a80535
commit 99e1de58bc
6 changed files with 31 additions and 26 deletions

View File

@@ -331,7 +331,7 @@ function nvd3Vis(slice, payload) {
chart.x2Axis.tickFormat(xAxisFormatter);
height += 30;
}
if (chart.xAxis && chart.xAxis.tickFormat) {
if (isTimeSeries && chart.xAxis && chart.xAxis.tickFormat) {
chart.xAxis.tickFormat(xAxisFormatter);
}