From: Tom Rees Date: Thu, 21 Feb 2013 17:28:53 +0000 Subject: [321] Added month selector. Colorising graphs in Safari and IE. X-Git-Url: http://maxious.lambdacomplex.org/git/?p=ckanext-ga-report.git&a=commitdiff&h=4781f48ea669f63bf20435ff3e80eccea80c4a66 --- [321] Added month selector. Colorising graphs in Safari and IE. --- --- a/ckanext/ga_report/public/scripts/ckanext_ga_reports.js +++ b/ckanext/ga_report/public/scripts/ckanext_ga_reports.js @@ -69,9 +69,9 @@ spotColor: '', maxSpotColor: '', minSpotColor: '', - highlightSpotColor: '000000', - lineColor: '3F8E6D', - fillColor: 'B7E66B' + highlightSpotColor: '#000000', + lineColor: '#3F8E6D', + fillColor: '#B7E66B' }; $('.sparkline').sparkline('html',sparkOptions); created = true; --- a/ckanext/ga_report/templates/ga_report/site/index.html +++ b/ckanext/ga_report/templates/ga_report/site/index.html @@ -71,6 +71,10 @@
+
+ + ${month_selector(c.month, c.months, c.day)} +
Name