Custom hook to retrieve and process learning element rating data for the rating dashboard.
This hook fetches the rating of all learning elements and calculates the data for the visualizations on the rating dashboard.
See RatingDashboardHookReturn.
const { ratingValue, ratingDeviation, maxRatingDeviation, ratingValueTrend, ratingDeviationTrend, spiderGraphData, lineGraphData, isLoading,} = useLearningElementRatingDashboard() Copy
const { ratingValue, ratingDeviation, maxRatingDeviation, ratingValueTrend, ratingDeviationTrend, spiderGraphData, lineGraphData, isLoading,} = useLearningElementRatingDashboard()
Generated using TypeDoc
Custom hook to retrieve and process learning element rating data for the rating dashboard.
This hook fetches the rating of all learning elements and calculates the data for the visualizations on the rating dashboard.