Index: lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/web/MonitoringAction.java =================================================================== diff -u -r8daec7e047f7ea8404c6f16218b63a8e855a15b2 -r30e0c1dac860f49d3f98991114479d4629c57972 --- lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/web/MonitoringAction.java (.../MonitoringAction.java) (revision 8daec7e047f7ea8404c6f16218b63a8e855a15b2) +++ lams_monitoring/src/java/org/lamsfoundation/lams/monitoring/web/MonitoringAction.java (.../MonitoringAction.java) (revision 30e0c1dac860f49d3f98991114479d4629c57972) @@ -1026,12 +1026,12 @@ Integer possibleLearnersCount = getLessonService().getCountLessonLearners(lessonId, null); Integer completedLearnersCount = getMonitoringService().getCountLearnersCompletedLesson(lessonId); Integer startedLearnersCount = getLessonService().getCountActiveLessonLearners(lessonId); - Integer notStartedLearnersCount = possibleLearnersCount - startedLearnersCount - completedLearnersCount; + Integer notCompletedLearnersCount = possibleLearnersCount - completedLearnersCount; JSONObject responseJSON = new JSONObject(); JSONObject notStartedJSON = new JSONObject(); - notStartedJSON.put("name", getMessageService().getMessage("lesson.chart.not.started")); - notStartedJSON.put("value", Math.round(notStartedLearnersCount.doubleValue() / possibleLearnersCount * 100)); + notStartedJSON.put("name", getMessageService().getMessage("lesson.chart.not.completed")); + notStartedJSON.put("value", Math.round(notCompletedLearnersCount.doubleValue() / possibleLearnersCount * 100)); responseJSON.append("data", notStartedJSON); JSONObject startedJSON = new JSONObject();