diff --git a/apps/accounts/models.py b/apps/accounts/models.py
index 8848bf2..08a1e55 100644
--- a/apps/accounts/models.py
+++ b/apps/accounts/models.py
@@ -20,7 +20,7 @@ def __str__(self):
def get_xp_daily_report(self):
return [
diary.get_earned_xp()
- for diary in self.diaries.all()[:10]
+ for diary in self.diaries.order_by("-created_date")[:10]
]
def get_full_name(self):
diff --git a/templates/clans/overview.html b/templates/clans/overview.html
index bceb259..6af4c6f 100644
--- a/templates/clans/overview.html
+++ b/templates/clans/overview.html
@@ -360,8 +360,8 @@
Overview
label: "Diary's XP",
data: datasetData{{ forloop.counter }},
fill: false,
- lineTension: 0,
- borderWidth: 4,
+ lineTension: .35,
+ borderWidth: 1.5,
borderColor: "{{ forloop.counter|get_statistic_color_by_color_index }}",
borderCapStyle: 'butt',
borderDash: [],
@@ -369,13 +369,13 @@ Overview
borderJoinStyle: 'bevel',
pointBorderColor: "{{ forloop.counter|get_statistic_color_by_color_index }}",
pointBackgroundColor: "#1d2333",
- pointBorderWidth: 4,
+ pointBorderWidth: 2,
pointHoverRadius: 5,
pointHoverBackgroundColor: "#1d2333",
pointHoverBorderColor: "{{ forloop.counter|get_statistic_color_by_color_index }}",
pointHoverBorderWidth: 4,
- pointRadius: 5,
- pointHitRadius: 10
+ pointRadius: 2,
+ pointHitRadius: 40
},
{% endfor %}
]