Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/28/10 00:38:56 (13 years ago)
Author:
swagner
Message:

Worked on flexible coloring of data rows and on changing the initial index from 1 to 0 (#925)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Analysis.Views/3.3/DataTableView.Designer.cs

    r4637 r4648  
    4646    private void InitializeComponent() {
    4747      this.components = new System.ComponentModel.Container();
    48       System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
    49       System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
    50       System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
    51       System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
     48      System.Windows.Forms.DataVisualization.Charting.ChartArea defaultChartArea = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     49      System.Windows.Forms.DataVisualization.Charting.Legend defaultLegend = new System.Windows.Forms.DataVisualization.Charting.Legend();
     50      System.Windows.Forms.DataVisualization.Charting.Series defaultSeries = new System.Windows.Forms.DataVisualization.Charting.Series();
     51      System.Windows.Forms.DataVisualization.Charting.Title defaultTitle = new System.Windows.Forms.DataVisualization.Charting.Title();
    5252      this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart();
    5353      this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
     
    7676      this.chart.BorderlineColor = System.Drawing.Color.Black;
    7777      this.chart.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
    78       chartArea1.CursorX.IsUserEnabled = true;
    79       chartArea1.CursorX.IsUserSelectionEnabled = true;
    80       chartArea1.CursorY.IsUserEnabled = true;
    81       chartArea1.CursorY.IsUserSelectionEnabled = true;
    82       chartArea1.Name = "ChartArea1";
    83       this.chart.ChartAreas.Add(chartArea1);
     78      defaultChartArea.CursorX.IsUserEnabled = true;
     79      defaultChartArea.CursorX.IsUserSelectionEnabled = true;
     80      defaultChartArea.CursorY.IsUserEnabled = true;
     81      defaultChartArea.CursorY.IsUserSelectionEnabled = true;
     82      defaultChartArea.Name = "Default";
     83      this.chart.ChartAreas.Add(defaultChartArea);
    8484      this.chart.ContextMenuStrip = this.contextMenuStrip;
    85       legend1.Alignment = System.Drawing.StringAlignment.Center;
    86       legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
    87       legend1.Name = "Legend1";
    88       this.chart.Legends.Add(legend1);
     85      defaultLegend.Alignment = System.Drawing.StringAlignment.Center;
     86      defaultLegend.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
     87      defaultLegend.Name = "Default";
     88      this.chart.Legends.Add(defaultLegend);
    8989      this.chart.Location = new System.Drawing.Point(0, 52);
    9090      this.chart.Name = "chart";
    91       series1.ChartArea = "ChartArea1";
    92       series1.Legend = "Legend1";
    93       series1.Name = "Series1";
    94       this.chart.Series.Add(series1);
     91      defaultSeries.ChartArea = "Default";
     92      defaultSeries.Legend = "Default";
     93      defaultSeries.Name = "Default";
     94      this.chart.Series.Add(defaultSeries);
    9595      this.chart.Size = new System.Drawing.Size(359, 222);
    9696      this.chart.TabIndex = 4;
    97       this.chart.Text = "chart1";
    98       title1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    99       title1.Name = "Default";
    100       title1.Text = "Title";
    101       this.chart.Titles.Add(title1);
     97      this.chart.Text = "chart";
     98      defaultTitle.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     99      defaultTitle.Name = "Default";
     100      defaultTitle.Text = "Title";
     101      this.chart.Titles.Add(defaultTitle);
    102102      this.chart.CustomizeLegend += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.CustomizeLegendEventArgs>(this.chart_CustomizeLegend);
    103103      this.chart.MouseDown += new System.Windows.Forms.MouseEventHandler(this.chart_MouseDown);
Note: See TracChangeset for help on using the changeset viewer.