2 // Francis Fisher (frankie@terrorise.me.uk)
4 // (C) Francis Fisher 2013
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:
14 // The above copyright notice and this permission notice shall be
15 // included in all copies or substantial portions of the Software.
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./
28 namespace System.Windows.Forms.DataVisualization.Charting
30 public abstract class Annotation : ChartNamedElement
32 protected Annotation ()
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; }
84 public virtual void BeginPlacement ()
86 throw new NotImplementedException ();
89 public virtual void BringToFront ()
91 throw new NotImplementedException ();
94 protected override void Dispose (bool disposing)
96 throw new NotImplementedException ();
99 public virtual void EndPlacement ()
101 throw new NotImplementedException ();
104 public virtual void ResizeToContent ()
106 throw new NotImplementedException ();
109 public virtual void SendToBack ()
111 throw new NotImplementedException ();
114 public void SetAnchor (DataPoint dataPoint)
116 throw new NotImplementedException ();
119 public void SetAnchor (DataPoint dataPoint1, DataPoint dataPoint2)
121 throw new NotImplementedException ();