Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/10/13 00:53:29 (11 years ago)
Author:
abeham
Message:

#2002: Added Analysis, Analysis.Views and ability to scale axes logarithmically

Location:
branches/CMAES/HeuristicLab.Analysis.Views
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • branches/CMAES/HeuristicLab.Analysis.Views/3.3/DataTableView.cs

    r8339 r9141  
    2020#endregion
    2121
     22using HeuristicLab.Collections;
     23using HeuristicLab.Core.Views;
     24using HeuristicLab.MainForm;
    2225using System;
    2326using System.Collections.Generic;
     
    2629using System.Windows.Forms;
    2730using System.Windows.Forms.DataVisualization.Charting;
    28 using HeuristicLab.Collections;
    29 using HeuristicLab.Core.Views;
    30 using HeuristicLab.MainForm;
    3131
    3232namespace HeuristicLab.Analysis.Views {
     
    115115    public void ShowConfiguration() {
    116116      if (Content != null) {
    117         using (DataTableVisualPropertiesDialog dialog = new DataTableVisualPropertiesDialog(Content)) {
     117        using (var dialog = new DataTableVisualPropertiesDialog(Content)) {
    118118          dialog.ShowDialog(this);
    119119        }
     
    123123      foreach (var row in rows) {
    124124        RegisterDataRowEvents(row);
    125         Series series = new Series(row.Name);
     125        var series = new Series(row.Name);
    126126        if (row.VisualProperties.DisplayName.Trim() != String.Empty) series.LegendText = row.VisualProperties.DisplayName;
    127127        else series.LegendText = row.Name;
     
    231231      if (!Content.VisualProperties.AxisTitleColor.IsEmpty) area.AxisY2.TitleForeColor = Content.VisualProperties.AxisTitleColor;
    232232      area.AxisY2.Title = Content.VisualProperties.SecondYAxisTitle;
     233
     234      area.AxisX.IsLogarithmic = Content.VisualProperties.XAxisLogScale;
     235      area.AxisX2.IsLogarithmic = Content.VisualProperties.SecondXAxisLogScale;
     236      area.AxisY.IsLogarithmic = Content.VisualProperties.YAxisLogScale;
     237      area.AxisY2.IsLogarithmic = Content.VisualProperties.SecondYAxisLogScale;
    233238    }
    234239
Note: See TracChangeset for help on using the changeset viewer.