AxisScaleView.cs 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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 AxisScaleView
  31. {
  32. public bool IsZoomed { get; private set;}
  33. public double MinSize { get; set; }
  34. public DateTimeIntervalType MinSizeType { get; set; }
  35. public double Position { get; set; }
  36. public double Size { get; set; }
  37. public DateTimeIntervalType SizeType { get; set; }
  38. public double SmallScrollMinSize { get; set; }
  39. public DateTimeIntervalType SmallScrollMinSizeType { get; set; }
  40. public double SmallScrollSize { get; set; }
  41. public DateTimeIntervalType SmallScrollSizeType { get; set; }
  42. public double ViewMaximum { get; private set; }
  43. public double ViewMinimum { get; private set;}
  44. public bool Zoomable { get; set; }
  45. [MonoTODO]
  46. public void Scroll (DateTime newPosition)
  47. {
  48. throw new NotImplementedException();
  49. }
  50. [MonoTODO]
  51. public void Scroll (double newPosition)
  52. {
  53. throw new NotImplementedException();
  54. }
  55. [MonoTODO]
  56. public void Scroll (ScrollType scrollType)
  57. {
  58. throw new NotImplementedException();
  59. }
  60. [MonoTODO]
  61. public void Zoom (double viewStart,double viewEnd)
  62. {
  63. throw new NotImplementedException();
  64. }
  65. [MonoTODO]
  66. public void Zoom (double viewPosition, double viewSize, DateTimeIntervalType viewSizeType)
  67. {
  68. throw new NotImplementedException();
  69. }
  70. [MonoTODO]
  71. public void Zoom (double viewPosition, double viewSize, DateTimeIntervalType viewSizeType, bool saveState)
  72. {
  73. throw new NotImplementedException();
  74. }
  75. [MonoTODO]
  76. public void ZoomReset ()
  77. {
  78. throw new NotImplementedException();
  79. }
  80. [MonoTODO]
  81. public void ZoomReset (int numberOfViews)
  82. {
  83. throw new NotImplementedException();
  84. }
  85. }
  86. }