[Commits] r2539 - sandbox/cmoullet/ux/Profile/lib/GeoExt.ux

commits at geoext.org commits at geoext.org
Mon Dec 27 13:59:54 CET 2010


Author: cmoullet
Date: 2010-12-27 13:59:54 +0100 (Mon, 27 Dec 2010)
New Revision: 2539

Modified:
   sandbox/cmoullet/ux/Profile/lib/GeoExt.ux/ProfileBox.js
Log:
Improve threshold

Modified: sandbox/cmoullet/ux/Profile/lib/GeoExt.ux/ProfileBox.js
===================================================================
--- sandbox/cmoullet/ux/Profile/lib/GeoExt.ux/ProfileBox.js	2010-12-27 06:47:38 UTC (rev 2538)
+++ sandbox/cmoullet/ux/Profile/lib/GeoExt.ux/ProfileBox.js	2010-12-27 12:59:54 UTC (rev 2539)
@@ -180,7 +180,7 @@
         }
 
         var plot1 = $.jqplot(this.jqueryDiv.id, jQueryArray, {
-            seriesDefaults:{neighborThreshold:0, showMarker: false},
+            seriesDefaults:{neighborThreshold:2, showMarker: false},
             series: seriesArray,
             cursor:{
                 showVerticalLine:true,
@@ -188,7 +188,7 @@
                 showTooltip: true,
                 followMouse: true,
                 showTooltipDataPosition:true,
-                intersectionThreshold:6,
+                intersectionThreshold:2,
                 tooltipFormatString: '%s <br>Distance: %s<br> Elevation :%s [m]'
             },
             legend:{



More information about the Commits mailing list