Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • Why do you need this data in .js file? Please clarify your requirements and also add your full code Commented Sep 15, 2021 at 2:32
  • @mayank1513 On my question I also specified that I need to pass API data from .vue to .js in order for me to display chartjs? What more information do you need to help me? Commented Sep 15, 2021 at 3:47
  • 1
    I have added link to vue-chart-js official guide in my answer. Please follow that. Commented Sep 15, 2021 at 3:53