Skip to content

Commit 80a33c8

Browse files
committed
fix: hybrid example
1 parent 5430675 commit 80a33c8

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

samples/hybrid.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
{
3232
label: 'Line',
3333
type: 'line',
34-
data: samples.numbers({ count: 7, max: 150 }).map((d) => ({ y: d })),
34+
data: samples.numbers({ count: 7, max: 150 }),
3535
},
3636
],
3737
};

src/controllers/BoxPlotController.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ describe('boxplot', () => {
196196
label: 'Line',
197197
type: 'line',
198198
fill: 1,
199-
data: samples.numbers({ count: 7, max: 150 }).map((d) => ({ y: d })),
199+
data: samples.numbers({ count: 7, max: 150 }) as any,
200200
},
201201
],
202202
},
Loading

0 commit comments

Comments
 (0)