Пример #1
0
 public ScatterPlot()
 {
     InitializeComponent();
     m_Graph          = new MemoryGraph(ClientSize.Width, ClientSize.Height);
     m_Back           = new SolidBrush(Color.FromArgb(45, 45, 48));
     m_DataBrush      = new SolidBrush(Color.FromArgb(128, 128, 128));
     m_Font           = new Font("Lucida Console", 10, FontStyle.Regular);
     m_Pairs          = new ScatterPoints();
     this.RefreshRate = 20;
     m_RefreshSpeed   = 50;
 }
Пример #2
0
 public LineGraph()
 {
     InitializeComponent();
     m_Graph     = new MemoryGraph(ClientSize.Width, ClientSize.Height);
     m_Back      = new SolidBrush(Color.FromArgb(45, 45, 48));
     m_DataBrush = new SolidBrush(Color.FromArgb(128, 128, 128));
     m_Line      = new Pen(Color.FromArgb(128, 153, 217, 234));
     m_Box       = new SolidBrush(Color.FromArgb(32, 153, 217, 234));
     m_DataPen   = new Pen(Color.FromArgb(192, 192, 192));
     m_Font      = new Font("Lucida Console", 10, FontStyle.Regular);
     m_SmallFont = new Font("Lucida Console", 8, FontStyle.Regular);
 }
Пример #3
0
 public BarGraph()
 {
     InitializeComponent();
     m_Graph             = new MemoryGraph(ClientSize.Width, ClientSize.Height);
     m_Back              = new SolidBrush(Color.FromArgb(45, 45, 48));
     m_DataBrush         = new SolidBrush(Color.FromArgb(128, 128, 128));
     m_Line              = new Pen(Color.FromArgb(128, 153, 217, 234));
     m_Box               = new SolidBrush(Color.FromArgb(32, 153, 217, 234));
     m_DataPen           = new Pen(Color.FromArgb(192, 192, 192));
     m_Font              = new Font("Lucida Console", 10, FontStyle.Regular);
     m_SmallFont         = new Font("Lucida Console", 8, FontStyle.Regular);
     m_Pairs             = new List <Tuple <string, double> >();
     this.RefreshRate    = 20;
     m_RefreshSpeed      = 50;
     this.AnimationStyle = AnimationStyles.Decelerate;
 }
Пример #4
0
 public BracketGraph()
 {
     InitializeComponent();
     m_Graph          = new MemoryGraph(ClientSize.Width, ClientSize.Height);
     m_Back           = new SolidBrush(Color.FromArgb(45, 45, 48));
     m_DataBrush      = new SolidBrush(Color.FromArgb(128, 128, 128));
     m_Line           = new Pen(Color.FromArgb(255, 76, 113, 117));
     m_Box            = new SolidBrush(Color.FromArgb(255, 76, 113, 117));
     m_DataPen        = new Pen(Color.FromArgb(192, 192, 192));
     m_Font           = new Font("Lucida Console", 10, FontStyle.Regular);
     m_SmallFont      = new Font("Lucida Console", 8, FontStyle.Regular);
     m_Pairs          = new List <Tuple <BasketballTeam, double> >();
     this.RefreshRate = 20;
     m_RefreshSpeed   = 50;
     this.Bracket     = new NcaaBracket();
 }