Do not include last (ongoing) minute in chart
This commit is contained in:
parent
66e32facee
commit
b783aebfcd
1 changed files with 3 additions and 6 deletions
|
@ -26,7 +26,7 @@
|
||||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||||
* SUCH DAMAGE.
|
* SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
* $Id: PacketChartPanel.java,v 1.6 2010/09/14 14:23:58 adamdunkels Exp $
|
* $Id: PacketChartPanel.java,v 1.7 2010/09/15 15:20:47 nifi Exp $
|
||||||
*
|
*
|
||||||
* -----------------------------------------------------------------
|
* -----------------------------------------------------------------
|
||||||
*
|
*
|
||||||
|
@ -34,8 +34,8 @@
|
||||||
*
|
*
|
||||||
* Authors : Joakim Eriksson, Niclas Finne
|
* Authors : Joakim Eriksson, Niclas Finne
|
||||||
* Created : 6 sep 2010
|
* Created : 6 sep 2010
|
||||||
* Updated : $Date: 2010/09/14 14:23:58 $
|
* Updated : $Date: 2010/09/15 15:20:47 $
|
||||||
* $Revision: 1.6 $
|
* $Revision: 1.7 $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package se.sics.contiki.collect.gui;
|
package se.sics.contiki.collect.gui;
|
||||||
|
@ -174,9 +174,6 @@ public class PacketChartPanel extends JPanel implements Visualizer {
|
||||||
total++;
|
total++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (count > 0) {
|
|
||||||
series.add(new Minute(new Date(minute * 60000L)), count);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
int nodes = selectedMap.size();
|
int nodes = selectedMap.size();
|
||||||
if (nodes > 0) {
|
if (nodes > 0) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue