You need to sign in to do that
Don't have an account?
Jonathan Meltzer 8
Lightning Web Component with dynamic chart using retrieved data
Greetings to the SF Community! I am working on a Lightning App Page, and I want to put a chart into that page. I have found examples of how to use Chartjs to create a chart, and I have successfully done so, but I cannot find any examples of how to make the chart use retrieved data instead of randomly generated data. For instance, the best example I can find is in the LWC Recipes, but that uses randomly generated data and when the page is reloaded a new chart is added to the component instead of replacing the existing chart with the new data.
Are there any examples of how to take a retrieved dataset (from a wired variable or function) and refresh a chart, displaying the retrieved data? Any help would be much appreciated.
Are there any examples of how to take a retrieved dataset (from a wired variable or function) and refresh a chart, displaying the retrieved data? Any help would be much appreciated.
manju manju 12
an wonderful one keep touch with https://thoptvapp.com/