From bcfc5713fc89846757112b9abc31efbfe6de6257 Mon Sep 17 00:00:00 2001 From: Wilson Lin Date: Sun, 8 Aug 2021 13:59:21 +1000 Subject: [PATCH] Improve graph size --- bench/graph.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bench/graph.js b/bench/graph.js index d4ba8c0..4c34c99 100644 --- a/bench/graph.js +++ b/bench/graph.js @@ -78,7 +78,6 @@ const combinedChartOptions = () => ({ ticks: { fontColor: '#555', fontSize: 24, - fontStyle: 'bold', }, }, ], @@ -137,8 +136,8 @@ const renderChart = (cfg) => new Promise((resolve, reject) => { req.end(JSON.stringify({ backgroundColor: 'white', chart: JSON.stringify(cfg).replaceAll('"$$$_____REPLACE_WITH_TICK_CALLBACK_____$$$"', "function(value) {return Math.round(value * 10000) / 100 + '%';}"), - width: 1200, - height: 800, + width: 1333, + height: 768, format: 'png', })); });