Skip to content

Commit

Permalink
fix: Updated courseKey with courseTitle for charts
Browse files Browse the repository at this point in the history
  • Loading branch information
irfanuddinahmad committed Sep 16, 2024
1 parent 152488a commit 79fd907
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/AdvanceAnalyticsV2/tabs/Completions.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const Completions = ({
chartType="BarChart"
chartProps={{
data: data?.topCoursesByCompletions,
xKey: 'courseKey',
xKey: 'courseTitle',
yKey: 'count',
colorKey: 'enrollType',
colorMap: chartColorMap,
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdvanceAnalyticsV2/tabs/Engagements.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ const Engagements = ({
chartType="BarChart"
chartProps={{
data: data?.topCoursesByEngagement,
xKey: 'courseKey',
xKey: 'courseTitle',
yKey: 'count',
colorKey: 'enrollType',
colorMap: chartColorMap,
Expand Down
2 changes: 1 addition & 1 deletion src/components/AdvanceAnalyticsV2/tabs/Enrollments.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ const Enrollments = ({
chartType="BarChart"
chartProps={{
data: data?.topCoursesByEnrollments,
xKey: 'courseKey',
xKey: 'courseTitle',
yKey: 'enrollmentCount',
colorKey: 'enrollType',
colorMap: chartColorMap,
Expand Down

0 comments on commit 79fd907

Please sign in to comment.