Skip to content

A free and open-source JavaScript library for generating SVG charts to display planets in astrology.

License

Notifications You must be signed in to change notification settings

Kibo/AstroChart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project moved to AstroDraw/AstroChart

AstroChart

A free and open-source JavaScript library for generating SVG charts to display planets in astrology. It does not calculate any positions of the planets in Universe.

Version: 2.0.1

  • Pure Javascript implementation without dependencies.
  • SVG graphics.
  • Tested code.

Example

How to use

<script src="js/astrochart.min.js"></script>
<script>
	window.onload = function(){	
		var chart = new astrology.Chart( 'paper', 800, 800);
		chart.radix( data );					
	};			
</script>

Known points

Sun, Moon, Mercury, Venus, Mars, Jupiter, Saturn, Uranus, Neptune, Pluto, Chiron, Lilith, NNode.

Data example

{
	"planets":{"Moon":[0], "Sun":[30], "Mercury":[60], ... },
	"cusps":[300, 340, 30, 60, 75, 90, 116, 172, 210, 236, 250, 274]	
}

For detailed data description see AstroWebService.

Chart settings

Look into the settings.js

var settings = {SYMBOL_SCALE:2};
var chart = new astrology.Chart( 'paper', 800, 800, settings);

It might interest you

About

A free and open-source JavaScript library for generating SVG charts to display planets in astrology.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •