Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
08/19/15 13:59:32 (9 years ago)
Author:
pfleck
Message:

#2379
Added tooltip when hovering a data point.
Click on a data point opens the corresponding DataItem or both if x and y values came from different DataItems.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/BubbleChart/HeuristicLab.Optimization.BubbleChart/3.3/BubbleChartView.Designer.cs

    r12882 r12884  
    4646    private void InitializeComponent() {
    4747      this.components = new System.ComponentModel.Container();
    48       System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea2 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
    49       System.Windows.Forms.DataVisualization.Charting.Series series2 = new System.Windows.Forms.DataVisualization.Charting.Series();
     48      System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea();
     49      System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series();
    5050      this.yLabel = new System.Windows.Forms.Label();
    5151      this.xLabel = new System.Windows.Forms.Label();
     
    5656      this.childrenGroupBox = new System.Windows.Forms.GroupBox();
    5757      this.splitContainer = new System.Windows.Forms.SplitContainer();
     58      this.noDataLabel = new System.Windows.Forms.Label();
    5859      this.sizeComboBox = new System.Windows.Forms.ComboBox();
    5960      this.sizeLabel = new System.Windows.Forms.Label();
     
    6667      this.yJitterTrackBar = new System.Windows.Forms.TrackBar();
    6768      this.xJitterTrackBar = new System.Windows.Forms.TrackBar();
    68       this.noDataLabel = new System.Windows.Forms.Label();
     69      this.tooltip = new System.Windows.Forms.ToolTip(this.components);
    6970      ((System.ComponentModel.ISupportInitialize)(this.chart)).BeginInit();
    7071      this.childrenGroupBox.SuspendLayout();
     
    103104            | System.Windows.Forms.AnchorStyles.Left)
    104105            | System.Windows.Forms.AnchorStyles.Right)));
    105       chartArea2.Name = "ChartArea1";
    106       this.chart.ChartAreas.Add(chartArea2);
     106      chartArea1.Name = "ChartArea1";
     107      this.chart.ChartAreas.Add(chartArea1);
    107108      this.chart.Location = new System.Drawing.Point(3, 3);
    108109      this.chart.Name = "chart";
    109       series2.ChartArea = "ChartArea1";
    110       series2.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
    111       series2.IsVisibleInLegend = false;
    112       series2.MarkerStyle = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Circle;
    113       series2.Name = "Bubbles";
    114       series2.YValuesPerPoint = 2;
    115       this.chart.Series.Add(series2);
     110      series1.ChartArea = "ChartArea1";
     111      series1.ChartType = System.Windows.Forms.DataVisualization.Charting.SeriesChartType.Point;
     112      series1.IsVisibleInLegend = false;
     113      series1.MarkerStyle = System.Windows.Forms.DataVisualization.Charting.MarkerStyle.Circle;
     114      series1.Name = "Bubbles";
     115      series1.YValuesPerPoint = 2;
     116      this.chart.Series.Add(series1);
    116117      this.chart.Size = new System.Drawing.Size(966, 668);
    117118      this.chart.TabIndex = 7;
    118119      this.chart.AxisViewChanged += new System.EventHandler<System.Windows.Forms.DataVisualization.Charting.ViewEventArgs>(this.chart_AxisViewChanged);
     120      this.chart.MouseDoubleClick += new System.Windows.Forms.MouseEventHandler(this.chart_MouseDoubleClick);
     121      this.chart.MouseMove += new System.Windows.Forms.MouseEventHandler(this.chart_MouseMove);
    119122      //
    120123      // yAxisComboBox
     
    184187      this.splitContainer.SplitterDistance = 107;
    185188      this.splitContainer.TabIndex = 12;
     189      //
     190      // noDataLabel
     191      //
     192      this.noDataLabel.Anchor = System.Windows.Forms.AnchorStyles.None;
     193      this.noDataLabel.AutoSize = true;
     194      this.noDataLabel.Location = new System.Drawing.Point(469, 323);
     195      this.noDataLabel.Name = "noDataLabel";
     196      this.noDataLabel.Size = new System.Drawing.Size(139, 13);
     197      this.noDataLabel.TabIndex = 8;
     198      this.noDataLabel.Text = "No data could be displayed.";
     199      this.noDataLabel.Visible = false;
    186200      //
    187201      // sizeComboBox
     
    291305      this.xJitterTrackBar.TickStyle = System.Windows.Forms.TickStyle.None;
    292306      this.xJitterTrackBar.ValueChanged += new System.EventHandler(this.jitterTrackBar_ValueChanged);
    293       //
    294       // noDataLabel
    295       //
    296       this.noDataLabel.Anchor = System.Windows.Forms.AnchorStyles.None;
    297       this.noDataLabel.AutoSize = true;
    298       this.noDataLabel.Location = new System.Drawing.Point(469, 323);
    299       this.noDataLabel.Name = "noDataLabel";
    300       this.noDataLabel.Size = new System.Drawing.Size(139, 13);
    301       this.noDataLabel.TabIndex = 8;
    302       this.noDataLabel.Text = "No data could be displayed.";
    303       this.noDataLabel.Visible = false;
    304307      //
    305308      // BubbleChartView
     
    363366    private System.Windows.Forms.TrackBar xJitterTrackBar;
    364367    private System.Windows.Forms.Label noDataLabel;
     368    private System.Windows.Forms.ToolTip tooltip;
    365369  }
    366370}
Note: See TracChangeset for help on using the changeset viewer.