Skip to content

Commit 527f15a

Browse files
committed
fix conflicts
1 parent 0ab146e commit 527f15a

6 files changed

Lines changed: 253 additions & 333 deletions

File tree

src/marks/line.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ function LineCurve({curve = curveAuto, tension}) {
4040

4141
export class Line extends Mark {
4242
constructor(data, options = {}) {
43-
const {x, y, z, curve, tension, halo, haloColor, haloRadius} = options;
43+
const {x, y, z, halo, haloColor, haloRadius} = options;
4444
super(
4545
data,
4646
{
@@ -52,7 +52,7 @@ export class Line extends Mark {
5252
defaults
5353
);
5454
this.z = z;
55-
this.curve = Curve(curve, tension);
55+
this.curve = LineCurve(options);
5656
this.halo = maybeHalo(halo, haloColor, haloRadius);
5757
markers(this, options);
5858
}
@@ -67,6 +67,7 @@ export class Line extends Mark {
6767
}
6868
render(index, scales, channels, dimensions, context) {
6969
const {x: X, y: Y} = channels;
70+
const {curve} = this;
7071
const g = create("svg:g", context)
7172
.call(applyIndirectStyles, this, scales, dimensions)
7273
.call(applyTransform, this, scales)

test/output/recession.svg

Lines changed: 69 additions & 105 deletions
Loading

0 commit comments

Comments
 (0)