From: James Moger Date: Tue, 20 Mar 2012 03:30:23 +0000 (-0400) Subject: Shrink summary page activity graph a little X-Git-Tag: v0.9.0~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=f03763b00e90d284b5392c7b3f44a9f6070e1e97;p=gitblit.git Shrink summary page activity graph a little --- diff --git a/src/com/gitblit/wicket/pages/SummaryPage.java b/src/com/gitblit/wicket/pages/SummaryPage.java index 12371f77..7e8995ed 100644 --- a/src/com/gitblit/wicket/pages/SummaryPage.java +++ b/src/com/gitblit/wicket/pages/SummaryPage.java @@ -188,7 +188,7 @@ public class SummaryPage extends RepositoryPage { && GitBlit.getBoolean(Keys.web.generateActivityGraph, true)) { IChartData data = WicketUtils.getChartData(metrics); - ChartProvider provider = new ChartProvider(new Dimension(400, 100), ChartType.LINE, + ChartProvider provider = new ChartProvider(new Dimension(340, 100), ChartType.LINE, data); ChartAxis dateAxis = new ChartAxis(ChartAxisType.BOTTOM); dateAxis.setLabels(new String[] { metrics.get(0).name,