Most often you want to display charts for data that comes from an API endpoint. In this lesson, let’s cover a couple of issues you’ll run into when doing so and how to solve each of them.
Use computed props to adapt data from an API endpoint to the shape the chart component expects
Use v-if to display the chart only after the data is available