Skip to content

juneyoung/gitalike_graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GITALIKE

by Juneyoung Oh
Writen in 17.NOV.15

what does it looks like

Easy github commit graph like graph with no dependencies.
I did test on Chrome :-)

How to Use

Initializing

import gitalike.js, then

	GITALIKE.initWithElem(document.getElementById('your Div Id'));

Pushing Data

  var data = [
		{date: "20141214", count : "5", text: "20141214"}
		,{date: "20150224", count : "15", text: "20150224"}
		,{date: "20150815", count : "25", text: "20150815"}
		,{date: "20141225", count : "50", text: "20151225"} 
		,{date: "20150527", count : "500", text: "20141027"}
	];

	GITALIKE.pushData(data);

Data must follow standard format like {date: 'yyyyMMdd', count : n, text : ''}.
Currently text value does not work.(I am working on it :D)

References

Not Yet

Message

Fork and use free and let us develop together!

History

  • 17.NOV.15 - Very first distribution by Juneyoung Oh
  • 20.NOV.15 - re-touching data structure and remove d3 dependencies by Juneyoung Oh

About

like git contribution graph with d3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published