Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/11/12 00:25:26 (12 years ago)
Author:
swagner
Message:

Added enhanced version of ScatterPlot (#1892)

File:
1 edited

Legend:

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

    r7829 r8280  
    1 #region License Information
     1#region License Information
    22/* HeuristicLab
    33 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     
    2222namespace HeuristicLab.Analysis.Views {
    2323  partial class ScatterPlotView {
    24     /// <summary>
     24    /// <summary> 
    2525    /// Required designer variable.
    2626    /// </summary>
    2727    private System.ComponentModel.IContainer components = null;
    2828
    29     /// <summary>
     29    /// <summary> 
    3030    /// Clean up any resources being used.
    3131    /// </summary>
    3232    /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
    3333    protected override void Dispose(bool disposing) {
    34       if (disposing && (components != null)) {
    35         components.Dispose();
     34      if (disposing) {
     35        if (components != null) components.Dispose();
    3636      }
    3737      base.Dispose(disposing);
    3838    }
    3939
    40     #region Windows Form Designer generated code
     40    #region Component Designer generated code
    4141
    42     /// <summary>
    43     /// Required method for Designer support - do not modify
     42    /// <summary> 
     43    /// Required method for Designer support - do not modify 
    4444    /// the contents of this method with the code editor.
    4545    /// </summary>
    4646    private void InitializeComponent() {
    4747      System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     48      System.Windows.Forms.DataVisualization.Charting.Legend legend1 = new System.Windows.Forms.DataVisualization.Charting.Legend();
    4849      System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
    4950      System.Windows.Forms.DataVisualization.Charting.Title title1 = new System.Windows.Forms.DataVisualization.Charting.Title();
     
    5758      this.errorProvider.SetIconAlignment(this.nameTextBox, System.Windows.Forms.ErrorIconAlignment.MiddleLeft);
    5859      this.errorProvider.SetIconPadding(this.nameTextBox, 2);
    59       this.nameTextBox.Size = new System.Drawing.Size(596, 20);
     60      this.nameTextBox.Location = new System.Drawing.Point(55, 0);
     61      this.nameTextBox.Size = new System.Drawing.Size(279, 20);
     62      //
     63      // infoLabel
     64      //
     65      this.infoLabel.Location = new System.Drawing.Point(340, 3);
    6066      //
    6167      // chart
    6268      //
    63       this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
    64             | System.Windows.Forms.AnchorStyles.Left)
    65             | System.Windows.Forms.AnchorStyles.Right)));
    66       chartArea1.Name = "ChartArea1";
     69      this.chart.Anchor = ((System.Windows.Forms.AnchorStyles)((((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom)
     70                  | System.Windows.Forms.AnchorStyles.Left)
     71                  | System.Windows.Forms.AnchorStyles.Right)));
     72      this.chart.BorderlineColor = System.Drawing.Color.Black;
     73      this.chart.BorderlineDashStyle = System.Windows.Forms.DataVisualization.Charting.ChartDashStyle.Solid;
     74      chartArea1.AxisX.Minimum = 0D;
     75      chartArea1.CursorX.IsUserEnabled = true;
     76      chartArea1.CursorX.IsUserSelectionEnabled = true;
     77      chartArea1.CursorY.IsUserEnabled = true;
     78      chartArea1.CursorY.IsUserSelectionEnabled = true;
     79      chartArea1.Name = "Default";
    6780      this.chart.ChartAreas.Add(chartArea1);
     81      legend1.Alignment = System.Drawing.StringAlignment.Center;
     82      legend1.Docking = System.Windows.Forms.DataVisualization.Charting.Docking.Top;
     83      legend1.Name = "Default";
     84      this.chart.Legends.Add(legend1);
    6885      this.chart.Location = new System.Drawing.Point(0, 26);
    6986      this.chart.Name = "chart";
    70       series1.ChartArea = "ChartArea1";
    71       series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.FastPoint;
    72       series1.EmptyPointStyle.BackGradientStyle = System.Windows.Forms.DataVisualization.Charting.GradientStyle.LeftRight;
    73       series1.MarkerSize = 3;
    74       series1.MarkerStyle = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Circle;
    75       series1.Name = "Series1";
     87      series1.ChartArea = "Default";
     88      series1.Legend = "Default";
     89      series1.Name = "Default";
    7690      this.chart.Series.Add(series1);
    77       this.chart.Size = new System.Drawing.Size(668, 378);
    78       this.chart.TabIndex = 5;
    79       title1.Font = new System.Drawing.Font("Microsoft Sans Serif", 9.75F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
    80       title1.Name = "Title1";
    81       title1.Text = "Scatter Plot";
     91      this.chart.Size = new System.Drawing.Size(359, 248);
     92      this.chart.TabIndex = 3;
     93      this.chart.Text = "chart";
     94      title1.Font = new System.Drawing.Font("Microsoft Sans Serif", 12F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(0)));
     95      title1.Name = "Default";
     96      title1.Text = "Title";
    8297      this.chart.Titles.Add(title1);
     98      this.chart.CustomizeLegend += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.CustomizeLegendEventArgs>(this.chart_CustomizeLegend);
     99      this.chart.MouseDown += new System.Windows.Forms.MouseEventHandler(this.chart_MouseDown);
     100      this.chart.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart_MouseMove);
    83101      //
    84102      // ScatterPlotView
    85103      //
    86       this.AllowDrop = true;
    87104      this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
     105      this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit;
    88106      this.Controls.Add(this.chart);
    89107      this.Name = "ScatterPlotView";
    90       this.Size = new System.Drawing.Size(668, 404);
     108      this.Size = new System.Drawing.Size(359, 274);
    91109      this.Controls.SetChildIndex(this.infoLabel, 0);
    92110      this.Controls.SetChildIndex(this.chart, 0);
     
    102120    #endregion
    103121
    104     private HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart chart;
     122    protected HeuristicLab.Visualization.ChartControlsExtensions.EnhancedChart chart;
     123
    105124  }
    106125}
Note: See TracChangeset for help on using the changeset viewer.