Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HOSTSD-201 Add total storage chart #43

Merged
merged 1 commit into from
Jan 8, 2024
Merged

HOSTSD-201 Add total storage chart #43

merged 1 commit into from
Jan 8, 2024

Conversation

Fosol
Copy link
Contributor

@Fosol Fosol commented Jan 8, 2024

Hooked up the Total Storage Allocation doughnut chart. This chart uses the dashboard state store.

image

@Fosol Fosol added the enhancement New feature or request label Jan 8, 2024
@Fosol Fosol self-assigned this Jan 8, 2024

ChartJS.register(ArcElement, Tooltip);

export const TotalStorage: React.FC = () => {
const data = defaultData;
const data = useTotalStorageDoughnutChart();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull in data from our local storage which is populated when the filter button is clicked.

@Fosol Fosol merged commit 4585dbb into bcgov:main Jan 8, 2024
1 check passed
@Fosol Fosol deleted the 201 branch January 8, 2024 17:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant