Series.cs 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. using System.Collections.Generic;
  29. namespace System.Windows.Forms.DataVisualization.Charting
  30. {
  31. public class Series : DataPointCustomProperties
  32. {
  33. public Series ()
  34. {
  35. Points = new DataPointCollection ();
  36. }
  37. public Series (string name)
  38. {
  39. Name = name;
  40. }
  41. public Series (string name,int yValues)
  42. {
  43. Name = name;
  44. YValuesPerPoint = yValues;
  45. }
  46. public override string AxisLabel { get; set; }
  47. public string ChartArea { get; set; }
  48. public SeriesChartType ChartType { get; set; }
  49. public string ChartTypeName { get; set; }
  50. public DataPointCustomProperties EmptyPointStyle { get; set; }
  51. public bool Enabled { get; set; }
  52. public bool IsXValueIndexed { get; set; }
  53. public string Legend { get; set; }
  54. public int MarkerStep { get; set; }
  55. public override string Name { get; set; }
  56. public ChartColorPalette Palette { get; set; }
  57. public DataPointCollection Points { get; private set; }
  58. public Color ShadowColor { get; set; }
  59. public int ShadowOffset { get; set; }
  60. public SmartLabelStyle SmartLabelStyle { get; set; }
  61. public AxisType XAxisType { get; set; }
  62. public string XValueMember { get; set; }
  63. public ChartValueType XValueType { get; set; }
  64. public AxisType YAxisType { get; set; }
  65. public string YValueMembers { get; set; }
  66. public ChartValueType YValueType { get; set; }
  67. public int YValuesPerPoint { get; set; }
  68. [MonoTODO]
  69. protected override void Dispose (bool disposing)
  70. {
  71. throw new NotImplementedException();
  72. }
  73. [MonoTODO]
  74. public void Sort (IComparer<DataPoint> comparer)
  75. {
  76. throw new NotImplementedException();
  77. }
  78. [MonoTODO]
  79. public void Sort (PointSortOrder pointSortOrder)
  80. {
  81. throw new NotImplementedException ();
  82. }
  83. [MonoTODO]
  84. public void Sort (PointSortOrder pointSortOrder,string sortBy)
  85. {
  86. throw new NotImplementedException();
  87. }
  88. }
  89. }