public Pad(Chart chart, int x1, int x2, int y1, int y2) { Chart = chart; Axis = new AxisRight(Chart, this, 0, 0, 0); SetCanvas(x1, x2, y1, y2); Primitives = ArrayList.Synchronized(new ArrayList()); DrawGrid = true; }
private void InitializeComponent() { this.chart = new Chart(); this.SuspendLayout(); this.chart.ActionType = ChartActionType.Cross; this.chart.AllowDrop = true; this.chart.AutoScroll = true; this.chart.BackColor = Color.MidnightBlue; this.chart.BarSeriesStyle = BSStyle.Candle; this.chart.BorderColor = Color.Gray; this.chart.BottomAxisGridColor = Color.LightGray; this.chart.BottomAxisLabelColor = Color.LightGray; this.chart.CanvasColor = Color.MidnightBlue; this.chart.ChartBackColor = Color.MidnightBlue; this.chart.ContextMenuEnabled = false; this.chart.CrossColor = Color.DarkGray; this.chart.DateTipRectangleColor = Color.LightGray; this.chart.DateTipTextColor = Color.Black; this.chart.Dock = DockStyle.Fill; this.chart.DrawItems = false; this.chart.Font = new Font("Microsoft Sans Serif", 7f, FontStyle.Regular, GraphicsUnit.Point, (byte) 204); this.chart.ItemTextColor = Color.LightGray; this.chart.LabelDigitsCount = 2; this.chart.Location = new Point(0, 0); this.chart.MinNumberOfBars = 125; this.chart.Name = "chart"; this.chart.PrimitiveDeleteImage = (Image) null; this.chart.PrimitivePropertiesImage = (Image) null; this.chart.RightAxesFontSize = 7; this.chart.RightAxisGridColor = Color.DimGray; this.chart.RightAxisMajorTicksColor = Color.LightGray; this.chart.RightAxisMinorTicksColor = Color.LightGray; this.chart.RightAxisTextColor = Color.LightGray; this.chart.ScaleStyle = PadScaleStyle.Arith; this.chart.SelectedFillHighlightColor = Color.FromArgb(100, 173, 216, 230); this.chart.SelectedItemTextColor = Color.Yellow; this.chart.SessionEnd = TimeSpan.Parse("00:00:00"); this.chart.SessionGridColor = Color.Empty; this.chart.SessionGridEnabled = false; this.chart.SessionStart = TimeSpan.Parse("00:00:00"); this.chart.Size = new Size(931, 432); this.chart.SmoothingMode = SmoothingMode.HighSpeed; this.chart.SplitterColor = Color.LightGray; this.chart.TabIndex = 0; this.chart.UpdateStyle = ChartUpdateStyle.WholeRange; this.chart.ValTipRectangleColor = Color.LightGray; this.chart.ValTipTextColor = Color.Black; this.chart.VolumePadVisible = false; this.Controls.Add((Control) this.chart); this.Name = "PerformanceWindow"; this.Size = new Size(931, 432); this.ResumeLayout(false); }
public Pad(Chart chart, int x1, int x2, int y1, int y2) { this.chart = chart; this.marginLeft = this.marginRight = 0; this.onPrimitive = false; this.outlineEnabled = false; this.outlineRectangle = Rectangle.Empty; DrawGrid = true; SetCanvas(x1, x2, y1, y2); Primitives = ArrayList.Synchronized(new ArrayList()); this.simplePrimitives = new ArrayList(); this.rangeList = new SortedRangeList(); this.intervalLeftList = new SortedRangeList(); this.intervalRightList = new SortedRangeList(true); }
public MainWindow() : base(WindowType.Toplevel) { this.barChart = new SmartQuant.Controls.BarChart.BarChart(); this.barChart2 = new SmartQuant.Controls.BarChart.BarChart2(); this.chart3 = new SmartQuant.FinChart.Chart(); this.chart3.ActionType = ChartActionType.Cross; var nb = new Notebook(); nb.Add(barChart); nb.SetTabLabelText(barChart, "Chart"); nb.Add(barChart2); nb.SetTabLabelText(barChart2, "Chart(Gapless)"); nb.Add(chart3); nb.SetTabLabelText(chart3, "Performance"); Add(nb); SetDefaultSize(624, 362); DeleteEvent += (sender, e) => { Application.Quit(); e.RetVal = true; }; var f = new Framework("Demo", true); f.IsDisposable = false; f.GroupDispatcher = new GroupDispatcher(f); this.barChart.Init(f, null, null); this.barChart2.Init(f, null, null); this.barChart.ResumeUpdates(); this.barChart2.ResumeUpdates(); GLib.Timeout.Add(500, new TimeoutHandler(delegate { barChart.UpdateGUI(); barChart2.UpdateGUI(); return true; })); // Until the framework is created, We cannot show them ShowAll(); }
public ToolBar(Chart chart) : this() { this.Chart = chart; }
private void InitComponent() { this.chart = new Chart(); #if GTK this.cbxSelector = ComboBox.NewText(); this.cbxSelector.Changed += OnSelectorValueChanged; InitChartCommon(); VBox vb = new VBox(); vb.PackStart(this.cbxSelector, false, true, 0); vb.PackEnd(this.chart, true, true, 0); Add(vb); ShowAll(); #else this.cbxSelector = new ComboBox(); SuspendLayout(); this.cbxSelector.Dock = DockStyle.Top; this.cbxSelector.DropDownStyle = ComboBoxStyle.DropDownList; this.cbxSelector.FormattingEnabled = true; this.cbxSelector.TabIndex = 1; this.cbxSelector.SelectedIndexChanged += OnSelectorValueChanged; this.chart.Dock = DockStyle.Fill; this.chart.AutoScroll = true; this.chart.TabIndex = 0; InitChartCommon(); AutoScaleMode = AutoScaleMode.Font; Controls.Add(this.chart); Controls.Add(this.cbxSelector); ResumeLayout(false); #endif }
public AxisRight(Chart chart, Pad pad, int x, int y1, int y2) { this.chart = chart; this.pad = pad; SetBounds(x, y1, y2); Enabled = true; Zoomed = false; Color = Color.LightGray; Title = ""; TitleEnabled = true; TitlePosition = EAxisTitlePosition.Centre; TitleFont = this.chart.Font; TitleColor = Color.Black; TitleOffset = 2; LabelEnabled = true; LabelFont = this.chart.Font; LabelColor = this.chart.RightAxisTextColor; LabelFormat = null; LabelOffset = 2; LabelAlignment = EAxisLabelAlignment.Centre; GridEnabled = true; GridColor = this.chart.RightAxisGridColor; GridDashStyle = DashStyle.Dash; GridWidth = 0.5f; MinorGridEnabled = false; MinorGridColor = this.chart.RightAxisMinorTicksColor; MinorGridDashStyle = DashStyle.Solid; MinorGridWidth = 0.5f; MajorTicksEnabled = true; MajorTicksColor = this.chart.RightAxisMajorTicksColor; MajorTicksWidth = 0.5f; MajorTicksLength = 4; MinorTicksEnabled = true; MinorTicksColor = Color.LightGray; MinorTicksWidth = 0.5f; MinorTicksLength = 1; Width = -1; Height = -1; }
public AxisBottom(Chart chart, int x1, int x2, int y) { this.chart = chart; SetBounds(x1, x2, y); Enabled = true; Zoomed = false; Color = Color.LightGray; Title = ""; TitleEnabled = true; TitlePosition = EAxisTitlePosition.Centre; TitleFont = this.chart.Font; TitleColor = Color.Black; TitleOffset = 2; LabelEnabled = true; LabelFont = this.chart.Font; LabelColor = Color.LightGray; LabelFormat = null; LabelOffset = 2; LabelAlignment = EAxisLabelAlignment.Centre; GridEnabled = true; GridColor = Color.LightGray; GridDashStyle = DashStyle.DashDotDot; GridWidth = 0.5f; MinorGridEnabled = false; MinorGridColor = Color.LightGray; MinorGridDashStyle = DashStyle.Solid; MinorGridWidth = 0.5f; MajorTicksEnabled = true; MajorTicksColor = Color.LightGray; MajorTicksWidth = 0.5f; MajorTicksLength = 4; MinorTicksEnabled = true; MinorTicksColor = Color.LightGray; MinorTicksWidth = 0.5f; MinorTicksLength = 1; Width = -1; Height = -1; }
private void InitializeComponent() { this.columnHeader2 = new ColumnHeader(); this.columnHeader1 = new ColumnHeader(); this.ltvStatistics = new ListViewNB(); this.columnHeader3 = new ColumnHeader(); this.columnHeader4 = new ColumnHeader(); this.tcStatistiscs = new TabControl(); this.tabPage1 = new TabPage(); this.chrtStatistics = new SmartQuant.FinChart.Chart(); this.tabPage2 = new TabPage(); this.chrtHist = new SmartQuant.Charting.Chart(); this.tabPage3 = new TabPage(); this.ltvData = new ListViewNB(); this.columnHeader5 = new ColumnHeader(); this.columnHeader6 = new ColumnHeader(); this.splitter1 = new Splitter(); this.tcStatistiscs.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.SuspendLayout(); this.columnHeader2.Text = "All Trades"; this.columnHeader2.TextAlign = HorizontalAlignment.Right; this.columnHeader2.Width = 140; this.columnHeader1.Text = "Name"; this.columnHeader1.Width = 200; this.ltvStatistics.Columns.AddRange(new ColumnHeader[4] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4 }); this.ltvStatistics.Dock = DockStyle.Fill; this.ltvStatistics.Location = new Point(0, 0); this.ltvStatistics.Name = "ltvStatistics"; this.ltvStatistics.Size = new Size(526, 163); this.ltvStatistics.TabIndex = 1; this.ltvStatistics.UseCompatibleStateImageBehavior = false; this.ltvStatistics.View = View.Details; this.ltvStatistics.SelectedIndexChanged += new EventHandler(this.ltvStatistics_SelectedIndexChanged); this.columnHeader3.Text = "Long Trades"; this.columnHeader3.TextAlign = HorizontalAlignment.Right; this.columnHeader3.Width = 140; this.columnHeader4.Text = "Short Trades"; this.columnHeader4.TextAlign = HorizontalAlignment.Right; this.columnHeader4.Width = 140; this.tcStatistiscs.Controls.Add((Control) this.tabPage1); this.tcStatistiscs.Controls.Add((Control) this.tabPage2); this.tcStatistiscs.Controls.Add((Control) this.tabPage3); this.tcStatistiscs.Dock = DockStyle.Bottom; this.tcStatistiscs.Location = new Point(0, 166); this.tcStatistiscs.Multiline = true; this.tcStatistiscs.Name = "tcStatistiscs"; this.tcStatistiscs.SelectedIndex = 0; this.tcStatistiscs.Size = new Size(526, 203); this.tcStatistiscs.TabIndex = 4; this.tabPage1.Controls.Add((Control) this.chrtStatistics); this.tabPage1.Location = new Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new Padding(3); this.tabPage1.Size = new Size(518, 177); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Chart"; this.tabPage1.UseVisualStyleBackColor = true; this.chrtStatistics.ActionType = ChartActionType.None; this.chrtStatistics.AutoScroll = true; this.chrtStatistics.BarSeriesStyle = BSStyle.Candle; this.chrtStatistics.BorderColor = Color.Gray; this.chrtStatistics.BottomAxisGridColor = Color.LightGray; this.chrtStatistics.BottomAxisLabelColor = Color.LightGray; this.chrtStatistics.CanvasColor = Color.MidnightBlue; this.chrtStatistics.ChartBackColor = Color.MidnightBlue; this.chrtStatistics.ContextMenuEnabled = true; this.chrtStatistics.CrossColor = Color.DarkGray; this.chrtStatistics.DateTipRectangleColor = Color.LightGray; this.chrtStatistics.DateTipTextColor = Color.Black; this.chrtStatistics.Dock = DockStyle.Fill; this.chrtStatistics.DrawItems = false; this.chrtStatistics.Font = new Font("Microsoft Sans Serif", 7f, FontStyle.Regular, GraphicsUnit.Point, (byte) 204); this.chrtStatistics.ItemTextColor = Color.LightGray; this.chrtStatistics.LabelDigitsCount = 2; this.chrtStatistics.Location = new Point(3, 3); this.chrtStatistics.MinNumberOfBars = 125; this.chrtStatistics.Name = "chrtStatistics"; this.chrtStatistics.PrimitiveDeleteImage = (Image) null; this.chrtStatistics.PrimitivePropertiesImage = (Image) null; this.chrtStatistics.RightAxesFontSize = 7; this.chrtStatistics.RightAxisGridColor = Color.DimGray; this.chrtStatistics.RightAxisMajorTicksColor = Color.LightGray; this.chrtStatistics.RightAxisMinorTicksColor = Color.LightGray; this.chrtStatistics.RightAxisTextColor = Color.LightGray; this.chrtStatistics.ScaleStyle = PadScaleStyle.Arith; this.chrtStatistics.SelectedFillHighlightColor = Color.FromArgb(100, 173, 216, 230); this.chrtStatistics.SelectedItemTextColor = Color.Yellow; this.chrtStatistics.SessionEnd = TimeSpan.Parse("00:00:00"); this.chrtStatistics.SessionGridColor = Color.Empty; this.chrtStatistics.SessionGridEnabled = false; this.chrtStatistics.SessionStart = TimeSpan.Parse("00:00:00"); this.chrtStatistics.Size = new Size(512, 171); this.chrtStatistics.SmoothingMode = SmoothingMode.Default; this.chrtStatistics.SplitterColor = Color.LightGray; this.chrtStatistics.TabIndex = 2; this.chrtStatistics.UpdateStyle = ChartUpdateStyle.WholeRange; this.chrtStatistics.ValTipRectangleColor = Color.LightGray; this.chrtStatistics.ValTipTextColor = Color.Black; this.chrtStatistics.VolumePadVisible = false; this.tabPage2.Controls.Add((Control) this.chrtHist); this.tabPage2.Location = new Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new Padding(3); this.tabPage2.Size = new Size(518, 177); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Histogram"; this.tabPage2.UseVisualStyleBackColor = true; this.chrtHist.AntiAliasingEnabled = false; this.chrtHist.Dock = DockStyle.Fill; this.chrtHist.DoubleBufferingEnabled = true; this.chrtHist.FileName = (string) null; this.chrtHist.GroupLeftMarginEnabled = false; this.chrtHist.GroupRightMarginEnabled = false; this.chrtHist.GroupZoomEnabled = false; this.chrtHist.Location = new Point(3, 3); this.chrtHist.Name = "chrtHist"; this.chrtHist.PadsForeColor = Color.White; this.chrtHist.PrintAlign = EPrintAlign.None; this.chrtHist.PrintHeight = 400; this.chrtHist.PrintLayout = EPrintLayout.Portrait; this.chrtHist.PrintWidth = 600; this.chrtHist.PrintX = 10; this.chrtHist.PrintY = 10; this.chrtHist.SessionEnd = TimeSpan.Parse("1.00:00:00"); this.chrtHist.SessionGridColor = Color.Blue; this.chrtHist.SessionGridEnabled = false; this.chrtHist.SessionStart = TimeSpan.Parse("00:00:00"); this.chrtHist.Size = new Size(512, 171); this.chrtHist.SmoothingEnabled = false; this.chrtHist.TabIndex = 0; this.chrtHist.TransformationType = ETransformationType.Empty; this.tabPage3.Controls.Add((Control) this.ltvData); this.tabPage3.Location = new Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new Size(518, 177); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Data"; this.tabPage3.UseVisualStyleBackColor = true; this.ltvData.Columns.AddRange(new ColumnHeader[2] { this.columnHeader5, this.columnHeader6 }); this.ltvData.Dock = DockStyle.Fill; this.ltvData.Location = new Point(0, 0); this.ltvData.Name = "ltvData"; this.ltvData.Size = new Size(518, 177); this.ltvData.TabIndex = 0; this.ltvData.UseCompatibleStateImageBehavior = false; this.ltvData.View = View.Details; this.columnHeader5.Text = "Date Tme"; this.columnHeader5.Width = 150; this.columnHeader6.Text = "Total Value"; this.columnHeader6.TextAlign = HorizontalAlignment.Right; this.columnHeader6.Width = 120; this.splitter1.Dock = DockStyle.Bottom; this.splitter1.Location = new Point(0, 163); this.splitter1.Name = "splitter1"; this.splitter1.Size = new Size(526, 3); this.splitter1.TabIndex = 5; this.splitter1.TabStop = false; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.Controls.Add((Control) this.ltvStatistics); this.Controls.Add((Control) this.splitter1); this.Controls.Add((Control) this.tcStatistiscs); this.Name = "Statistics"; this.Size = new Size(526, 369); this.tcStatistiscs.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage3.ResumeLayout(false); this.ResumeLayout(false); }
private void InitializeComponent() { this.columnHeader2 = new ColumnHeader(); this.columnHeader1 = new ColumnHeader(); this.ltvStatistics = new ListViewNB(); this.columnHeader3 = new ColumnHeader(); this.columnHeader4 = new ColumnHeader(); this.tcStatistiscs = new TabControl(); this.tabPage1 = new TabPage(); this.chrtStatistics = new SmartQuant.FinChart.Chart(); this.tabPage2 = new TabPage(); this.chrtHist = new SmartQuant.Charting.Chart(); this.tabPage3 = new TabPage(); this.ltvData = new ListViewNB(); this.columnHeader5 = new ColumnHeader(); this.columnHeader6 = new ColumnHeader(); this.splitter1 = new Splitter(); this.tcStatistiscs.SuspendLayout(); this.tabPage1.SuspendLayout(); this.tabPage2.SuspendLayout(); this.tabPage3.SuspendLayout(); this.SuspendLayout(); this.columnHeader2.Text = "All Trades"; this.columnHeader2.TextAlign = HorizontalAlignment.Right; this.columnHeader2.Width = 140; this.columnHeader1.Text = "Name"; this.columnHeader1.Width = 200; this.ltvStatistics.Columns.AddRange(new ColumnHeader[4] { this.columnHeader1, this.columnHeader2, this.columnHeader3, this.columnHeader4 }); this.ltvStatistics.Dock = DockStyle.Fill; this.ltvStatistics.Location = new Point(0, 0); this.ltvStatistics.Name = "ltvStatistics"; this.ltvStatistics.Size = new Size(526, 163); this.ltvStatistics.TabIndex = 1; this.ltvStatistics.UseCompatibleStateImageBehavior = false; this.ltvStatistics.View = View.Details; this.ltvStatistics.SelectedIndexChanged += new EventHandler(this.ltvStatistics_SelectedIndexChanged); this.columnHeader3.Text = "Long Trades"; this.columnHeader3.TextAlign = HorizontalAlignment.Right; this.columnHeader3.Width = 140; this.columnHeader4.Text = "Short Trades"; this.columnHeader4.TextAlign = HorizontalAlignment.Right; this.columnHeader4.Width = 140; this.tcStatistiscs.Controls.Add((Control)this.tabPage1); this.tcStatistiscs.Controls.Add((Control)this.tabPage2); this.tcStatistiscs.Controls.Add((Control)this.tabPage3); this.tcStatistiscs.Dock = DockStyle.Bottom; this.tcStatistiscs.Location = new Point(0, 166); this.tcStatistiscs.Multiline = true; this.tcStatistiscs.Name = "tcStatistiscs"; this.tcStatistiscs.SelectedIndex = 0; this.tcStatistiscs.Size = new Size(526, 203); this.tcStatistiscs.TabIndex = 4; this.tabPage1.Controls.Add((Control)this.chrtStatistics); this.tabPage1.Location = new Point(4, 22); this.tabPage1.Name = "tabPage1"; this.tabPage1.Padding = new Padding(3); this.tabPage1.Size = new Size(518, 177); this.tabPage1.TabIndex = 0; this.tabPage1.Text = "Chart"; this.tabPage1.UseVisualStyleBackColor = true; this.chrtStatistics.ActionType = ChartActionType.None; this.chrtStatistics.AutoScroll = true; this.chrtStatistics.BarSeriesStyle = BSStyle.Candle; this.chrtStatistics.BorderColor = Color.Gray; this.chrtStatistics.BottomAxisGridColor = Color.LightGray; this.chrtStatistics.BottomAxisLabelColor = Color.LightGray; this.chrtStatistics.CanvasColor = Color.MidnightBlue; this.chrtStatistics.ChartBackColor = Color.MidnightBlue; this.chrtStatistics.ContextMenuEnabled = true; this.chrtStatistics.CrossColor = Color.DarkGray; this.chrtStatistics.DateTipRectangleColor = Color.LightGray; this.chrtStatistics.DateTipTextColor = Color.Black; this.chrtStatistics.Dock = DockStyle.Fill; this.chrtStatistics.DrawItems = false; this.chrtStatistics.Font = new Font("Microsoft Sans Serif", 7f, FontStyle.Regular, GraphicsUnit.Point, (byte)204); this.chrtStatistics.ItemTextColor = Color.LightGray; this.chrtStatistics.LabelDigitsCount = 2; this.chrtStatistics.Location = new Point(3, 3); this.chrtStatistics.MinNumberOfBars = 125; this.chrtStatistics.Name = "chrtStatistics"; this.chrtStatistics.PrimitiveDeleteImage = (Image)null; this.chrtStatistics.PrimitivePropertiesImage = (Image)null; this.chrtStatistics.RightAxesFontSize = 7; this.chrtStatistics.RightAxisGridColor = Color.DimGray; this.chrtStatistics.RightAxisMajorTicksColor = Color.LightGray; this.chrtStatistics.RightAxisMinorTicksColor = Color.LightGray; this.chrtStatistics.RightAxisTextColor = Color.LightGray; this.chrtStatistics.ScaleStyle = PadScaleStyle.Arith; this.chrtStatistics.SelectedFillHighlightColor = Color.FromArgb(100, 173, 216, 230); this.chrtStatistics.SelectedItemTextColor = Color.Yellow; this.chrtStatistics.SessionEnd = TimeSpan.Parse("00:00:00"); this.chrtStatistics.SessionGridColor = Color.Empty; this.chrtStatistics.SessionGridEnabled = false; this.chrtStatistics.SessionStart = TimeSpan.Parse("00:00:00"); this.chrtStatistics.Size = new Size(512, 171); this.chrtStatistics.SmoothingMode = SmoothingMode.Default; this.chrtStatistics.SplitterColor = Color.LightGray; this.chrtStatistics.TabIndex = 2; this.chrtStatistics.UpdateStyle = ChartUpdateStyle.WholeRange; this.chrtStatistics.ValTipRectangleColor = Color.LightGray; this.chrtStatistics.ValTipTextColor = Color.Black; this.chrtStatistics.VolumePadVisible = false; this.tabPage2.Controls.Add((Control)this.chrtHist); this.tabPage2.Location = new Point(4, 22); this.tabPage2.Name = "tabPage2"; this.tabPage2.Padding = new Padding(3); this.tabPage2.Size = new Size(518, 177); this.tabPage2.TabIndex = 1; this.tabPage2.Text = "Histogram"; this.tabPage2.UseVisualStyleBackColor = true; this.chrtHist.AntiAliasingEnabled = false; this.chrtHist.Dock = DockStyle.Fill; this.chrtHist.DoubleBufferingEnabled = true; this.chrtHist.FileName = (string)null; this.chrtHist.GroupLeftMarginEnabled = false; this.chrtHist.GroupRightMarginEnabled = false; this.chrtHist.GroupZoomEnabled = false; this.chrtHist.Location = new Point(3, 3); this.chrtHist.Name = "chrtHist"; this.chrtHist.PadsForeColor = Color.White; this.chrtHist.PrintAlign = EPrintAlign.None; this.chrtHist.PrintHeight = 400; this.chrtHist.PrintLayout = EPrintLayout.Portrait; this.chrtHist.PrintWidth = 600; this.chrtHist.PrintX = 10; this.chrtHist.PrintY = 10; this.chrtHist.SessionEnd = TimeSpan.Parse("1.00:00:00"); this.chrtHist.SessionGridColor = Color.Blue; this.chrtHist.SessionGridEnabled = false; this.chrtHist.SessionStart = TimeSpan.Parse("00:00:00"); this.chrtHist.Size = new Size(512, 171); this.chrtHist.SmoothingEnabled = false; this.chrtHist.TabIndex = 0; this.chrtHist.TransformationType = ETransformationType.Empty; this.tabPage3.Controls.Add((Control)this.ltvData); this.tabPage3.Location = new Point(4, 22); this.tabPage3.Name = "tabPage3"; this.tabPage3.Size = new Size(518, 177); this.tabPage3.TabIndex = 2; this.tabPage3.Text = "Data"; this.tabPage3.UseVisualStyleBackColor = true; this.ltvData.Columns.AddRange(new ColumnHeader[2] { this.columnHeader5, this.columnHeader6 }); this.ltvData.Dock = DockStyle.Fill; this.ltvData.Location = new Point(0, 0); this.ltvData.Name = "ltvData"; this.ltvData.Size = new Size(518, 177); this.ltvData.TabIndex = 0; this.ltvData.UseCompatibleStateImageBehavior = false; this.ltvData.View = View.Details; this.columnHeader5.Text = "Date Tme"; this.columnHeader5.Width = 150; this.columnHeader6.Text = "Total Value"; this.columnHeader6.TextAlign = HorizontalAlignment.Right; this.columnHeader6.Width = 120; this.splitter1.Dock = DockStyle.Bottom; this.splitter1.Location = new Point(0, 163); this.splitter1.Name = "splitter1"; this.splitter1.Size = new Size(526, 3); this.splitter1.TabIndex = 5; this.splitter1.TabStop = false; this.AutoScaleDimensions = new SizeF(6f, 13f); this.AutoScaleMode = AutoScaleMode.Font; this.Controls.Add((Control)this.ltvStatistics); this.Controls.Add((Control)this.splitter1); this.Controls.Add((Control)this.tcStatistiscs); this.Name = "Statistics"; this.Size = new Size(526, 369); this.tcStatistiscs.ResumeLayout(false); this.tabPage1.ResumeLayout(false); this.tabPage2.ResumeLayout(false); this.tabPage3.ResumeLayout(false); this.ResumeLayout(false); }