Skip to content
This repository was archived by the owner on Jun 25, 2020. It is now read-only.

Commit 07078fe

Browse files
committed
fix: multi chart xAxis behaves poorly
1 parent 1c8b205 commit 07078fe

File tree

1 file changed

+1
-0
lines changed
  • packages/superset-ui-legacy-preset-chart-nvd3/src

1 file changed

+1
-0
lines changed

packages/superset-ui-legacy-preset-chart-nvd3/src/NVD3Vis.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -361,6 +361,7 @@ function nvd3Vis(element, props) {
361361
case 'line_multi':
362362
chart = nv.models.multiChart();
363363
chart.interpolate(lineInterpolation);
364+
chart.xScale(d3.time.scale.utc());
364365
break;
365366

366367
case 'bar':

0 commit comments

Comments
 (0)