Merge pull request #799 from kebby/master
[mono.git] / mcs / class / System.Windows.Forms.DataVisualization / System.Windows.Forms.DataVisualization.Charting / ChartArea.cs
1 //
2 // Authors:
3 // Jonathan Pobst (monkey@jpobst.com)
4 // Francis Fisher (frankie@terrorise.me.uk)
5 //
6 // Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
7 //
8 // Permission is hereby granted, free of charge, to any person obtaining
9 // a copy of this software and associated documentation files (the
10 // "Software"), to deal in the Software without restriction, including
11 // without limitation the rights to use, copy, modify, merge, publish,
12 // distribute, sublicense, and/or sell copies of the Software, and to
13 // permit persons to whom the Software is furnished to do so, subject to
14 // the following conditions:
15 // 
16 // The above copyright notice and this permission notice shall be
17 // included in all copies or substantial portions of the Software.
18 // 
19 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
22 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
23 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
24 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
25 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
26
27 using System;
28 using System.Drawing;
29
30 namespace System.Windows.Forms.DataVisualization.Charting
31 {
32         public class ChartArea : ChartNamedElement
33         {
34                 public ChartArea() {}
35                 public ChartArea( string name ){
36                         Name = name;
37                 }
38
39                 public AreaAlignmentOrientations AlignmentOrientation { get; set; }
40                 public AreaAlignmentStyles AlignmentStyle { get; set; }
41                 public string AlignWithChartArea { get; set; }
42                 public ChartArea3DStyle Area3DStyle { get; set; }
43                 public Axis[] Axes { get; set; }
44                 public Axis AxisX { get; set; }
45                 public Axis AxisX2 { get; set; }
46                 public Axis AxisY { get; set; }
47                 public Axis AxisY2 { get; set; }
48                 public Color BackColor { get; set; }
49                 public GradientStyle BackGradientStyle { get; set; }
50                 public ChartHatchStyle BackHatchStyle { get; set; }
51                 public string BackImage { get; set; }
52                 public ChartImageAlignmentStyle BackImageAlignment { get; set; }
53                 public Color BackImageTransparentColor { get; set; }
54                 public ChartImageWrapMode BackImageWrapMode { get; set; }
55                 public Color BackSecondaryColor { get; set; }
56                 public Color BorderColor { get; set; }
57                 public ChartDashStyle BorderDashStyle { get; set; }
58                 public int BorderWidth { get; set; }
59                 public Cursor CursorX { get; set; }
60                 public Cursor CursorY { get; set; }
61                 public ElementPosition InnerPlotPosition { get; set; }
62                 public bool IsSameFontSizeForAllAxes { get; set; }
63                 public override string Name { get; set; }
64                 public ElementPosition Position { get; set; }
65                 public Color ShadowColor { get; set; }
66                 public int ShadowOffset { get; set; }
67                 public virtual bool Visible { get; set; }
68
69
70                 [MonoTODO]
71                 protected override void Dispose (bool disposing)
72                 {
73                         throw new NotImplementedException ();
74                 }
75
76                 [MonoTODO]
77                 public float GetSeriesDepth (Series series )
78                 {
79                         throw new NotImplementedException();
80                 }
81                 [MonoTODO]
82                 public float GetSeriesZPosition (Series series)
83                 {
84                         throw new NotImplementedException ();
85                 }
86                 [MonoTODO]
87                 public void RecalculateAxesScale ()
88                 {
89                         throw new NotImplementedException();
90                 }
91                 [MonoTODO]
92                 public void TransformPoints (Point3D[] points)
93                 {
94                         throw new NotImplementedException ();
95                 }
96         }
97 }