Attempts at fixing WorldPie drilldown (failed)

This commit is contained in:
Rsl1122 2017-08-29 22:33:29 +03:00
parent 6c57d86cc1
commit 3952268e71
3 changed files with 2 additions and 3 deletions

View File

@ -138,7 +138,6 @@ public class InspectPageParser {
addValue("sessionCount", sessionCount);
addValue("playtimeTotal", FormatUtils.formatTimeAmount(playTime));
addValue("lastSeen", FormatUtils.formatTimeAmount(playTime));
String puchCardData = PunchCardGraphCreator.createDataSeries(allSessions);
List<Session> sessionsInLengthOrder = allSessions.stream()

View File

@ -157,7 +157,7 @@ public class HtmlStructure {
.append("var ").append(id).append("gmseries = ").append(worldData[1]).append(";")
.append("$( document ).ready(function() {worldPie(")
.append(id).append(", ")
.append(id).append("series,")
.append(id).append("series, ")
.append(id).append("gmseries")
.append(");})")
.append("</script>");

View File

@ -29,7 +29,7 @@ public class WorldPieCreator {
String worldName = world.getKey();
seriesBuilder.append("{name:'").append(worldName)
.append("',y:").append(world.getValue())
.append(", drilldown: '").append(worldName).append("'");
.append(",drilldown: '").append(worldName).append("'");
seriesBuilder.append("}");
if (i < size - 1) {