Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HeuristicLab.Problems.GrammaticalOptimization/DynamicDataDisplay/Charts/Axes/Integer/HorizontalIntegerAxis.cs @ 13749

Last change on this file since 13749 was 12503, checked in by aballeit, 10 years ago

#2283 added GUI and charts; fixed MCTS

File size: 556 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Linq;
4using System.Text;
5
6namespace Microsoft.Research.DynamicDataDisplay.Charts.Axes
7{
8  public class HorizontalIntegerAxis : IntegerAxis
9  {
10    public HorizontalIntegerAxis()
11    {
12      Placement = AxisPlacement.Bottom;
13    }
14
15    protected override void ValidatePlacement(AxisPlacement newPlacement)
16    {
17      if (newPlacement == AxisPlacement.Left || newPlacement == AxisPlacement.Right)
18        throw new ArgumentException(Strings.Exceptions.HorizontalAxisCannotBeVertical);
19    }
20  }
21}
Note: See TracBrowser for help on using the repository browser.