public void ShouldShowHistSeriesView()
 {
     var cc = Carbon.GetInstance().GetCarbonClientInstance();
     var tscontrol = new TSCombineControl();
     tscontrol.Create(cc, addGobutton_: true, doAutoSize_: false, showAddRemoveSeriesButtons_: false);
     var tsform = tscontrol.DisplayInShowForm("Time Series");
     Application.Run(tsform);
 }
    private void addCombineControl()
    {
      var c = new TSCombineControl();
      c.Create(m_cc, addGobutton_: true, doAutoSize_: true, showAddRemoveSeriesButtons_: true);
      subscribe(c, true);
      flowLayoutPanel1.Controls.Add(c);
      m_controls.Add(c);

      configureControls();
    }
 private void addInSeries()
 {
   flowLayoutPanel1.BackColor = Color.Purple;
   var c = new TSCombineControl();// {Anchor = AnchorStyles.Left | AnchorStyles.Right | AnchorStyles.Top};
   //c.Size = new Size(flowLayoutPanel1.Width-10, c.Height);
   c.Create(m_cc, showAddRemoveSeriesButtons_: true, addGobutton_:false);
   flowLayoutPanel1.Controls.Add(c);
   m_provider.Add(c);
   subscribeToLine(c);
   sortOutButtons();
 }