Changeset 15973 for branches/2522_RefactorPluginInfrastructure/HeuristicLab.Visualization.ChartControlsExtensions/3.3/EnhancedChart.cs
- Timestamp:
- 06/28/18 11:13:37 (6 years ago)
- Location:
- branches/2522_RefactorPluginInfrastructure
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2522_RefactorPluginInfrastructure
- Property svn:ignore
-
old new 24 24 protoc.exe 25 25 obj 26 .vs
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/2522_RefactorPluginInfrastructure/HeuristicLab.Visualization.ChartControlsExtensions/3.3/EnhancedChart.cs
r12012 r15973 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 5Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2018 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 28 28 namespace HeuristicLab.Visualization.ChartControlsExtensions { 29 29 public partial class EnhancedChart : Chart { 30 30 31 private ImageExportDialog exportDialog; 32 33 private ImageExportDialog ExportDialog { 34 get { return exportDialog ?? (exportDialog = new ImageExportDialog(this)); } 35 } 31 36 32 37 public EnhancedChart() 33 38 : base() { 34 39 InitializeComponent(); 35 exportDialog = new ImageExportDialog(this);36 40 EnableDoubleClickResetsZoom = true; 37 41 EnableMiddleClickPanning = true; … … 75 79 if (result.ChartArea != null && (result.ChartElementType == ChartElementType.PlottingArea || result.ChartElementType == ChartElementType.Gridlines)) { 76 80 foreach (var axis in result.ChartArea.Axes) 77 axis.ScaleView.ZoomReset( int.MaxValue);81 axis.ScaleView.ZoomReset(0); 78 82 } 79 83 } … … 166 170 167 171 private void exportToolStripMenuItem_Click(object sender, EventArgs e) { 168 exportDialog.ShowDialog();172 ExportDialog.ShowDialog(); 169 173 } 170 174
Note: See TracChangeset
for help on using the changeset viewer.