DataPointCustomProperties.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  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 DataPointCustomProperties : ChartNamedElement
  31. {
  32. public virtual string AxisLabel { get; set; }
  33. public GradientStyle BackGradientStyle { get; set; }
  34. public ChartHatchStyle BackHatchStyle { get; set; }
  35. public string BackImage { get; set; }
  36. public ChartImageAlignmentStyle BackImageAlignment { get; set; }
  37. public Color BackImageTransparentColor { get; set; }
  38. public ChartImageWrapMode BackImageWrapMode { get; set; }
  39. public Color BackSecondaryColor { get; set; }
  40. public Color BorderColor { get; set; }
  41. public ChartDashStyle BorderDashStyle { get; set; }
  42. public int BorderWidth { get; set; }
  43. public Color Color { get; set; }
  44. public string CustomProperties { get; set; }
  45. public CustomProperties CustomPropertiesExtended { get; set; }
  46. public Font Font { get; set; }
  47. public bool IsValueShownAsLabel { get; set; }
  48. public bool IsVisibleInLegend { get; set; }
  49. [MonoTODO]
  50. public string this[int idx] {
  51. get{
  52. throw new NotImplementedException ();
  53. }
  54. set{
  55. throw new NotImplementedException ();
  56. }
  57. }
  58. [MonoTODO]
  59. public string this[string propName] {
  60. get{
  61. throw new NotImplementedException ();
  62. }
  63. set{
  64. throw new NotImplementedException ();
  65. }
  66. }
  67. public virtual string Label { get; set; }
  68. public int LabelAngle { get; set; }
  69. public Color LabelBackColor { get; set; }
  70. public Color LabelBorderColor { get; set; }
  71. public ChartDashStyle LabelBorderDashStyle { get; set; }
  72. public int LabelBorderWidth { get; set; }
  73. public Color LabelForeColor { get; set; }
  74. public string LabelFormat { get; set; }
  75. public string LabelToolTip { get; set; }
  76. public string LegendText { get; set; }
  77. public string LegendToolTip { get; set; }
  78. public Color MarkerBorderColor { get; set; }
  79. public int MarkerBorderWidth { get; set; }
  80. public Color MarkerColor { get; set; }
  81. public string MarkerImage { get; set; }
  82. public Color MarkerImageTransparentColor { get; set; }
  83. public int MarkerSize { get; set; }
  84. public MarkerStyle MarkerStyle { get; set; }
  85. public string ToolTip { get; set; }
  86. #region Public methods
  87. [MonoTODO]
  88. public virtual void DeleteCustomProperty (string name)
  89. {
  90. throw new NotImplementedException ();
  91. }
  92. [MonoTODO]
  93. public virtual string GetCustomProperty(string name)
  94. {
  95. throw new NotImplementedException ();
  96. }
  97. [MonoTODO]
  98. public virtual bool IsCustomPropertySet(string name)
  99. {
  100. throw new NotImplementedException ();
  101. }
  102. [MonoTODO]
  103. public void ResetIsValueShownAsLabel ()
  104. {
  105. throw new NotImplementedException ();
  106. }
  107. [MonoTODO]
  108. public void ResetIsVisibleInLegend ()
  109. {
  110. throw new NotImplementedException ();
  111. }
  112. [MonoTODO]
  113. public virtual void SetCustomProperty (string name,string propertyValue)
  114. {
  115. throw new NotImplementedException ();
  116. }
  117. [MonoTODO]
  118. public virtual void SetDefault (bool clearAll)
  119. {
  120. throw new NotImplementedException ();
  121. }
  122. #endregion
  123. }
  124. }