-
Notifications
You must be signed in to change notification settings - Fork 4
Dashboard
backtion edited this page Sep 10, 2020
·
2 revisions
Get data to need set dashboard. And refine data to use on this page (Dashboard, History and Graph).
Refine data to draw graph.
Get your cloud key list. Then set the key list in localstorage.
Set data to state. If data is NULL, return loading and 0. but data isn't null, return data's percent(how much running )
Get data in state and draw dashboard and Graph and DashboardTalbe.
After render, if you select option on select box on upper right, Re Use getResourceStatusData function to show data that for the cloud key of your choice.
Draw a history table using the received data. If click the button, redirect to history page.