Skip to content

I get error Chart is not defined #78

@crazycodertr

Description

@crazycodertr

My codes :
`

<title>Astro Chart</title> <script src="https://unpkg.com/@astrodraw/astrochart"></script>
<script> document.addEventListener("DOMContentLoaded", function() { const data = { "planets": { "Pluto": [63], "Neptune": [110], "Uranus": [318], "Saturn": [201], "Jupiter": [192], "Mars": [210], "Moon": [268], "Sun": [281], "Mercury": [312], "Venus": [330] }, "cusps": [296, 350, 30, 56, 75, 94, 116, 170, 210, 236, 255, 274] }; const chart = new Chart('paper', 800, 800); const radix = chart.radix(data); }); </script>

`

But I get error **ReferenceError: Chart is not defined
**

Please help me

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions