From 4fea450fd3edfba6bb9e2c3c0a9231c6d227a09c Mon Sep 17 00:00:00 2001 From: James Moger <james.moger@gitblit.com> Date: Thu, 23 Feb 2012 19:49:46 -0500 Subject: [PATCH] Fixed nullpointer on pushing to an empty repository (issue 69) --- src/com/gitblit/wicket/charting/GoogleLineChart.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/com/gitblit/wicket/charting/GoogleLineChart.java b/src/com/gitblit/wicket/charting/GoogleLineChart.java index c1becfc..fc0bf83 100644 --- a/src/com/gitblit/wicket/charting/GoogleLineChart.java +++ b/src/com/gitblit/wicket/charting/GoogleLineChart.java @@ -53,7 +53,7 @@ cName, tagId)); line(sb, MessageFormat - .format("{0}.draw({1}, '{'width: {2,number,0}, height: {3,number,0}, pointSize: 4, chartArea:'{'left:20,top:20'}', legend: ''none'', title: ''{4}'' '}');", + .format("{0}.draw({1}, '{'width: {2,number,0}, height: {3,number,0}, pointSize: 4, chartArea:'{'left:20,top:20'}', vAxis: '{' textPosition: ''none'' '}', legend: ''none'', title: ''{4}'' '}');", cName, dName, width, height, title)); line(sb, ""); } -- Gitblit v1.9.1