Author: kono
Date: 2010-06-28 14:18:15 -0700 (Mon, 28 Jun 2010)
New Revision: 20696

Modified:
   
csplugins/trunk/ucsd/mes/GoogleChartFunctions/src/org/cytoscape/equations/internal/googlechart/GoogleBarChartFunction.java
Log:
Bar chart range fixed.

Modified: 
csplugins/trunk/ucsd/mes/GoogleChartFunctions/src/org/cytoscape/equations/internal/googlechart/GoogleBarChartFunction.java
===================================================================
--- 
csplugins/trunk/ucsd/mes/GoogleChartFunctions/src/org/cytoscape/equations/internal/googlechart/GoogleBarChartFunction.java
  2010-06-28 21:15:35 UTC (rev 20695)
+++ 
csplugins/trunk/ucsd/mes/GoogleChartFunctions/src/org/cytoscape/equations/internal/googlechart/GoogleBarChartFunction.java
  2010-06-28 21:18:15 UTC (rev 20696)
@@ -57,9 +57,7 @@
                        final BarChartPlot bar = Plots.newBarChartPlot(
                                        
com.googlecode.charts4j.DataUtil.scaleWithinRange(min, max,
                                                        data), 
colors.get(colorIndex));
-                       if(min<0 && max<=0)
-                               bar.setZeroLine(100);
-                       else if( min<0 )
+                       if(min<0 && max>=0)
                                bar.setZeroLine(50);
                        else
                                bar.setZeroLine(0);

-- 
You received this message because you are subscribed to the Google Groups 
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/cytoscape-cvs?hl=en.

Reply via email to