public EssaiChrono(InputOutput io)
        {
            InitializeComponent();
            p.Children.Remove(p.MouseNavigation);
            p.Children.Remove(p.HorizontalAxisNavigation);
            p.Children.Remove(p.VerticalAxisNavigation);
            p.Children.Remove(p.KeyboardNavigation);

            xMin      = d.ConvertToDouble(new TimeSpan(0));
            startXMax = d.ConvertToDouble(new TimeSpan(0, 0, a));
            p.Visible = new Rect {
                X = xMin, Width = startXMax - xMin, Y = startYMin, Height = startYMax - startYMin
            };
            p.AxisGrid.Visibility           = Visibility.Hidden;
            p.MainHorizontalAxis.Visibility = Visibility.Hidden;
            p.MainVerticalAxis.Visibility   = Visibility.Hidden;
            dataSource.SetXMapping(model => d.ConvertToDouble(model.interval));
            dataSource.SetYMapping((model) => { if (model.Value == true)
                                                {
                                                    return(1);
                                                }
                                                else
                                                {
                                                    return(0);
                                                } });

            //Bind the data with the graph
            chrono.DataSource = dataSource;

            //Labels
            if (io.Parent != null)
            {
                Legend.SetDescription(chrono, io.getEtiquette() + "_" + (((io.Parent as Grid).Parent as Canvas).Parent as Gate).outil.getLabel());
            }

            this.io     = io;
            Stop        = true;
            DataContext = this;
        }