diff --git a/src/Resources/Locales.Designer.cs b/src/Resources/Locales.Designer.cs
index 95057ce3..1ac0e291 100644
--- a/src/Resources/Locales.Designer.cs
+++ b/src/Resources/Locales.Designer.cs
@@ -3607,7 +3607,7 @@ namespace SourceGit.Resources {
}
///
- /// Looks up a localized string similar to Total Commits.
+ /// Looks up a localized string similar to COMMITS: .
///
public static string Text_Statistics_TotalCommits {
get {
@@ -3616,7 +3616,7 @@ namespace SourceGit.Resources {
}
///
- /// Looks up a localized string similar to Total Committers.
+ /// Looks up a localized string similar to COMMITTERS: .
///
public static string Text_Statistics_TotalCommitters {
get {
diff --git a/src/Resources/Locales.en.resx b/src/Resources/Locales.en.resx
index 8849efe4..fc8f7760 100644
--- a/src/Resources/Locales.en.resx
+++ b/src/Resources/Locales.en.resx
@@ -1201,10 +1201,10 @@
YEAR
- Total Committers
+ COMMITTERS:
- Total Commits
+ COMMITS:
COMMITTER
diff --git a/src/Resources/Locales.resx b/src/Resources/Locales.resx
index a251fd09..441988ec 100644
--- a/src/Resources/Locales.resx
+++ b/src/Resources/Locales.resx
@@ -1201,10 +1201,10 @@
YEAR
- Total Committers
+ COMMITTERS:
- Total Commits
+ COMMITS:
COMMITTER
diff --git a/src/Resources/Locales.zh.resx b/src/Resources/Locales.zh.resx
index 6ca5b02b..b4f350ba 100644
--- a/src/Resources/Locales.zh.resx
+++ b/src/Resources/Locales.zh.resx
@@ -1198,10 +1198,10 @@
本年
- 提交者人数
+ 提交者:
- 总计提交次数
+ 提交次数:
提交者
diff --git a/src/Views/Statistics.axaml b/src/Views/Statistics.axaml
index 90257549..2caa1d02 100644
--- a/src/Views/Statistics.axaml
+++ b/src/Views/Statistics.axaml
@@ -128,47 +128,52 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+ Samples="{Binding Samples}"/>
diff --git a/src/Views/Statistics.axaml.cs b/src/Views/Statistics.axaml.cs
index 6a5f16a0..b44da160 100644
--- a/src/Views/Statistics.axaml.cs
+++ b/src/Views/Statistics.axaml.cs
@@ -104,8 +104,7 @@ namespace SourceGit.Views
var horizonStart = maxLabel.Width + 8;
var labelHeight = maxLabel.Height;
context.DrawText(maxLabel, new Point(0, -maxLabel.Height * 0.5));
- context.DrawLine(pen, new Point(horizonStart, 0), new Point(horizonStart, height - labelHeight));
- context.DrawLine(pen, new Point(horizonStart, height - labelHeight), new Point(width, height - labelHeight));
+ context.DrawRectangle(pen, new Rect(horizonStart, 0, width - horizonStart, height - labelHeight));
if (samples.Count == 0)
return;
@@ -114,7 +113,7 @@ namespace SourceGit.Views
var stepX = (width - horizonStart) / samples.Count;
var stepV = (height - labelHeight) / 5;
var labelStepV = maxV / 5;
- var gridPen = new Pen(LineBrush, 1, new DashStyle());
+ var gridPen = new Pen(LineBrush, 1, new DashStyle() { Dashes = [2, 2, 0, 2], Offset = 1 });
for (int i = 1; i < 5; i++)
{
var vLabel = new FormattedText(