# HG changeset patch
# User edouard
# Date 1298390707 -3600
# Node ID f88e0ebd8fe407172e495aa1ae4614e70390ba27
# Parent  52689bda46861cbae4bb0559e59af536e9134c52
Forced variable now supported in GraphicViewer

diff -r 52689bda4686 -r f88e0ebd8fe4 GraphicViewer.py
--- a/GraphicViewer.py	Tue Jun 01 12:41:14 2010 +0200
+++ b/GraphicViewer.py	Tue Feb 22 17:05:07 2011 +0100
@@ -216,7 +216,7 @@
     def ClearErrors(self):
         pass
     
-    def NewValue(self, tick, value):
+    def NewValue(self, tick, value, forced=False):
         self.Datas.append((float(tick), {True:1., False:0.}.get(value, float(value))))
         if self.CurrentValue + self.CurrentRange == len(self.Datas) - 1:
             self.CurrentValue += 1