Line | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Linq;
|
---|
4 | using System.Text;
|
---|
5 |
|
---|
6 | namespace 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.