Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
10/20/10 15:10:02 (14 years ago)
Author:
mkommend
Message:

#1237 Corrected ZoomReset in EnhancedChart.

File:
1 edited

Legend:

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

    r4628 r4630  
    4141    public void InitializeChartAreas() {
    4242      ChartAreas.Clear();
    43       ChartAreas.Add(CreateDefaultChartArea("ChartArea"));
     43      ChartAreas.Add(CreateDefaultChartArea("ChartArea1"));
    4444    }
    4545
     
    7676        if (result.ChartArea != null && result.ChartElementType == ChartElementType.PlottingArea) {
    7777          foreach (var axis in result.ChartArea.Axes)
    78             axis.ScaleView.ZoomReset();
     78            axis.ScaleView.ZoomReset(int.MaxValue);
    7979        }
    8080      }
Note: See TracChangeset for help on using the changeset viewer.