Skip to main content
Jonathan Meltzer 님이 #Lightning Experience에 질문했습니다
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.
답변 1개
0/9000