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.Drawing; 26 27 namespace System.Windows.Forms.DataVisualization.Charting 28 { 29 public class Cursor : IDisposable 30 { Cursor()31 public Cursor () 32 { 33 } 34 35 public bool AutoScroll { get; set; } 36 public AxisType AxisType { get; set; } 37 public double Interval { get; set; } 38 public double IntervalOffset { get; set; } 39 public DateTimeIntervalType IntervalOffsetType { get; set; } 40 public DateTimeIntervalType IntervalType { get; set; } 41 public bool IsUserEnabled { get; set; } 42 public bool IsUserSelectionEnabled { get; set; } 43 public Color LineColor { get; set; } 44 public ChartDashStyle LineDashStyle { get; set; } 45 public int LineWidth { get; set; } 46 public double Position { get; set; } 47 public Color SelectionColor { get; set; } 48 public double SelectionEnd { get; set; } 49 public double SelectionStart { get; set; } 50 51 52 [MonoTODO] Dispose()53 public void Dispose () 54 { 55 throw new NotImplementedException (); 56 } 57 [MonoTODO] Dispose(bool disposing)58 protected virtual void Dispose (bool disposing) 59 { 60 throw new NotImplementedException (); 61 } 62 [MonoTODO] SetCursorPixelPosition(PointF point,bool roundToBoundary)63 public void SetCursorPixelPosition (PointF point,bool roundToBoundary) 64 { 65 throw new NotImplementedException (); 66 } 67 [MonoTODO] SetCursorPosition(double newPosition)68 public void SetCursorPosition (double newPosition) 69 { 70 throw new NotImplementedException (); 71 } 72 [MonoTODO] SetSelectionPixelPosition(PointF startPoint, PointF endPoint, bool roundToBoundary)73 public void SetSelectionPixelPosition (PointF startPoint, PointF endPoint, bool roundToBoundary) 74 { 75 throw new NotImplementedException (); 76 } 77 [MonoTODO] SetSelectionPosition(double newStart, double newEnd)78 public void SetSelectionPosition (double newStart, double newEnd) 79 { 80 throw new NotImplementedException (); 81 } 82 } 83 } 84