We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 974184c commit 1d17aa3Copy full SHA for 1d17aa3
src/__tests__/createChart.ts
@@ -34,7 +34,7 @@ export default function createChart<
34
TYPE extends ChartType,
35
DATA extends unknown[] = DefaultDataPoint<TYPE>,
36
LABEL = string
37
->(config: ChartConfiguration<TYPE, DATA, LABEL>, width = 300, height = 300): ChartHelper<TYPE, DATA, LABEL> {
+ >(config: ChartConfiguration<TYPE, DATA, LABEL>, width = 800, height = 600): ChartHelper<TYPE, DATA, LABEL> {
38
const canvas = document.createElement('canvas');
39
canvas.width = width;
40
canvas.height = height;
0 commit comments