github-contributions-canvas icon indicating copy to clipboard operation
github-contributions-canvas copied to clipboard

Feature Request: Add option to render image for the last XX month instead of a year

Open andreasmuelder opened this issue 5 years ago • 1 comments

How about making the year parameter optional, if no year is defined, you can render the last twelve month (like it is shown on github)

years: [{
	range: {
		start: '2018-02-12',
		end: '2019-02-12'
	}
}]

Or is there already such an option I am missing?

andreasmuelder avatar Feb 12 '20 18:02 andreasmuelder

If you want to render a specific year, you delete other years from your data. Before deleting other years, my data and my render look like that image Then I deleted the years, which I don't want to render, I got what I want image You can improve that and make the year parameter optional in your code

Landienzla avatar Dec 04 '21 02:12 Landienzla