diff src/org/dancres/blitz/tools/dash/graph/Chart.java @ 6:48228766ed4c

when expecting floating point math, do floating point math
author dbrosius@mebigfatguy.com
date Thu, 14 May 2009 12:15:48 -0400
parents 3dc0c5604566
children 77db38eb3042
line wrap: on
line diff
--- a/src/org/dancres/blitz/tools/dash/graph/Chart.java	Sat May 23 09:17:17 2009 +0100
+++ b/src/org/dancres/blitz/tools/dash/graph/Chart.java	Thu May 14 12:15:48 2009 -0400
@@ -325,7 +325,7 @@
                             g.drawLine(xoff-3,(int)y,xoff+wid,(int)y);  
                         }
                 
-                        y+=(hi/(nLabels-1));
+                        y+=(hi/(nLabels-1.0));
                 
                     }