コード例 #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();
 }