Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/21/10 17:16:00 (14 years ago)
Author:
swagner
Message:

Worked on visual appearance of charts and added some minor corrections in HeuristicLab.Visualization.ChartControlsExtensions (#1237)

File:
1 edited

Legend:

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

    r4636 r4637  
    4949      System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
    5050      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();
    5152      this.chart = new HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart();
    5253      this.contextMenuStrip = new System.Windows.Forms.ContextMenuStrip(this.components);
     
    7071      // chart
    7172      //
    72       this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 
    73             | System.Windows.Forms.AnchorStyles.Left)
    74             | System.Windows.Forms.AnchorStyles.Right)));
     73      this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     74                  | System.Windows.Forms.AnchorStyles.Left)
     75                  | System.Windows.Forms.AnchorStyles.Right)));
    7576      this.chart.BorderlineColor = System.Drawing.Color.Black;
    7677      this.chart.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     
    8283      this.chart.ChartAreas.Add(chartArea1);
    8384      this.chart.ContextMenuStrip = this.contextMenuStrip;
     85      legend1.Alignment = System.Drawing.StringAlignment.Center;
    8486      legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
    8587      legend1.Name = "Legend1";
    8688      this.chart.Legends.Add(legend1);
    87       this.chart.EnableDoubleClickResetsZoom = true;
    88       this.chart.EnableMiddleClickPanning = true;
    8989      this.chart.Location = new System.Drawing.Point(0, 52);
    9090      this.chart.Name = "chart";
     
    9696      this.chart.TabIndex = 4;
    9797      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);
    98102      this.chart.CustomizeLegend += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.CustomizeLegendEventArgs>(this.chart_CustomizeLegend);
    99103      this.chart.MouseDown += new System.Windows.Forms.MouseEventHandler(this.chart_MouseDown);
Note: See TracChangeset for help on using the changeset viewer.