ChartArea.cs 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. //
  2. // Authors:
  3. // Jonathan Pobst ([email protected])
  4. // Francis Fisher ([email protected])
  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. using System;
  27. using System.Drawing;
  28. namespace System.Windows.Forms.DataVisualization.Charting
  29. {
  30. public class ChartArea : ChartNamedElement
  31. {
  32. public ChartArea() {}
  33. public ChartArea( string name ){
  34. Name = name;
  35. }
  36. public AreaAlignmentOrientations AlignmentOrientation { get; set; }
  37. public AreaAlignmentStyles AlignmentStyle { get; set; }
  38. public string AlignWithChartArea { get; set; }
  39. public ChartArea3DStyle Area3DStyle { get; set; }
  40. public Axis[] Axes { get; set; }
  41. public Axis AxisX { get; set; }
  42. public Axis AxisX2 { get; set; }
  43. public Axis AxisY { get; set; }
  44. public Axis AxisY2 { get; set; }
  45. public Color BackColor { get; set; }
  46. public GradientStyle BackGradientStyle { get; set; }
  47. public ChartHatchStyle BackHatchStyle { get; set; }
  48. public string BackImage { get; set; }
  49. public ChartImageAlignmentStyle BackImageAlignment { get; set; }
  50. public Color BackImageTransparentColor { get; set; }
  51. public ChartImageWrapMode BackImageWrapMode { get; set; }
  52. public Color BackSecondaryColor { get; set; }
  53. public Color BorderColor { get; set; }
  54. public ChartDashStyle BorderDashStyle { get; set; }
  55. public int BorderWidth { get; set; }
  56. public Cursor CursorX { get; set; }
  57. public Cursor CursorY { get; set; }
  58. public ElementPosition InnerPlotPosition { get; set; }
  59. public bool IsSameFontSizeForAllAxes { get; set; }
  60. public override string Name { get; set; }
  61. public ElementPosition Position { get; set; }
  62. public Color ShadowColor { get; set; }
  63. public int ShadowOffset { get; set; }
  64. public virtual bool Visible { get; set; }
  65. [MonoTODO]
  66. protected override void Dispose (bool disposing)
  67. {
  68. throw new NotImplementedException ();
  69. }
  70. [MonoTODO]
  71. public float GetSeriesDepth (Series series )
  72. {
  73. throw new NotImplementedException();
  74. }
  75. [MonoTODO]
  76. public float GetSeriesZPosition (Series series)
  77. {
  78. throw new NotImplementedException ();
  79. }
  80. [MonoTODO]
  81. public void RecalculateAxesScale ()
  82. {
  83. throw new NotImplementedException();
  84. }
  85. [MonoTODO]
  86. public void TransformPoints (Point3D[] points)
  87. {
  88. throw new NotImplementedException ();
  89. }
  90. }
  91. }