- Timestamp:
- 10/21/10 17:16:00 (14 years ago)
- 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 22 namespace HeuristicLab.Visualization.ChartControlsExtensions { 2 23 partial class EnhancedChart { 3 24 /// <summary> -
trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/EnhancedChart.cs
r4636 r4637 25 25 using System.Windows.Forms; 26 26 using System.Windows.Forms.DataVisualization.Charting; 27 27 28 namespace HeuristicLab.Visualization.ChartControlsExtensions { 28 29 public partial class EnhancedChart : Chart { … … 45 46 axis.MajorTickMark.TickMarkStyle = TickMarkStyle.AcrossAxis; 46 47 axis.ScrollBar.BackColor = Color.Transparent; 47 axis.ScrollBar.LineColor = Color. Transparent;48 axis.ScrollBar.LineColor = Color.Gray; 48 49 axis.ScrollBar.ButtonColor = SystemColors.GradientInactiveCaption; 49 axis.ScrollBar.ButtonStyle = ScrollBarButtonStyles. SmallScroll;50 axis.ScrollBar.ButtonStyle = ScrollBarButtonStyles.All; 50 51 axis.ScrollBar.Size = 12; 51 52 axis.TitleFont = new Font(axis.TitleFont.FontFamily, 10); 52 53 } 53 chartArea.CursorX.Interval = 0;54 chartArea.CursorY.Interval = 0;55 54 chartArea.CursorX.IsUserSelectionEnabled = true; 56 55 chartArea.CursorY.IsUserSelectionEnabled = true; 57 56 chartArea.CursorX.IsUserEnabled = false; 58 57 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; 61 60 } 62 61 … … 67 66 } 68 67 69 #region Mouse event ehancements 70 68 #region Mouse Event Ehancements 71 69 protected override void OnMouseDoubleClick(MouseEventArgs e) { 72 70 if (EnableDoubleClickResetsZoom) { 73 71 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)) { 75 73 foreach (var axis in result.ChartArea.Axes) 76 74 axis.ScaleView.ZoomReset(int.MaxValue); … … 80 78 } 81 79 82 #region panning80 #region Panning 83 81 private class PanningSupport { 84 82 public ChartArea ChartArea { get; private set; } … … 140 138 } 141 139 #endregion 142 143 140 #endregion 144 141 -
trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/HeuristicLabVisualizationChartControlsExtensionsPlugin.cs.frame
r4614 r4637 22 22 using HeuristicLab.PluginInfrastructure; 23 23 24 namespace HeuristicLab.Tracing { 25 24 namespace HeuristicLab.Visualization.ChartControlsExtensions { 26 25 /// <summary> 27 /// HeuristicLab Visualization ChartControls Extensions Plugin26 /// Plugin class for HeuristicLab.Visualization.ChartControlsExtensions plugin 28 27 /// </summary> 29 [Plugin("HeuristicLab.Visualization.ChartControlsExtensions", "3.3. 1.$WCREV$")]28 [Plugin("HeuristicLab.Visualization.ChartControlsExtensions", "3.3.2.$WCREV$")] 30 29 [PluginFile("HeuristicLab.Visualization.ChartControlsExtensions-3.3.dll", PluginFileType.Assembly)] 31 public class HeuristicLabVisualizationChartControlsExtensions : PluginBase {} 32 30 public class HeuristicLabVisualizationChartControlsExtensionsPlugin : PluginBase { } 33 31 } -
trunk/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/Properties/AssemblyInfo.frame
r4614 r4637 28 28 // associated with an assembly. 29 29 [assembly: AssemblyTitle("HeuristicLab.Visualization.ChartControlsExtensions")] 30 [assembly: AssemblyDescription("Extensions for the Microsoft Chart Controls framework.")]30 [assembly: AssemblyDescription("Extensions for the Microsoft Chart Controls.")] 31 31 [assembly: AssemblyConfiguration("")] 32 32 [assembly: AssemblyCompany("")]
Note: See TracChangeset
for help on using the changeset viewer.