Merge pull request #799 from kebby/master
[mono.git] / mcs / class / System.Windows.Forms.DataVisualization / System.Windows.Forms.DataVisualization.Charting / Annotation.cs
1 // Authors:
2 // Francis Fisher (frankie@terrorise.me.uk)
3 //
4 // (C) Francis Fisher 2013
5 //
6 // Permission is hereby granted, free of charge, to any person obtaining
7 // a copy of this software and associated documentation files (the
8 // "Software"), to deal in the Software without restriction, including
9 // without limitation the rights to use, copy, modify, merge, publish,
10 // distribute, sublicense, and/or sell copies of the Software, and to
11 // permit persons to whom the Software is furnished to do so, subject to
12 // the following conditions:
13 // 
14 // The above copyright notice and this permission notice shall be
15 // included in all copies or substantial portions of the Software.
16 // 
17 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
18 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
19 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
20 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
21 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
22 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
23 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE./
24
25 using System;
26 using System.Drawing;
27
28 namespace System.Windows.Forms.DataVisualization.Charting
29 {
30         public abstract class Annotation : ChartNamedElement
31         {
32                 protected Annotation ()
33                 {
34                 }
35
36                 public virtual ContentAlignment Alignment { get; set; }
37                 public virtual bool AllowAnchorMoving { get; set; }
38                 public virtual bool AllowMoving { get; set; }
39                 public virtual bool AllowPathEditing { get; set; }
40                 public virtual bool AllowResizing { get; set; }
41                 public virtual bool AllowSelecting { get; set; }
42                 public virtual bool AllowTextEditing { get; set; }
43                 public virtual ContentAlignment AnchorAlignment { get; set; }
44                 public virtual DataPoint AnchorDataPoint { get; set; }
45                 public virtual string AnchorDataPointName { get; set; }
46                 public virtual double AnchorOffsetX { get; set; }
47                 public virtual double AnchorOffsetY { get; set; }
48                 public virtual double AnchorX { get; set; }
49                 public virtual double AnchorY { get; set; }
50                 public AnnotationGroup AnnotationGroup { get; private set; }
51                 public abstract string AnnotationType { get; } 
52                 public virtual Axis AxisX { get; set; }
53                 public virtual string AxisXName { get; set; }
54                 public virtual Axis AxisY { get; set; }
55                 public virtual string AxisYName { get; set; }
56                 public virtual Color BackColor { get; set; }
57                 public virtual GradientStyle BackGradientStyle { get; set; }
58                 public virtual ChartHatchStyle BackHatchStyle { get; set; }
59                 public virtual Color BackSecondaryColor { get; set; }
60                 public virtual double Bottom { get; set; }
61                 public virtual string ClipToChartArea { get; set; }
62                 public virtual Font Font { get; set; }
63                 public virtual Color ForeColor { get; set; }
64                 public virtual double Height { get; set; }
65                 public virtual bool IsSelected { get; set; }
66                 public virtual bool IsSizeAlwaysRelative { get; set; }
67                 public virtual Color LineColor { get; set; }
68                 public virtual ChartDashStyle LineDashStyle { get; set; }
69                 public virtual int LineWidth { get; set; }
70                 public override string Name { get; set; }
71                 public virtual double Right { get; set; }
72                 public virtual Color ShadowColor { get; set; }
73                 public virtual int ShadowOffset { get; set; }
74                 public AnnotationSmartLabelStyle SmartLabelStyle { get; set; }
75                 public virtual TextStyle TextStyle { get; set; }
76                 public virtual string ToolTip { get; set; }
77                 public virtual bool Visible { get; set; }
78                 public virtual double Width { get; set; }
79                 public virtual double X { get; set; }
80                 public virtual double Y { get; set; }
81                 public virtual string YAxisName { get; set; }
82
83                 [MonoTODO]
84                 public virtual void BeginPlacement ()
85                 {
86                         throw new NotImplementedException ();
87                 }
88                 [MonoTODO]
89                 public virtual void BringToFront ()
90                 {
91                         throw new NotImplementedException ();
92                 }
93                 [MonoTODO]
94                 protected override void Dispose (bool disposing)
95                 {
96                         throw new NotImplementedException ();
97                 }
98                 [MonoTODO]
99                 public virtual void EndPlacement ()
100                 {
101                         throw new NotImplementedException ();
102                 }
103                 [MonoTODO]
104                 public virtual void ResizeToContent ()
105                 {
106                         throw new NotImplementedException ();
107                 }
108                 [MonoTODO]
109                 public virtual void SendToBack ()
110                 {
111                         throw new NotImplementedException ();
112                 }
113                 [MonoTODO]
114                 public void SetAnchor (DataPoint dataPoint)
115                 {
116                         throw new NotImplementedException ();
117                 }
118                 [MonoTODO]
119                 public void SetAnchor (DataPoint dataPoint1, DataPoint dataPoint2)
120                 {
121                         throw new NotImplementedException ();
122                 }
123         }
124 }
125