community-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1855263 - /comdev/projects.apache.org/trunk/site/js/projects.js
Date Mon, 11 Mar 2019 20:35:47 GMT
Author: sebb
Date: Mon Mar 11 20:35:47 2019
New Revision: 1855263

URL: http://svn.apache.org/viewvc?rev=1855263&view=rev
Log:
maxValue applies to vAxes, not series. Also choose a better max.

Modified:
    comdev/projects.apache.org/trunk/site/js/projects.js

Modified: comdev/projects.apache.org/trunk/site/js/projects.js
URL: http://svn.apache.org/viewvc/comdev/projects.apache.org/trunk/site/js/projects.js?rev=1855263&r1=1855262&r2=1855263&view=diff
==============================================================================
--- comdev/projects.apache.org/trunk/site/js/projects.js (original)
+++ comdev/projects.apache.org/trunk/site/js/projects.js Mon Mar 11 20:35:47 2019
@@ -1458,13 +1458,13 @@ function drawAccountCreation(json) {
       width: 1160,
       vAxes:[
 
-      {title: 'New accounts', titleTextStyle: {color: '#0000DD'}},
+      {title: 'New accounts', titleTextStyle: {color: '#0000DD'}, maxValue: Math.max(200,max)},
       {title: 'Total number of accounts', titleTextStyle: {color: '#DD0000'}},
 
       ],
       series: {
         1: {type: "line", pointSize:3, lineWidth: 3, targetAxisIndex: 1},
-        0: {type: "bars", targetAxisIndex: 0, maxValue: max*2}
+        0: {type: "bars", targetAxisIndex: 0}
         },
         seriesType: "bars",
       tooltip: {isHtml: true}



Mime
View raw message