From c3dbb5ea9fea8bb24f0224ee98e0797ca2deae36 Mon Sep 17 00:00:00 2001 From: Anand Chowdhary Date: Sun, 9 Aug 2020 15:13:31 +0530 Subject: [PATCH] :recycle: Update image size, 48 data points --- graph.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/graph.ts b/graph.ts index df28e2c6..061c8b4b 100644 --- a/graph.ts +++ b/graph.ts @@ -5,7 +5,7 @@ import { safeLoad } from "js-yaml"; import { join } from "path"; import { CanvasRenderService } from "chartjs-node-canvas"; -const canvasRenderService = new CanvasRenderService(400, 400); +const canvasRenderService = new CanvasRenderService(600, 400); export const generateGraphs = async () => { const config = safeLoad( @@ -32,7 +32,7 @@ export const generateGraphs = async () => { owner, repo, path: `history/${slug}.yml`, - per_page: 100, + per_page: 48, }); if (!history.data.length) continue; const data: [number, string][] = history.data