Accepted answer

vue will render the component with the initial chartdata (which is a boolean). you should use a v-if or other logic and render chartjs component when you have the response. for example you can show a loading message/animation while the chartdata is false.

Related Query

More Query from same tag