Changeset 11203 for branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3
- Timestamp:
- 07/18/14 12:35:00 (10 years ago)
- Location:
- branches/HiveStatistics/sources
- Files:
-
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HiveStatistics/sources
- Property svn:ignore
-
old new 8 8 FxCopResults.txt 9 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll11 10 HeuristicLab 3.3.5.1.ReSharper.user 12 11 HeuristicLab 3.3.6.0.ReSharper.user 13 12 HeuristicLab.4.5.resharper.user 14 13 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development16 14 HeuristicLab.resharper.user 17 15 ProtoGen.exe … … 19 17 _ReSharper.HeuristicLab 20 18 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests22 19 _ReSharper.HeuristicLab.ExtLibs 23 20 bin 24 21 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/EnhancedChart.Designer.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/EnhancedChart.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/GanttChart.Designer.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/GanttChart.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/HeuristicLab.Visualization.ChartControlsExtensions-3.3.csproj
r11202 r11203 156 156 <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> 157 157 <PropertyGroup> 158 158 <PreBuildEvent Condition=" '$(OS)' == 'Windows_NT' ">set Path=%25Path%25;$(ProjectDir);$(SolutionDir) 159 159 set ProjectDir=$(ProjectDir) 160 160 set SolutionDir=$(SolutionDir) … … 163 163 call PreBuildEvent.cmd 164 164 </PreBuildEvent> 165 165 <PreBuildEvent Condition=" '$(OS)' != 'Windows_NT' "> 166 166 export ProjectDir=$(ProjectDir) 167 167 export SolutionDir=$(SolutionDir) -
branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/HistogramControl.Designer.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/HistogramControl.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. -
branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/ImageExportDialog.Designer.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 45 45 /// </summary> 46 46 private void InitializeComponent() { 47 this.components = new System.ComponentModel.Container();48 47 this.titleTextBox = new System.Windows.Forms.TextBox(); 49 48 this.label1 = new System.Windows.Forms.Label(); … … 64 63 this.label10 = new System.Windows.Forms.Label(); 65 64 this.groupBox1 = new System.Windows.Forms.GroupBox(); 66 this.showSecondaryYAxisCheckBox = new System.Windows.Forms.CheckBox();67 this.showSecondaryXAxisCheckBox = new System.Windows.Forms.CheckBox();68 65 this.groupBox2 = new System.Windows.Forms.GroupBox(); 69 this.showPrimaryYAxisCheckBox = new System.Windows.Forms.CheckBox();70 this.showPrimaryXAxisCheckBox = new System.Windows.Forms.CheckBox();71 66 this.primaryXTextBox = new System.Windows.Forms.TextBox(); 72 67 this.primaryYTextBox = new System.Windows.Forms.TextBox(); … … 84 79 this.heightNumericUD = new System.Windows.Forms.NumericUpDown(); 85 80 this.splitContainer = new System.Windows.Forms.SplitContainer(); 86 this.legendGroupBox = new System.Windows.Forms.GroupBox();87 this.label20 = new System.Windows.Forms.Label();88 this.legendPositionComboBox = new System.Windows.Forms.ComboBox();89 81 this.chartAreaComboBox = new System.Windows.Forms.ComboBox(); 90 82 this.togglePreviewCheckBox = new System.Windows.Forms.CheckBox(); … … 93 85 this.label8 = new System.Windows.Forms.Label(); 94 86 this.previewPictureBox = new System.Windows.Forms.PictureBox(); 95 this.label19 = new System.Windows.Forms.Label();96 87 this.label13 = new System.Windows.Forms.Label(); 97 this.rawImageSizeLabel = new System.Windows.Forms.Label();98 88 this.previewZoomLabel = new System.Windows.Forms.Label(); 99 89 this.saveFileDialog = new System.Windows.Forms.SaveFileDialog(); 100 this.toolTip = new System.Windows.Forms.ToolTip(this.components); 90 this.label19 = new System.Windows.Forms.Label(); 91 this.rawImageSizeLabel = new System.Windows.Forms.Label(); 101 92 ((System.ComponentModel.ISupportInitialize)(this.widthNumericUD)).BeginInit(); 102 93 this.groupBox1.SuspendLayout(); … … 108 99 this.splitContainer.Panel2.SuspendLayout(); 109 100 this.splitContainer.SuspendLayout(); 110 this.legendGroupBox.SuspendLayout();111 101 ((System.ComponentModel.ISupportInitialize)(this.previewPictureBox)).BeginInit(); 112 102 this.SuspendLayout(); … … 114 104 // titleTextBox 115 105 // 116 this.titleTextBox.Location = new System.Drawing.Point( 84, 11);106 this.titleTextBox.Location = new System.Drawing.Point(62, 11); 117 107 this.titleTextBox.Name = "titleTextBox"; 118 this.titleTextBox.Size = new System.Drawing.Size( 159, 20);108 this.titleTextBox.Size = new System.Drawing.Size(203, 20); 119 109 this.titleTextBox.TabIndex = 1; 120 this.toolTip.SetToolTip(this.titleTextBox, "The title of the chart, will be removed if set to empty.");121 110 this.titleTextBox.TextChanged += new System.EventHandler(this.titleTextBox_TextChanged); 122 111 // … … 134 123 this.okButton.DialogResult = System.Windows.Forms.DialogResult.OK; 135 124 this.okButton.Font = new System.Drawing.Font("Microsoft Sans Serif", 8.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(0))); 136 this.okButton.Location = new System.Drawing.Point(141, 552);125 this.okButton.Location = new System.Drawing.Point(141, 487); 137 126 this.okButton.Name = "okButton"; 138 127 this.okButton.Size = new System.Drawing.Size(75, 23); 139 this.okButton.TabIndex = 2;128 this.okButton.TabIndex = 13; 140 129 this.okButton.Text = "Save"; 141 130 this.okButton.UseVisualStyleBackColor = true; … … 145 134 // 146 135 this.label2.AutoSize = true; 147 this.label2.Location = new System.Drawing.Point(1 8, 14);136 this.label2.Location = new System.Drawing.Point(10, 14); 148 137 this.label2.Name = "label2"; 149 this.label2.Size = new System.Drawing.Size( 54, 13);138 this.label2.Size = new System.Drawing.Size(30, 13); 150 139 this.label2.TabIndex = 0; 151 this.label2.Text = "Title Text:";140 this.label2.Text = "Title:"; 152 141 // 153 142 // secondaryXTextBox 154 143 // 155 this.secondaryXTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 156 | System.Windows.Forms.AnchorStyles.Right)));157 this.secondaryXTextBox.Location = new System.Drawing.Point( 72, 27);144 this.secondaryXTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 145 | System.Windows.Forms.AnchorStyles.Right))); 146 this.secondaryXTextBox.Location = new System.Drawing.Point(49, 27); 158 147 this.secondaryXTextBox.Name = "secondaryXTextBox"; 159 this.secondaryXTextBox.Size = new System.Drawing.Size( 159, 20);148 this.secondaryXTextBox.Size = new System.Drawing.Size(203, 20); 160 149 this.secondaryXTextBox.TabIndex = 1; 161 this.toolTip.SetToolTip(this.secondaryXTextBox, "Label of the secondary x-axis");162 150 this.secondaryXTextBox.TextChanged += new System.EventHandler(this.secondaryXTextBox_TextChanged); 163 151 // … … 167 155 this.label3.Location = new System.Drawing.Point(6, 30); 168 156 this.label3.Name = "label3"; 169 this.label3.Size = new System.Drawing.Size( 46, 13);157 this.label3.Size = new System.Drawing.Size(23, 13); 170 158 this.label3.TabIndex = 0; 171 this.label3.Text = "X Label:";159 this.label3.Text = "X2:"; 172 160 // 173 161 // secondaryYTextBox 174 162 // 175 this.secondaryYTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 176 | System.Windows.Forms.AnchorStyles.Right)));177 this.secondaryYTextBox.Location = new System.Drawing.Point( 72, 53);163 this.secondaryYTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 164 | System.Windows.Forms.AnchorStyles.Right))); 165 this.secondaryYTextBox.Location = new System.Drawing.Point(49, 53); 178 166 this.secondaryYTextBox.Name = "secondaryYTextBox"; 179 this.secondaryYTextBox.Size = new System.Drawing.Size(159, 20); 180 this.secondaryYTextBox.TabIndex = 4; 181 this.toolTip.SetToolTip(this.secondaryYTextBox, "Label of the secondary y-axis"); 167 this.secondaryYTextBox.Size = new System.Drawing.Size(203, 20); 168 this.secondaryYTextBox.TabIndex = 3; 182 169 this.secondaryYTextBox.TextChanged += new System.EventHandler(this.secondaryYTextBox_TextChanged); 183 170 // … … 187 174 this.label4.Location = new System.Drawing.Point(6, 56); 188 175 this.label4.Name = "label4"; 189 this.label4.Size = new System.Drawing.Size( 46, 13);190 this.label4.TabIndex = 3;191 this.label4.Text = "Y Label:";176 this.label4.Size = new System.Drawing.Size(23, 13); 177 this.label4.TabIndex = 2; 178 this.label4.Text = "Y2:"; 192 179 // 193 180 // resolutionComboBox … … 198 185 "96", 199 186 "150", 200 "300", 201 "600", 202 "800", 203 "1200"}); 204 this.resolutionComboBox.Location = new System.Drawing.Point(84, 450); 187 "300"}); 188 this.resolutionComboBox.Location = new System.Drawing.Point(76, 383); 205 189 this.resolutionComboBox.Name = "resolutionComboBox"; 206 this.resolutionComboBox.Size = new System.Drawing.Size(83, 21); 207 this.resolutionComboBox.TabIndex = 8; 208 this.toolTip.SetToolTip(this.resolutionComboBox, "Specify the resolution of the output image, use a minimum of 300dpi if the image " + 209 "should appear in a publication."); 190 this.resolutionComboBox.Size = new System.Drawing.Size(75, 21); 191 this.resolutionComboBox.TabIndex = 6; 210 192 this.resolutionComboBox.TextChanged += new System.EventHandler(this.resolutionComboBox_TextChanged); 211 193 this.resolutionComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.resolutionComboBox_Validating); … … 219 201 0, 220 202 65536}); 221 this.widthNumericUD.Location = new System.Drawing.Point( 84, 477);203 this.widthNumericUD.Location = new System.Drawing.Point(76, 410); 222 204 this.widthNumericUD.Minimum = new decimal(new int[] { 223 205 1, … … 226 208 65536}); 227 209 this.widthNumericUD.Name = "widthNumericUD"; 228 this.widthNumericUD.Size = new System.Drawing.Size( 83, 20);229 this.widthNumericUD.TabIndex = 11;210 this.widthNumericUD.Size = new System.Drawing.Size(75, 20); 211 this.widthNumericUD.TabIndex = 8; 230 212 this.widthNumericUD.Value = new decimal(new int[] { 231 213 8, … … 238 220 // 239 221 this.label5.AutoSize = true; 240 this.label5.Location = new System.Drawing.Point(1 8, 453);222 this.label5.Location = new System.Drawing.Point(10, 386); 241 223 this.label5.Name = "label5"; 242 224 this.label5.Size = new System.Drawing.Size(60, 13); 243 this.label5.TabIndex = 7;225 this.label5.TabIndex = 5; 244 226 this.label5.Text = "Resolution:"; 245 227 // … … 247 229 // 248 230 this.label6.AutoSize = true; 249 this.label6.Location = new System.Drawing.Point(1 8, 479);231 this.label6.Location = new System.Drawing.Point(10, 412); 250 232 this.label6.Name = "label6"; 251 233 this.label6.Size = new System.Drawing.Size(38, 13); 252 this.label6.TabIndex = 10;234 this.label6.TabIndex = 7; 253 235 this.label6.Text = "Width:"; 254 236 // 255 237 // axisFontSizeComboBox 256 238 // 257 this.axisFontSizeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 258 | System.Windows.Forms.AnchorStyles.Right)));239 this.axisFontSizeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 240 | System.Windows.Forms.AnchorStyles.Right))); 259 241 this.axisFontSizeComboBox.FormattingEnabled = true; 260 242 this.axisFontSizeComboBox.Items.AddRange(new object[] { … … 270 252 "36", 271 253 "72"}); 272 this.axisFontSizeComboBox.Location = new System.Drawing.Point( 72, 46);254 this.axisFontSizeComboBox.Location = new System.Drawing.Point(54, 46); 273 255 this.axisFontSizeComboBox.Name = "axisFontSizeComboBox"; 274 this.axisFontSizeComboBox.Size = new System.Drawing.Size(159, 21); 275 this.axisFontSizeComboBox.TabIndex = 4; 276 this.toolTip.SetToolTip(this.axisFontSizeComboBox, "The font size of the axis labels"); 256 this.axisFontSizeComboBox.Size = new System.Drawing.Size(84, 21); 257 this.axisFontSizeComboBox.TabIndex = 3; 277 258 this.axisFontSizeComboBox.TextChanged += new System.EventHandler(this.axisFontSizeComboBox_TextChanged); 278 259 this.axisFontSizeComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.numericComboBox_Validating); … … 280 261 // scalesFontSizeComboBox 281 262 // 282 this.scalesFontSizeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 283 | System.Windows.Forms.AnchorStyles.Right)));263 this.scalesFontSizeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 264 | System.Windows.Forms.AnchorStyles.Right))); 284 265 this.scalesFontSizeComboBox.FormattingEnabled = true; 285 266 this.scalesFontSizeComboBox.Items.AddRange(new object[] { … … 299 280 "36", 300 281 "72"}); 301 this.scalesFontSizeComboBox.Location = new System.Drawing.Point( 72, 73);282 this.scalesFontSizeComboBox.Location = new System.Drawing.Point(54, 73); 302 283 this.scalesFontSizeComboBox.Name = "scalesFontSizeComboBox"; 303 this.scalesFontSizeComboBox.Size = new System.Drawing.Size(159, 21); 304 this.scalesFontSizeComboBox.TabIndex = 7; 305 this.toolTip.SetToolTip(this.scalesFontSizeComboBox, "The font size of the scales"); 284 this.scalesFontSizeComboBox.Size = new System.Drawing.Size(84, 21); 285 this.scalesFontSizeComboBox.TabIndex = 5; 306 286 this.scalesFontSizeComboBox.TextChanged += new System.EventHandler(this.scalesFontSizeComboBox_TextChanged); 307 287 this.scalesFontSizeComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.numericComboBox_Validating); … … 310 290 // 311 291 this.cancelButton.DialogResult = System.Windows.Forms.DialogResult.Cancel; 312 this.cancelButton.Location = new System.Drawing.Point(222, 552);292 this.cancelButton.Location = new System.Drawing.Point(222, 487); 313 293 this.cancelButton.Name = "cancelButton"; 314 294 this.cancelButton.Size = new System.Drawing.Size(75, 23); 315 this.cancelButton.TabIndex = 0;295 this.cancelButton.TabIndex = 14; 316 296 this.cancelButton.Text = "Cancel"; 317 297 this.cancelButton.UseVisualStyleBackColor = true; … … 321 301 // 322 302 this.label9.AutoSize = true; 323 this.label9.Location = new System.Drawing.Point(6, 49);303 this.label9.Location = new System.Drawing.Point(6, 51); 324 304 this.label9.Name = "label9"; 325 305 this.label9.Size = new System.Drawing.Size(29, 13); 326 this.label9.TabIndex = 3;306 this.label9.TabIndex = 2; 327 307 this.label9.Text = "Axis:"; 328 308 // … … 333 313 this.label10.Name = "label10"; 334 314 this.label10.Size = new System.Drawing.Size(42, 13); 335 this.label10.TabIndex = 6;315 this.label10.TabIndex = 4; 336 316 this.label10.Text = "Scales:"; 337 317 // 338 318 // groupBox1 339 319 // 340 this.groupBox1.Controls.Add(this.showSecondaryYAxisCheckBox);341 this.groupBox1.Controls.Add(this.showSecondaryXAxisCheckBox);342 320 this.groupBox1.Controls.Add(this.secondaryXTextBox); 343 321 this.groupBox1.Controls.Add(this.secondaryYTextBox); 344 322 this.groupBox1.Controls.Add(this.label4); 345 323 this.groupBox1.Controls.Add(this.label3); 346 this.groupBox1.Location = new System.Drawing.Point(12, 221);324 this.groupBox1.Location = new System.Drawing.Point(12, 154); 347 325 this.groupBox1.Name = "groupBox1"; 348 326 this.groupBox1.Size = new System.Drawing.Size(258, 82); 349 this.groupBox1.TabIndex = 5;327 this.groupBox1.TabIndex = 3; 350 328 this.groupBox1.TabStop = false; 351 329 this.groupBox1.Text = "Secondary Axis"; 352 330 // 353 // showSecondaryYAxisCheckBox354 //355 this.showSecondaryYAxisCheckBox.AutoSize = true;356 this.showSecondaryYAxisCheckBox.Location = new System.Drawing.Point(237, 56);357 this.showSecondaryYAxisCheckBox.Name = "showSecondaryYAxisCheckBox";358 this.showSecondaryYAxisCheckBox.Size = new System.Drawing.Size(15, 14);359 this.showSecondaryYAxisCheckBox.TabIndex = 5;360 this.toolTip.SetToolTip(this.showSecondaryYAxisCheckBox, "Display");361 this.showSecondaryYAxisCheckBox.UseVisualStyleBackColor = true;362 this.showSecondaryYAxisCheckBox.CheckedChanged += new System.EventHandler(this.showSecondaryYAxisCheckBox_CheckedChanged);363 //364 // showSecondaryXAxisCheckBox365 //366 this.showSecondaryXAxisCheckBox.AutoSize = true;367 this.showSecondaryXAxisCheckBox.Location = new System.Drawing.Point(237, 30);368 this.showSecondaryXAxisCheckBox.Name = "showSecondaryXAxisCheckBox";369 this.showSecondaryXAxisCheckBox.Size = new System.Drawing.Size(15, 14);370 this.showSecondaryXAxisCheckBox.TabIndex = 2;371 this.toolTip.SetToolTip(this.showSecondaryXAxisCheckBox, "Display");372 this.showSecondaryXAxisCheckBox.UseVisualStyleBackColor = true;373 this.showSecondaryXAxisCheckBox.CheckedChanged += new System.EventHandler(this.showSecondaryXAxisCheckBox_CheckedChanged);374 //375 331 // groupBox2 376 332 // 377 this.groupBox2.Controls.Add(this.showPrimaryYAxisCheckBox);378 this.groupBox2.Controls.Add(this.showPrimaryXAxisCheckBox);379 333 this.groupBox2.Controls.Add(this.primaryXTextBox); 380 334 this.groupBox2.Controls.Add(this.primaryYTextBox); 381 335 this.groupBox2.Controls.Add(this.label14); 382 336 this.groupBox2.Controls.Add(this.label15); 383 this.groupBox2.Location = new System.Drawing.Point(12, 131);337 this.groupBox2.Location = new System.Drawing.Point(12, 64); 384 338 this.groupBox2.Name = "groupBox2"; 385 339 this.groupBox2.Size = new System.Drawing.Size(258, 84); 386 this.groupBox2.TabIndex = 4;340 this.groupBox2.TabIndex = 2; 387 341 this.groupBox2.TabStop = false; 388 342 this.groupBox2.Text = "Primary Axis"; 389 343 // 390 // showPrimaryYAxisCheckBox391 //392 this.showPrimaryYAxisCheckBox.AutoSize = true;393 this.showPrimaryYAxisCheckBox.Location = new System.Drawing.Point(237, 56);394 this.showPrimaryYAxisCheckBox.Name = "showPrimaryYAxisCheckBox";395 this.showPrimaryYAxisCheckBox.Size = new System.Drawing.Size(15, 14);396 this.showPrimaryYAxisCheckBox.TabIndex = 5;397 this.toolTip.SetToolTip(this.showPrimaryYAxisCheckBox, "Display");398 this.showPrimaryYAxisCheckBox.UseVisualStyleBackColor = true;399 this.showPrimaryYAxisCheckBox.CheckedChanged += new System.EventHandler(this.showPrimaryYAxisCheckBox_CheckedChanged);400 //401 // showPrimaryXAxisCheckBox402 //403 this.showPrimaryXAxisCheckBox.AutoSize = true;404 this.showPrimaryXAxisCheckBox.Location = new System.Drawing.Point(237, 30);405 this.showPrimaryXAxisCheckBox.Name = "showPrimaryXAxisCheckBox";406 this.showPrimaryXAxisCheckBox.Size = new System.Drawing.Size(15, 14);407 this.showPrimaryXAxisCheckBox.TabIndex = 2;408 this.toolTip.SetToolTip(this.showPrimaryXAxisCheckBox, "Display");409 this.showPrimaryXAxisCheckBox.UseVisualStyleBackColor = true;410 this.showPrimaryXAxisCheckBox.CheckedChanged += new System.EventHandler(this.showPrimaryXAxisCheckBox_CheckedChanged);411 //412 344 // primaryXTextBox 413 345 // 414 this.primaryXTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 415 | System.Windows.Forms.AnchorStyles.Right)));416 this.primaryXTextBox.Location = new System.Drawing.Point( 72, 27);346 this.primaryXTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 347 | System.Windows.Forms.AnchorStyles.Right))); 348 this.primaryXTextBox.Location = new System.Drawing.Point(49, 27); 417 349 this.primaryXTextBox.Name = "primaryXTextBox"; 418 this.primaryXTextBox.Size = new System.Drawing.Size( 159, 20);350 this.primaryXTextBox.Size = new System.Drawing.Size(203, 20); 419 351 this.primaryXTextBox.TabIndex = 1; 420 this.toolTip.SetToolTip(this.primaryXTextBox, "Label of the primary x-axis");421 352 this.primaryXTextBox.TextChanged += new System.EventHandler(this.primaryXTextBox_TextChanged); 422 353 // 423 354 // primaryYTextBox 424 355 // 425 this.primaryYTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 426 | System.Windows.Forms.AnchorStyles.Right)));427 this.primaryYTextBox.Location = new System.Drawing.Point( 72, 53);356 this.primaryYTextBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 357 | System.Windows.Forms.AnchorStyles.Right))); 358 this.primaryYTextBox.Location = new System.Drawing.Point(49, 53); 428 359 this.primaryYTextBox.Name = "primaryYTextBox"; 429 this.primaryYTextBox.Size = new System.Drawing.Size(159, 20); 430 this.primaryYTextBox.TabIndex = 4; 431 this.toolTip.SetToolTip(this.primaryYTextBox, "Label of the primary y-axis"); 360 this.primaryYTextBox.Size = new System.Drawing.Size(203, 20); 361 this.primaryYTextBox.TabIndex = 3; 432 362 this.primaryYTextBox.TextChanged += new System.EventHandler(this.primaryYTextBox_TextChanged); 433 363 // … … 437 367 this.label14.Location = new System.Drawing.Point(6, 56); 438 368 this.label14.Name = "label14"; 439 this.label14.Size = new System.Drawing.Size( 46, 13);440 this.label14.TabIndex = 3;441 this.label14.Text = "Y Label:";369 this.label14.Size = new System.Drawing.Size(17, 13); 370 this.label14.TabIndex = 2; 371 this.label14.Text = "Y:"; 442 372 // 443 373 // label15 … … 446 376 this.label15.Location = new System.Drawing.Point(6, 30); 447 377 this.label15.Name = "label15"; 448 this.label15.Size = new System.Drawing.Size( 46, 13);378 this.label15.Size = new System.Drawing.Size(17, 13); 449 379 this.label15.TabIndex = 0; 450 this.label15.Text = "X Label:";380 this.label15.Text = "X:"; 451 381 // 452 382 // groupBox3 … … 464 394 this.groupBox3.Controls.Add(this.axisFontSizeComboBox); 465 395 this.groupBox3.Controls.Add(this.titleFontSizeComboBox); 466 this.groupBox3.Location = new System.Drawing.Point(12, 309);396 this.groupBox3.Location = new System.Drawing.Point(12, 242); 467 397 this.groupBox3.Name = "groupBox3"; 468 398 this.groupBox3.Size = new System.Drawing.Size(258, 131); 469 this.groupBox3.TabIndex = 6;399 this.groupBox3.TabIndex = 4; 470 400 this.groupBox3.TabStop = false; 471 401 this.groupBox3.Text = "Font Size"; … … 474 404 // 475 405 this.label18.AutoSize = true; 476 this.label18.Location = new System.Drawing.Point( 234, 105);406 this.label18.Location = new System.Drawing.Point(144, 105); 477 407 this.label18.Name = "label18"; 478 408 this.label18.Size = new System.Drawing.Size(16, 13); 479 this.label18.TabIndex = 11;409 this.label18.TabIndex = 0; 480 410 this.label18.Text = "pt"; 481 411 // … … 483 413 // 484 414 this.label12.AutoSize = true; 485 this.label12.Location = new System.Drawing.Point( 234, 78);415 this.label12.Location = new System.Drawing.Point(144, 78); 486 416 this.label12.Name = "label12"; 487 417 this.label12.Size = new System.Drawing.Size(16, 13); 488 this.label12.TabIndex = 8;418 this.label12.TabIndex = 0; 489 419 this.label12.Text = "pt"; 490 420 // … … 492 422 // 493 423 this.label11.AutoSize = true; 494 this.label11.Location = new System.Drawing.Point( 234, 49);424 this.label11.Location = new System.Drawing.Point(144, 51); 495 425 this.label11.Name = "label11"; 496 426 this.label11.Size = new System.Drawing.Size(16, 13); 497 this.label11.TabIndex = 5;427 this.label11.TabIndex = 0; 498 428 this.label11.Text = "pt"; 499 429 // … … 501 431 // 502 432 this.label7.AutoSize = true; 503 this.label7.Location = new System.Drawing.Point( 234, 22);433 this.label7.Location = new System.Drawing.Point(144, 22); 504 434 this.label7.Name = "label7"; 505 435 this.label7.Size = new System.Drawing.Size(16, 13); 506 this.label7.TabIndex = 2;436 this.label7.TabIndex = 0; 507 437 this.label7.Text = "pt"; 508 438 // 509 439 // legendFontSizeComboBox 510 440 // 511 this.legendFontSizeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 512 | System.Windows.Forms.AnchorStyles.Right)));441 this.legendFontSizeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 442 | System.Windows.Forms.AnchorStyles.Right))); 513 443 this.legendFontSizeComboBox.FormattingEnabled = true; 514 444 this.legendFontSizeComboBox.Items.AddRange(new object[] { … … 528 458 "36", 529 459 "72"}); 530 this.legendFontSizeComboBox.Location = new System.Drawing.Point( 72, 100);460 this.legendFontSizeComboBox.Location = new System.Drawing.Point(54, 100); 531 461 this.legendFontSizeComboBox.Name = "legendFontSizeComboBox"; 532 this.legendFontSizeComboBox.Size = new System.Drawing.Size(159, 21); 533 this.legendFontSizeComboBox.TabIndex = 10; 534 this.toolTip.SetToolTip(this.legendFontSizeComboBox, "The font size of the legend text"); 462 this.legendFontSizeComboBox.Size = new System.Drawing.Size(84, 21); 463 this.legendFontSizeComboBox.TabIndex = 5; 535 464 this.legendFontSizeComboBox.TextChanged += new System.EventHandler(this.legendFontSizeComboBox_TextChanged); 536 465 this.legendFontSizeComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.numericComboBox_Validating); … … 542 471 this.label17.Name = "label17"; 543 472 this.label17.Size = new System.Drawing.Size(46, 13); 544 this.label17.TabIndex = 9;473 this.label17.TabIndex = 4; 545 474 this.label17.Text = "Legend:"; 546 475 // 547 476 // titleFontSizeComboBox 548 477 // 549 this.titleFontSizeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 550 | System.Windows.Forms.AnchorStyles.Right)));478 this.titleFontSizeComboBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Left) 479 | System.Windows.Forms.AnchorStyles.Right))); 551 480 this.titleFontSizeComboBox.FormattingEnabled = true; 552 481 this.titleFontSizeComboBox.Items.AddRange(new object[] { … … 562 491 "36", 563 492 "72"}); 564 this.titleFontSizeComboBox.Location = new System.Drawing.Point( 72, 19);493 this.titleFontSizeComboBox.Location = new System.Drawing.Point(54, 19); 565 494 this.titleFontSizeComboBox.Name = "titleFontSizeComboBox"; 566 this.titleFontSizeComboBox.Size = new System.Drawing.Size( 159, 21);495 this.titleFontSizeComboBox.Size = new System.Drawing.Size(84, 21); 567 496 this.titleFontSizeComboBox.TabIndex = 1; 568 this.toolTip.SetToolTip(this.titleFontSizeComboBox, "The font size of the title text");569 497 this.titleFontSizeComboBox.TextChanged += new System.EventHandler(this.titleFontSizeComboBox_TextChanged); 570 498 this.titleFontSizeComboBox.Validating += new System.ComponentModel.CancelEventHandler(this.numericComboBox_Validating); … … 573 501 // 574 502 this.label16.AutoSize = true; 575 this.label16.Location = new System.Drawing.Point(1 8, 505);503 this.label16.Location = new System.Drawing.Point(10, 438); 576 504 this.label16.Name = "label16"; 577 505 this.label16.Size = new System.Drawing.Size(41, 13); 578 this.label16.TabIndex = 1 2;506 this.label16.TabIndex = 10; 579 507 this.label16.Text = "Height:"; 580 508 // … … 587 515 0, 588 516 65536}); 589 this.heightNumericUD.Location = new System.Drawing.Point( 84, 503);517 this.heightNumericUD.Location = new System.Drawing.Point(76, 436); 590 518 this.heightNumericUD.Minimum = new decimal(new int[] { 591 519 1, … … 594 522 65536}); 595 523 this.heightNumericUD.Name = "heightNumericUD"; 596 this.heightNumericUD.Size = new System.Drawing.Size( 83, 20);597 this.heightNumericUD.TabIndex = 1 3;524 this.heightNumericUD.Size = new System.Drawing.Size(75, 20); 525 this.heightNumericUD.TabIndex = 11; 598 526 this.heightNumericUD.Value = new decimal(new int[] { 599 6,527 8, 600 528 0, 601 529 0, … … 612 540 // splitContainer.Panel1 613 541 // 614 this.splitContainer.Panel1.Controls.Add(this.legendGroupBox);615 542 this.splitContainer.Panel1.Controls.Add(this.chartAreaComboBox); 616 543 this.splitContainer.Panel1.Controls.Add(this.togglePreviewCheckBox); … … 637 564 this.splitContainer.Panel2.Controls.Add(this.rawImageSizeLabel); 638 565 this.splitContainer.Panel2.Controls.Add(this.previewZoomLabel); 639 this.splitContainer.Size = new System.Drawing.Size(793, 542);566 this.splitContainer.Size = new System.Drawing.Size(793, 478); 640 567 this.splitContainer.SplitterDistance = 300; 641 568 this.splitContainer.SplitterWidth = 1; 642 this.splitContainer.TabIndex = 1; 643 // 644 // legendGroupBox 645 // 646 this.legendGroupBox.Controls.Add(this.label20); 647 this.legendGroupBox.Controls.Add(this.legendPositionComboBox); 648 this.legendGroupBox.Location = new System.Drawing.Point(12, 64); 649 this.legendGroupBox.Name = "legendGroupBox"; 650 this.legendGroupBox.Size = new System.Drawing.Size(258, 61); 651 this.legendGroupBox.TabIndex = 17; 652 this.legendGroupBox.TabStop = false; 653 this.legendGroupBox.Text = "Legend"; 654 // 655 // label20 656 // 657 this.label20.AutoSize = true; 658 this.label20.Location = new System.Drawing.Point(6, 27); 659 this.label20.Name = "label20"; 660 this.label20.Size = new System.Drawing.Size(47, 13); 661 this.label20.TabIndex = 0; 662 this.label20.Text = "Position:"; 663 // 664 // legendPositionComboBox 665 // 666 this.legendPositionComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 667 this.legendPositionComboBox.FormattingEnabled = true; 668 this.legendPositionComboBox.Items.AddRange(new object[] { 669 "Top", 670 "Right", 671 "Bottom", 672 "Left", 673 "Hidden"}); 674 this.legendPositionComboBox.Location = new System.Drawing.Point(72, 24); 675 this.legendPositionComboBox.Name = "legendPositionComboBox"; 676 this.legendPositionComboBox.Size = new System.Drawing.Size(159, 21); 677 this.legendPositionComboBox.TabIndex = 3; 678 this.legendPositionComboBox.SelectedIndexChanged += new System.EventHandler(this.legendPositionComboBox_SelectedIndexChanged); 569 this.splitContainer.TabIndex = 15; 679 570 // 680 571 // chartAreaComboBox … … 682 573 this.chartAreaComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 683 574 this.chartAreaComboBox.FormattingEnabled = true; 684 this.chartAreaComboBox.Location = new System.Drawing.Point( 84, 37);575 this.chartAreaComboBox.Location = new System.Drawing.Point(76, 37); 685 576 this.chartAreaComboBox.Name = "chartAreaComboBox"; 686 this.chartAreaComboBox.Size = new System.Drawing.Size(159, 21); 687 this.chartAreaComboBox.TabIndex = 3; 688 this.toolTip.SetToolTip(this.chartAreaComboBox, "Select the chart area in case there are multiple."); 577 this.chartAreaComboBox.Size = new System.Drawing.Size(189, 21); 578 this.chartAreaComboBox.TabIndex = 17; 689 579 this.chartAreaComboBox.SelectedIndexChanged += new System.EventHandler(this.chartAreaComboBox_SelectedIndexChanged); 690 580 // 691 581 // togglePreviewCheckBox 692 582 // 693 this.togglePreviewCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 694 | System.Windows.Forms.AnchorStyles.Left)));583 this.togglePreviewCheckBox.Anchor = ((System.Windows.Forms.AnchorStyles)(((System.Windows.Forms.AnchorStyles.Top | System.Windows.Forms.AnchorStyles.Bottom) 584 | System.Windows.Forms.AnchorStyles.Left))); 695 585 this.togglePreviewCheckBox.Appearance = System.Windows.Forms.Appearance.Button; 696 586 this.togglePreviewCheckBox.FlatStyle = System.Windows.Forms.FlatStyle.Flat; 697 587 this.togglePreviewCheckBox.Location = new System.Drawing.Point(277, 3); 698 588 this.togglePreviewCheckBox.Name = "togglePreviewCheckBox"; 699 this.togglePreviewCheckBox.Size = new System.Drawing.Size(20, 536);589 this.togglePreviewCheckBox.Size = new System.Drawing.Size(20, 472); 700 590 this.togglePreviewCheckBox.TabIndex = 16; 701 591 this.togglePreviewCheckBox.Text = ">"; 702 this.toolTip.SetToolTip(this.togglePreviewCheckBox, "Show or hide the preview pane");703 592 this.togglePreviewCheckBox.UseVisualStyleBackColor = true; 704 593 this.togglePreviewCheckBox.CheckedChanged += new System.EventHandler(this.togglePreviewCheckBox_CheckedChanged); … … 708 597 this.lengthUnitComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 709 598 this.lengthUnitComboBox.FormattingEnabled = true; 710 this.lengthUnitComboBox.Location = new System.Drawing.Point(1 73, 489);599 this.lengthUnitComboBox.Location = new System.Drawing.Point(157, 422); 711 600 this.lengthUnitComboBox.Name = "lengthUnitComboBox"; 712 this.lengthUnitComboBox.Size = new System.Drawing.Size( 70, 21);713 this.lengthUnitComboBox.TabIndex = 14;601 this.lengthUnitComboBox.Size = new System.Drawing.Size(108, 21); 602 this.lengthUnitComboBox.TabIndex = 6; 714 603 this.lengthUnitComboBox.SelectedIndexChanged += new System.EventHandler(this.lengthUnitComboBox_SelectedIndexChanged); 715 604 // … … 718 607 this.resolutionUnitComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList; 719 608 this.resolutionUnitComboBox.FormattingEnabled = true; 720 this.resolutionUnitComboBox.Location = new System.Drawing.Point(1 73, 450);609 this.resolutionUnitComboBox.Location = new System.Drawing.Point(157, 383); 721 610 this.resolutionUnitComboBox.Name = "resolutionUnitComboBox"; 722 this.resolutionUnitComboBox.Size = new System.Drawing.Size( 70, 21);723 this.resolutionUnitComboBox.TabIndex = 9;611 this.resolutionUnitComboBox.Size = new System.Drawing.Size(108, 21); 612 this.resolutionUnitComboBox.TabIndex = 6; 724 613 this.resolutionUnitComboBox.SelectedIndexChanged += new System.EventHandler(this.resolutionUnitComboBox_SelectedIndexChanged); 725 614 // … … 727 616 // 728 617 this.label8.AutoSize = true; 729 this.label8.Location = new System.Drawing.Point(1 8, 40);618 this.label8.Location = new System.Drawing.Point(10, 40); 730 619 this.label8.Name = "label8"; 731 this.label8.Size = new System.Drawing.Size( 32, 13);732 this.label8.TabIndex = 2;733 this.label8.Text = " Area:";620 this.label8.Size = new System.Drawing.Size(60, 13); 621 this.label8.TabIndex = 0; 622 this.label8.Text = "Chart Area:"; 734 623 // 735 624 // previewPictureBox … … 737 626 this.previewPictureBox.Location = new System.Drawing.Point(0, 3); 738 627 this.previewPictureBox.Name = "previewPictureBox"; 739 this.previewPictureBox.Size = new System.Drawing.Size(492, 520);628 this.previewPictureBox.Size = new System.Drawing.Size(492, 453); 740 629 this.previewPictureBox.SizeMode = System.Windows.Forms.PictureBoxSizeMode.CenterImage; 741 630 this.previewPictureBox.TabIndex = 0; 742 631 this.previewPictureBox.TabStop = false; 743 632 // 633 // label13 634 // 635 this.label13.AutoSize = true; 636 this.label13.Location = new System.Drawing.Point(3, 459); 637 this.label13.Name = "label13"; 638 this.label13.Size = new System.Drawing.Size(37, 13); 639 this.label13.TabIndex = 10; 640 this.label13.Text = "Zoom:"; 641 // 642 // previewZoomLabel 643 // 644 this.previewZoomLabel.AutoSize = true; 645 this.previewZoomLabel.Location = new System.Drawing.Point(46, 459); 646 this.previewZoomLabel.Name = "previewZoomLabel"; 647 this.previewZoomLabel.Size = new System.Drawing.Size(33, 13); 648 this.previewZoomLabel.TabIndex = 10; 649 this.previewZoomLabel.Text = "100%"; 650 // 651 // saveFileDialog 652 // 653 this.saveFileDialog.Filter = "Bitmap (*.bmp)|*.bmp|JPEG (*.jpg)|*.jpg|EMF (*.emf)|*.emf|PNG (*.png)|*.png|GIF (" + 654 "*.gif)|*.gif|TIFF (*.tif)|*.tif\""; 655 this.saveFileDialog.FilterIndex = 2; 656 // 744 657 // label19 745 658 // 746 659 this.label19.AutoSize = true; 747 this.label19.Location = new System.Drawing.Point(8 4, 526);660 this.label19.Location = new System.Drawing.Point(85, 459); 748 661 this.label19.Name = "label19"; 749 662 this.label19.Size = new System.Drawing.Size(84, 13); … … 751 664 this.label19.Text = "Raw image size:"; 752 665 // 753 // label13754 //755 this.label13.AutoSize = true;756 this.label13.Location = new System.Drawing.Point(2, 526);757 this.label13.Name = "label13";758 this.label13.Size = new System.Drawing.Size(37, 13);759 this.label13.TabIndex = 10;760 this.label13.Text = "Zoom:";761 //762 666 // rawImageSizeLabel 763 667 // 764 668 this.rawImageSizeLabel.AutoSize = true; 765 this.rawImageSizeLabel.Location = new System.Drawing.Point(17 4, 526);669 this.rawImageSizeLabel.Location = new System.Drawing.Point(175, 459); 766 670 this.rawImageSizeLabel.Name = "rawImageSizeLabel"; 767 671 this.rawImageSizeLabel.Size = new System.Drawing.Size(37, 13); … … 769 673 this.rawImageSizeLabel.Text = "0.00M"; 770 674 // 771 // previewZoomLabel772 //773 this.previewZoomLabel.AutoSize = true;774 this.previewZoomLabel.Location = new System.Drawing.Point(45, 526);775 this.previewZoomLabel.Name = "previewZoomLabel";776 this.previewZoomLabel.Size = new System.Drawing.Size(33, 13);777 this.previewZoomLabel.TabIndex = 10;778 this.previewZoomLabel.Text = "100%";779 //780 // saveFileDialog781 //782 this.saveFileDialog.Filter = "Bitmap (*.bmp)|*.bmp|JPEG (*.jpg)|*.jpg|EMF (*.emf)|*.emf|PNG (*.png)|*.png|GIF (" +783 "*.gif)|*.gif|TIFF (*.tif)|*.tif\"";784 this.saveFileDialog.FilterIndex = 2;785 //786 675 // ImageExportDialog 787 676 // 788 677 this.AcceptButton = this.okButton; 678 this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F); 789 679 this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Inherit; 790 680 this.CancelButton = this.cancelButton; 791 this.ClientSize = new System.Drawing.Size(794, 5 87);681 this.ClientSize = new System.Drawing.Size(794, 522); 792 682 this.ControlBox = false; 793 683 this.Controls.Add(this.splitContainer); … … 813 703 ((System.ComponentModel.ISupportInitialize)(this.splitContainer)).EndInit(); 814 704 this.splitContainer.ResumeLayout(false); 815 this.legendGroupBox.ResumeLayout(false);816 this.legendGroupBox.PerformLayout();817 705 ((System.ComponentModel.ISupportInitialize)(this.previewPictureBox)).EndInit(); 818 706 this.ResumeLayout(false); … … 867 755 private System.Windows.Forms.Label label19; 868 756 private System.Windows.Forms.Label rawImageSizeLabel; 869 private System.Windows.Forms.CheckBox showSecondaryYAxisCheckBox;870 private System.Windows.Forms.CheckBox showSecondaryXAxisCheckBox;871 private System.Windows.Forms.CheckBox showPrimaryYAxisCheckBox;872 private System.Windows.Forms.CheckBox showPrimaryXAxisCheckBox;873 private System.Windows.Forms.ToolTip toolTip;874 private System.Windows.Forms.GroupBox legendGroupBox;875 private System.Windows.Forms.Label label20;876 private System.Windows.Forms.ComboBox legendPositionComboBox;877 757 } 878 758 } -
branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/ImageExportDialog.cs
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 25 25 using System.Drawing.Imaging; 26 26 using System.IO; 27 using System.Linq;28 27 using System.Windows.Forms; 29 28 using System.Windows.Forms.DataVisualization.Charting; … … 59 58 else lengthUnitComboBox.SelectedIndex = 0; 60 59 61 titleFontSizeComboBox.Text = "1 0";60 titleFontSizeComboBox.Text = "12"; 62 61 axisFontSizeComboBox.Text = "8"; 63 62 scalesFontSizeComboBox.Text = "6"; 64 63 legendFontSizeComboBox.Text = "6"; 65 resolutionComboBox.Text = " 150";64 resolutionComboBox.Text = "300"; 66 65 SuppressEvents = false; 67 66 splitContainer.Panel2Collapsed = true; 68 67 Width = 305; 69 Height = 625; 70 } 71 finally { SuppressEvents = false; } 68 Height = 550; 69 } finally { SuppressEvents = false; } 72 70 #endregion 73 71 } 74 72 75 73 private void UpdateFields() { 76 vararea = GetCurrentChartArea();74 ChartArea area = GetCurrentChartArea(); 77 75 78 76 try { 79 77 SuppressEvents = true; 80 78 81 if (workingChart.Titles.Count == 0) titleFontSizeComboBox.Text = "1 0";79 if (workingChart.Titles.Count == 0) titleFontSizeComboBox.Text = "12"; 82 80 else { 83 81 titleTextBox.Text = workingChart.Titles[0].Text; … … 92 90 axisFontSizeComboBox.Text = area.AxisX.TitleFont.SizeInPoints.ToString(); 93 91 scalesFontSizeComboBox.Text = area.AxisX.LabelStyle.Font.SizeInPoints.ToString(); 94 if (workingChart.Legends.Count == 0) legendFontSizeComboBox.Text = " 6";92 if (workingChart.Legends.Count == 0) legendFontSizeComboBox.Text = "8"; 95 93 else legendFontSizeComboBox.Text = workingChart.Legends[0].Font.SizeInPoints.ToString(); 96 } 97 finally { 94 } finally { 98 95 SuppressEvents = false; 99 96 } … … 124 121 } 125 122 126 varscaleFactor = (float)Math.Min(previewWidth / width, previewHeight / height);123 float scaleFactor = (float)Math.Min(previewWidth / width, previewHeight / height); 127 124 if (scaleFactor >= 1) { 128 125 previewZoomLabel.Text = "100%"; … … 132 129 rawImageSizeLabel.Text = GetRawImageSizeInMegabytes(width, height).ToString("0.00") + "M " + "(" + Math.Round(width).ToString("0") + " x " + Math.Round(height).ToString("0") + ") pixels"; 133 130 134 varimage = new Bitmap(previewWidth, previewHeight);131 Bitmap image = new Bitmap(previewWidth, previewHeight); 135 132 image.SetResolution(dpi, dpi); 136 133 using (Graphics graphics = Graphics.FromImage(image)) { … … 158 155 originalChart.Serializer.Content = SerializationContents.Default; 159 156 originalChart.Serializer.Format = SerializationFormat.Binary; 160 using (var ms = new MemoryStream()) { 161 originalChart.Serializer.Save(ms); 162 163 ms.Seek(0, SeekOrigin.Begin); 164 workingChart = new EnhancedChart(); 165 workingChart.Serializer.Format = originalChart.Serializer.Format; 166 workingChart.Serializer.Load(ms); 167 } 168 169 foreach (var s in workingChart.Series.Where(x => !x.Points.Any()).ToArray()) 170 s.IsVisibleInLegend = false; 157 MemoryStream ms = new MemoryStream(); 158 originalChart.Serializer.Save(ms); 159 160 ms.Seek(0, SeekOrigin.Begin); 161 workingChart = new EnhancedChart(); 162 workingChart.Serializer.Format = originalChart.Serializer.Format; 163 workingChart.Serializer.Load(ms); 164 ms.Close(); 171 165 172 166 originalChart.Serializer.Content = prevContent; … … 175 169 176 170 chartAreaComboBox.Items.Clear(); 177 foreach ( vararea in originalChart.ChartAreas) {171 foreach (ChartArea area in originalChart.ChartAreas) { 178 172 chartAreaComboBox.Items.Add(area.Name); 179 173 } 180 174 chartAreaComboBox.SelectedIndex = 0; 181 SuppressEvents = true;182 try {183 showPrimaryXAxisCheckBox.Checked = originalChart.Series.Any(x => x.XAxisType == AxisType.Primary);184 showPrimaryYAxisCheckBox.Checked = originalChart.Series.Any(x => x.YAxisType == AxisType.Primary);185 showSecondaryXAxisCheckBox.Checked = originalChart.Series.Any(x => x.XAxisType == AxisType.Secondary);186 showSecondaryYAxisCheckBox.Checked = originalChart.Series.Any(x => x.YAxisType == AxisType.Secondary);187 188 if (!workingChart.Legends.Any()) {189 legendPositionComboBox.Enabled = false;190 legendFontSizeComboBox.Enabled = false;191 } else {192 legendPositionComboBox.Enabled = true;193 legendFontSizeComboBox.Enabled = true;194 if (workingChart.Legends[0].Enabled) {195 switch (workingChart.Legends[0].Docking) {196 case Docking.Top:197 legendPositionComboBox.SelectedItem = "Top";198 break;199 case Docking.Right:200 legendPositionComboBox.SelectedItem = "Right";201 break;202 case Docking.Bottom:203 legendPositionComboBox.SelectedItem = "Bottom";204 break;205 case Docking.Left:206 legendPositionComboBox.SelectedItem = "Left";207 break;208 }209 } else {210 legendPositionComboBox.SelectedItem = "Hidden";211 }212 }213 }214 finally { SuppressEvents = false; }215 175 base.OnShown(e); 216 176 … … 233 193 } 234 194 235 private void legendPositionComboBox_SelectedIndexChanged(object sender, EventArgs e) {236 if (!SuppressEvents) {237 if (legendPositionComboBox.SelectedIndex >= 0) {238 var legend = workingChart.Legends[0];239 var legendPosition = legendPositionComboBox.Items[legendPositionComboBox.SelectedIndex].ToString();240 if (legendPosition != "Hidden" && !legend.Enabled)241 legend.Enabled = true;242 switch (legendPosition) {243 case "Top":244 legend.Docking = Docking.Top;245 break;246 case "Right":247 legend.Docking = Docking.Right;248 break;249 case "Bottom":250 legend.Docking = Docking.Bottom;251 break;252 case "Left":253 legend.Docking = Docking.Left;254 break;255 case "Hidden":256 legend.Enabled = false;257 break;258 }259 }260 UpdatePreview();261 }262 }263 264 195 private void titleTextBox_TextChanged(object sender, EventArgs e) { 265 196 if (!SuppressEvents) { 266 if (string.IsNullOrEmpty(titleTextBox.Text)) 267 workingChart.Titles.Clear(); 268 else { 269 if (workingChart.Titles.Count > 0) { 270 workingChart.Titles[0].Text = titleTextBox.Text; 271 } else { 272 var t = new Title(titleTextBox.Text); 273 t.Font = ChangeFontSizePt(t.Font, float.Parse(titleFontSizeComboBox.Text)); 274 workingChart.Titles.Add(t); 275 } 197 if (workingChart.Titles.Count > 0) { 198 workingChart.Titles[0].Text = titleTextBox.Text; 199 } else { 200 Title t = new Title(titleTextBox.Text); 201 t.Font = ChangeFontSizePt(t.Font, float.Parse(titleFontSizeComboBox.Text)); 202 workingChart.Titles.Add(t); 276 203 } 277 204 if (togglePreviewCheckBox.Checked) UpdatePreview(); … … 281 208 private void primaryXTextBox_TextChanged(object sender, EventArgs e) { 282 209 if (!SuppressEvents) { 283 vararea = GetCurrentChartArea();210 ChartArea area = GetCurrentChartArea(); 284 211 area.AxisX.Title = primaryXTextBox.Text; 285 212 if (togglePreviewCheckBox.Checked) UpdatePreview(); … … 289 216 private void primaryYTextBox_TextChanged(object sender, EventArgs e) { 290 217 if (!SuppressEvents) { 291 vararea = GetCurrentChartArea();218 ChartArea area = GetCurrentChartArea(); 292 219 area.AxisY.Title = primaryYTextBox.Text; 293 220 if (togglePreviewCheckBox.Checked) UpdatePreview(); … … 297 224 private void secondaryXTextBox_TextChanged(object sender, EventArgs e) { 298 225 if (!SuppressEvents) { 299 vararea = GetCurrentChartArea();226 ChartArea area = GetCurrentChartArea(); 300 227 area.AxisX2.Title = secondaryXTextBox.Text; 301 228 if (togglePreviewCheckBox.Checked) UpdatePreview(); … … 305 232 private void secondaryYTextBox_TextChanged(object sender, EventArgs e) { 306 233 if (!SuppressEvents) { 307 vararea = GetCurrentChartArea();234 ChartArea area = GetCurrentChartArea(); 308 235 area.AxisY2.Title = secondaryYTextBox.Text; 309 if (togglePreviewCheckBox.Checked) UpdatePreview();310 }311 }312 313 private void showPrimaryXAxisCheckBox_CheckedChanged(object sender, EventArgs e) {314 if (!SuppressEvents) {315 var area = GetCurrentChartArea();316 var isChecked = ((CheckBox)sender).Checked;317 area.AxisX.Enabled = isChecked ? AxisEnabled.True : AxisEnabled.False;318 if (togglePreviewCheckBox.Checked) UpdatePreview();319 }320 }321 322 private void showPrimaryYAxisCheckBox_CheckedChanged(object sender, EventArgs e) {323 if (!SuppressEvents) {324 var area = GetCurrentChartArea();325 var isChecked = ((CheckBox)sender).Checked;326 area.AxisY.Enabled = isChecked ? AxisEnabled.True : AxisEnabled.False;327 if (togglePreviewCheckBox.Checked) UpdatePreview();328 }329 }330 331 private void showSecondaryXAxisCheckBox_CheckedChanged(object sender, EventArgs e) {332 if (!SuppressEvents) {333 var area = GetCurrentChartArea();334 var isChecked = ((CheckBox)sender).Checked;335 area.AxisX2.Enabled = isChecked ? AxisEnabled.True : AxisEnabled.False;336 if (togglePreviewCheckBox.Checked) UpdatePreview();337 }338 }339 340 private void showSecondaryYAxisCheckBox_CheckedChanged(object sender, EventArgs e) {341 if (!SuppressEvents) {342 var area = GetCurrentChartArea();343 var isChecked = ((CheckBox)sender).Checked;344 area.AxisY2.Enabled = isChecked ? AxisEnabled.True : AxisEnabled.False;345 236 if (togglePreviewCheckBox.Checked) UpdatePreview(); 346 237 } … … 379 270 float fontSize; 380 271 if (float.TryParse(axisFontSizeComboBox.Text, out fontSize)) { 381 vararea = GetCurrentChartArea();382 foreach (Axis a in area.Axes) 272 ChartArea area = GetCurrentChartArea(); 273 foreach (Axis a in area.Axes) { 383 274 a.TitleFont = ChangeFontSizePt(a.TitleFont, fontSize); 275 } 384 276 } 385 277 if (togglePreviewCheckBox.Checked) UpdatePreview(); … … 391 283 float fontSize; 392 284 if (float.TryParse(scalesFontSizeComboBox.Text, out fontSize)) { 393 vararea = GetCurrentChartArea();394 foreach ( var a in area.Axes)285 ChartArea area = GetCurrentChartArea(); 286 foreach (Axis a in area.Axes) { 395 287 a.LabelStyle.Font = ChangeFontSizePt(a.LabelStyle.Font, fontSize); 288 } 396 289 } 397 290 if (togglePreviewCheckBox.Checked) UpdatePreview(); … … 403 296 float fontSize; 404 297 if (float.TryParse(legendFontSizeComboBox.Text, out fontSize)) { 405 foreach ( var l in workingChart.Legends)298 foreach (Legend l in workingChart.Legends) { 406 299 l.Font = ChangeFontSizePt(l.Font, fontSize); 300 } 407 301 } 408 302 if (togglePreviewCheckBox.Checked) UpdatePreview(); … … 441 335 float height; 442 336 GetImageParameters(out dpi, out width, out height); 443 var image = new Bitmap((int)Math.Round(width), (int)Math.Round(height)); 337 338 Bitmap image = new Bitmap((int)Math.Round(width), (int)Math.Round(height)); 444 339 image.SetResolution(dpi, dpi); 340 using (Graphics graphics = Graphics.FromImage(image)) { 341 workingChart.Printing.PrintPaint(graphics, new Rectangle(0, 0, image.Width, image.Height)); 342 } 343 445 344 if (titleTextBox.Text.Trim() != String.Empty) saveFileDialog.FileName = titleTextBox.Text.Trim(); 446 345 if (saveFileDialog.ShowDialog() == DialogResult.OK) { 447 var format = ImageFormat.Bmp; 448 var filename = saveFileDialog.FileName.ToLower(); 449 if (filename.EndsWith("emf")) { 450 using (var graphics = Graphics.FromImage(image)) { 451 var rectangle = new Rectangle(0, 0, image.Width, image.Height); 452 using (var metafile = new Metafile(filename, graphics.GetHdc(), rectangle, MetafileFrameUnit.Pixel, EmfType.EmfPlusDual)) { 453 graphics.ReleaseHdc(); 454 using (var g = Graphics.FromImage(metafile)) { 455 workingChart.Printing.PrintPaint(g, rectangle); 456 } 457 } 458 } 459 } else { 460 using (var graphics = Graphics.FromImage(image)) { 461 workingChart.Printing.PrintPaint(graphics, new Rectangle(0, 0, image.Width, image.Height)); 462 } 463 if (filename.EndsWith("jpg")) { 464 format = ImageFormat.Jpeg; 465 } else if (filename.EndsWith("gif")) { 466 format = ImageFormat.Gif; 467 } else if (filename.EndsWith("png")) { 468 format = ImageFormat.Png; 469 } else if (filename.EndsWith("tif")) { 470 format = ImageFormat.Tiff; 471 } 472 image.Save(saveFileDialog.FileName, format); 473 } 474 } 346 ImageFormat format = ImageFormat.Bmp; 347 string filename = saveFileDialog.FileName.ToLower(); 348 if (filename.EndsWith("jpg")) { 349 format = ImageFormat.Jpeg; 350 } else if (filename.EndsWith("emf")) { 351 format = ImageFormat.Emf; 352 } else if (filename.EndsWith("gif")) { 353 format = ImageFormat.Gif; 354 } else if (filename.EndsWith("png")) { 355 format = ImageFormat.Png; 356 } else if (filename.EndsWith("tif")) { 357 format = ImageFormat.Tiff; 358 } 359 image.Save(saveFileDialog.FileName, format); 360 } 361 475 362 image.Dispose(); 363 476 364 Cleanup(); 477 365 } -
branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/Plugin.cs.frame
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 26 26 /// Plugin class for HeuristicLab.Visualization.ChartControlsExtensions plugin 27 27 /// </summary> 28 [Plugin("HeuristicLab.Visualization.ChartControlsExtensions", "3.3. 10.$WCREV$")]28 [Plugin("HeuristicLab.Visualization.ChartControlsExtensions", "3.3.7.$WCREV$")] 29 29 [PluginFile("HeuristicLab.Visualization.ChartControlsExtensions-3.3.dll", PluginFileType.Assembly)] 30 30 public class HeuristicLabVisualizationChartControlsExtensionsPlugin : PluginBase { } -
branches/HiveStatistics/sources/HeuristicLab.Visualization.ChartControlsExtensions/3.3/Properties/AssemblyInfo.cs.frame
r11202 r11203 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 4Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2012 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 32 32 [assembly: AssemblyCompany("")] 33 33 [assembly: AssemblyProduct("HeuristicLab")] 34 [assembly: AssemblyCopyright("(c) 2002-201 4HEAL")]34 [assembly: AssemblyCopyright("(c) 2002-2012 HEAL")] 35 35 [assembly: AssemblyTrademark("")] 36 36 [assembly: AssemblyCulture("")] … … 52 52 // 53 53 [assembly: AssemblyVersion("3.3.0.0")] 54 [assembly: AssemblyFileVersion("3.3. 10.$WCREV$")]54 [assembly: AssemblyFileVersion("3.3.7.$WCREV$")]
Note: See TracChangeset
for help on using the changeset viewer.