From a302770db0cb3ea8ed7462f98bef193ebc8f3a87 Mon Sep 17 00:00:00 2001 From: vn7n24fzkq Date: Tue, 6 Oct 2020 14:12:06 +0800 Subject: [PATCH] [release] v0.2.5 --- dist/index.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/index.js b/dist/index.js index 3d306a4c2..25bfbabee 100755 --- a/dist/index.js +++ b/dist/index.js @@ -46230,7 +46230,7 @@ function createDetailCard(title, userDetails, contributionsData, theme) { var xAxis_woy = d3 .axisBottom(x) .tickFormat(d3.timeFormat("%y/%m")) - .tickValues(lineChartData.map((d) => d.date)); + .tickValues(lineChartData.map((data,index) => {if(index%2==0) return data.date; else return null;})); chartPanel .append("g") diff --git a/package.json b/package.json index 46791476f..3900f6527 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "github-profile-summary-cards", - "version": "0.2.4", + "version": "0.2.5", "description": "Generate github profile summary cards", "main": "src/app.js", "scripts": {