From 765190c5f5129c897a7d406f0bcf9a56f350b9f8 Mon Sep 17 00:00:00 2001 From: cdtank Date: Tue, 10 Aug 2010 20:57:52 +0000 Subject: [PATCH] 1. google does not like me so decided to screw the sparkline dimensions a day before the conference. So had to change the code with new dimensions. This is (hopefully) just a stop-gap solution. Will file a bug with the Google Vis API later on. Thanks to Nick & Micah for working on this. --- .../coauthorship/CoAuthorshipVisCodeGenerator.java | 2 +- .../personpubcount/PersonPublicationCountVisCodeGenerator.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/coauthorship/CoAuthorshipVisCodeGenerator.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/coauthorship/CoAuthorshipVisCodeGenerator.java index 58cbec08..85f5adb6 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/coauthorship/CoAuthorshipVisCodeGenerator.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/coauthorship/CoAuthorshipVisCodeGenerator.java @@ -227,7 +227,7 @@ public class CoAuthorshipVisCodeGenerator { } - String sparklineDisplayOptions = "{width: 63, height: 21, showAxisLines: false, " + String sparklineDisplayOptions = "{width: 65, height: 30, showAxisLines: false, " + "showValueLabels: false, labelPosition: 'none'}"; if (providedVisContainerID != null) { diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/personpubcount/PersonPublicationCountVisCodeGenerator.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/personpubcount/PersonPublicationCountVisCodeGenerator.java index f9153de9..66b1e0f5 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/personpubcount/PersonPublicationCountVisCodeGenerator.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/personpubcount/PersonPublicationCountVisCodeGenerator.java @@ -239,7 +239,7 @@ public class PersonPublicationCountVisCodeGenerator { .get(VOConstants.DEFAULT_PUBLICATION_YEAR); } - String sparklineDisplayOptions = "{width: 63, height: 21, showAxisLines: false, " + String sparklineDisplayOptions = "{width: 65, height: 30, showAxisLines: false, " + "showValueLabels: false, labelPosition: 'none'}"; if (providedVisContainerID != null) {