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)

Location:
trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/EnhancedChart.Designer.cs

    r4628 r4637  
    1 namespace HeuristicLab.Visualization.ChartControlsExtensions {
     1#region License Information
     2/* HeuristicLab
     3 * Copyright (C) 2002-2010 Heuristic and Evolutionary Algorithms Laboratory (HEAL)
     4 *
     5 * This file is part of HeuristicLab.
     6 *
     7 * HeuristicLab is free software: you can redistribute it and/or modify
     8 * it under the terms of the GNU General Public License as published by
     9 * the Free Software Foundation, either version 3 of the License, or
     10 * (at your option) any later version.
     11 *
     12 * HeuristicLab is distributed in the hope that it will be useful,
     13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
     14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     15 * GNU General Public License for more details.
     16 *
     17 * You should have received a copy of the GNU General Public License
     18 * along with HeuristicLab. If not, see <http://www.gnu.org/licenses/>.
     19 */
     20#endregion
     21
     22namespace HeuristicLab.Visualization.ChartControlsExtensions {
    223  partial class EnhancedChart {
    324    /// <summary>
  • trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/EnhancedChart.cs

    r4636 r4637  
    2525using System.Windows.Forms;
    2626using System.Windows.Forms.DataVisualization.Charting;
     27
    2728namespace HeuristicLab.Visualization.ChartControlsExtensions {
    2829  public partial class EnhancedChart : Chart {
     
    4546        axis.MajorTickMark.TickMarkStyle = TickMarkStyle.AcrossAxis;
    4647        axis.ScrollBar.BackColor = Color.Transparent;
    47         axis.ScrollBar.LineColor = Color.Transparent;
     48        axis.ScrollBar.LineColor = Color.Gray;
    4849        axis.ScrollBar.ButtonColor = SystemColors.GradientInactiveCaption;
    49         axis.ScrollBar.ButtonStyle = ScrollBarButtonStyles.SmallScroll;
     50        axis.ScrollBar.ButtonStyle = ScrollBarButtonStyles.All;
    5051        axis.ScrollBar.Size = 12;
    5152        axis.TitleFont = new Font(axis.TitleFont.FontFamily, 10);
    5253      }
    53       chartArea.CursorX.Interval = 0;
    54       chartArea.CursorY.Interval = 0;
    5554      chartArea.CursorX.IsUserSelectionEnabled = true;
    5655      chartArea.CursorY.IsUserSelectionEnabled = true;
    5756      chartArea.CursorX.IsUserEnabled = false;
    5857      chartArea.CursorY.IsUserEnabled = false;
    59       chartArea.CursorX.SelectionColor = SystemColors.GradientActiveCaption;
    60       chartArea.CursorY.SelectionColor = SystemColors.GradientActiveCaption;
     58      chartArea.CursorX.SelectionColor = Color.Gray;
     59      chartArea.CursorY.SelectionColor = Color.Gray;
    6160    }
    6261
     
    6766    }
    6867
    69     #region Mouse event ehancements
    70 
     68    #region Mouse Event Ehancements
    7169    protected override void OnMouseDoubleClick(MouseEventArgs e) {
    7270      if (EnableDoubleClickResetsZoom) {
    7371        HitTestResult result = HitTest(e.X, e.Y);
    74         if (result.ChartArea != null && result.ChartElementType == ChartElementType.PlottingArea) {
     72        if (result.ChartArea != null && (result.ChartElementType == ChartElementType.PlottingArea || result.ChartElementType == ChartElementType.Gridlines)) {
    7573          foreach (var axis in result.ChartArea.Axes)
    7674            axis.ScaleView.ZoomReset(int.MaxValue);
     
    8078    }
    8179
    82     #region panning
     80    #region Panning
    8381    private class PanningSupport {
    8482      public ChartArea ChartArea { get; private set; }
     
    140138    }
    141139    #endregion
    142 
    143140    #endregion
    144141
  • trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/HeuristicLabVisualizationChartControlsExtensionsPlugin.cs.frame

    r4614 r4637  
    2222using HeuristicLab.PluginInfrastructure;
    2323
    24 namespace HeuristicLab.Tracing {
    25 
     24namespace HeuristicLab.Visualization.ChartControlsExtensions {
    2625  /// <summary>
    27   /// HeuristicLab Visualization ChartControls Extensions Plugin
     26  /// Plugin class for HeuristicLab.Visualization.ChartControlsExtensions plugin
    2827  /// </summary> 
    29   [Plugin("HeuristicLab.Visualization.ChartControlsExtensions", "3.3.1.$WCREV$")]
     28  [Plugin("HeuristicLab.Visualization.ChartControlsExtensions", "3.3.2.$WCREV$")]
    3029  [PluginFile("HeuristicLab.Visualization.ChartControlsExtensions-3.3.dll", PluginFileType.Assembly)]
    31   public class HeuristicLabVisualizationChartControlsExtensions : PluginBase {}
    32 
     30  public class HeuristicLabVisualizationChartControlsExtensionsPlugin : PluginBase { }
    3331}
  • trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/Properties/AssemblyInfo.frame

    r4614 r4637  
    2828// associated with an assembly.
    2929[assembly: AssemblyTitle("HeuristicLab.Visualization.ChartControlsExtensions")]
    30 [assembly: AssemblyDescription("Extensions for the Microsoft ChartControls framework .")]
     30[assembly: AssemblyDescription("Extensions for the Microsoft Chart Controls.")]
    3131[assembly: AssemblyConfiguration("")]
    3232[assembly: AssemblyCompany("")]
Note: See TracChangeset for help on using the changeset viewer.