Package Exports
- @astrodraw/astrochart
- @astrodraw/astrochart/dist/astrochart.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@astrodraw/astrochart) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
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.
- Pure Javascript implementation without dependencies.
- SVG graphics.
- Tested code.
Example
- Radix chart
- Radix 15. 11. 2016
- Radix collision
- Transit chart
- Stroke only
- Animation
- Calibration
- 2 charts on page
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]
}
Chart settings
Look into the settings.js
var settings = {SYMBOL_SCALE:2};
var chart = new astrology.Chart( 'paper', 800, 800, settings);
People
Creator: Kibo
Mantainer: afucher