Skip to main content

Radix chart

const chart = new Chart( 'paper', 800, 800)
const radix = chart.radix( data )

aspects

Draws the aspects of the radix chart. You can pass the aspects or let the AstroChart calculate them based on the data passed to built the radix chart.

radix.aspects(customAspects)
ParamTypeDescriptionRequired
customAspectsFormedAspect[]array containing all aspects that should be drawnNO

transit

Draw transit data

const transit = radix.transit(data)
ParamTypeDescriptionRequired
data.planetsobjectobject with all planets as keys and an array as valueYES
data.cuspsnumber[]array with 12 positions each one representing a cuspYES