Skip to content

Commit e3ffdc6

Browse files
Andymhooper-scottlogic
authored andcommitted
Fixed merge error
1 parent 9c418b3 commit e3ffdc6

File tree

1 file changed

+2
-1
lines changed
  • packages/perspective-viewer-d3fc/src/js/charts

1 file changed

+2
-1
lines changed

packages/perspective-viewer-d3fc/src/js/charts/line.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,12 @@ function lineChart(container, settings) {
3737
const xDomain = crossAxis.domain(settings)(data);
3838
const xScale = crossAxis.scale(settings);
3939
const xAxis = crossAxis.axisFactory(settings).domain(xDomain)();
40+
const yScale = mainAxis.scale(settings);
4041

4142
const chart = fc
4243
.chartSvgCartesian({
4344
xScale,
44-
yScale: mainAxis.scale(settings),
45+
yScale,
4546
xAxis
4647
})
4748
.xDomain(xDomain)

0 commit comments

Comments
 (0)