diff options
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages/MetricsPage.java')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/MetricsPage.java | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/MetricsPage.java b/src/main/java/com/gitblit/wicket/pages/MetricsPage.java index 5904a64a..ce75f537 100644 --- a/src/main/java/com/gitblit/wicket/pages/MetricsPage.java +++ b/src/main/java/com/gitblit/wicket/pages/MetricsPage.java @@ -85,7 +85,7 @@ public class MetricsPage extends RepositoryPage { provider.addAxis(commitAxis);
provider.setLineStyles(new LineStyle[] { new LineStyle(2, 4, 0), new LineStyle(0, 4, 1) });
- provider.addShapeMarker(new ShapeMarker(MarkerType.CIRCLE, Color.BLUE, 1, -1, 5));
+ provider.addShapeMarker(new ShapeMarker(MarkerType.CIRCLE, Color.decode("#002060"), 1, -1, 5));
add(new Chart(wicketId, provider));
} else {
@@ -181,4 +181,9 @@ public class MetricsPage extends RepositoryPage { protected String getPageName() {
return getString("gb.metrics");
}
+
+ @Override
+ protected Class<? extends BasePage> getRepoNavPageClass() {
+ return SummaryPage.class;
+ }
}
|