2009-10-23 Jonathan Pobst <monkey@jpobst.com>
authorJonathan Pobst <monkey@jpobst.com>
Sat, 24 Oct 2009 00:31:40 +0000 (00:31 -0000)
committerJonathan Pobst <monkey@jpobst.com>
Sat, 24 Oct 2009 00:31:40 +0000 (00:31 -0000)
* Initial commit of some enums and infrastructure classes.

svn path=/trunk/mcs/; revision=144769

103 files changed:
mcs/class/System.Windows.Forms.DataVisualization/Charting.sln [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Properties/AssemblyInfo.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnchorStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnnotationPathPoint.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnnotationPathPointCollection.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnovaResult.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AntiAliasingStyles.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AreaAlignmentOrientations.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AreaAlignmentStyles.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ArrowAnnotation.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ArrowStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisArrowStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisEnabled.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisName.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisScaleBreakStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisType.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/BorderSkinStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/BreakLineStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/CalloutStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/Chart.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartArea.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartColorPalette.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartDashStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartElement.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartElementCollection.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartElementType.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartHatchStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartImageAlignmentStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartImageFormat.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartImageWrapMode.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartNamedElement.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartNamedElementCollection.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartValueType.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/CompareMethod.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DataPoint.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DataPointCollection.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DataPointCustomProperties.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DateRangeType.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DateTimeIntervalType.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/Docking.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/FinancialFormula.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/GradientStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/GridTickTypes.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/IDataPointFilter.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/IntervalAutoMode.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/IntervalType.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelAlignmentStyles.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelAutoFitStyles.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelCalloutStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelMarkStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelOutsidePlotAreaStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendCellColumnType.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendCellType.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendImageStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendItemOrder.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendSeparatorStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendTableStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LightStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LineAnchorCapStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/PointSortOrder.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ScrollBarButtonStyles.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ScrollBarButtonType.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ScrollType.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SerializationContents.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SerializationFormat.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/Series.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SeriesChartType.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SeriesCollection.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/StartFromZero.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TextAntiAliasingQuality.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TextOrientation.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TextStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TickMarkStyle.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.csproj [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Charting.csproj [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Form1.Designer.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Form1.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Form1.resx [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Program.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/AssemblyInfo.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Resources.Designer.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Resources.resx [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Settings.Designer.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Settings.settings [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/ChartingTests.csproj [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Form1.Designer.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Form1.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/MonoCharting.csproj [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Program.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/AssemblyInfo.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Resources.Designer.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Resources.resx [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Settings.Designer.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Settings.settings [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/Properties/AssemblyInfo.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/AnnotationPathPointTest.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/AnovaResultTest.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/ArrowAnnotationTest.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/AxisScaleBreakStyleTest.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/ChartElementTest.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/DataPointTest.cs [new file with mode: 0644]
mcs/class/System.Windows.Forms.DataVisualization/common/MonoTODOAttribute.cs [new file with mode: 0644]

diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Charting.sln b/mcs/class/System.Windows.Forms.DataVisualization/Charting.sln
new file mode 100644 (file)
index 0000000..55864ee
--- /dev/null
@@ -0,0 +1,66 @@
+\r
+Microsoft Visual Studio Solution File, Format Version 11.00\r
+# Visual Studio 2010\r
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "System.Windows.Forms.DataVisualization", "System.Windows.Forms.DataVisualization.csproj", "{73F9BAEA-A04B-4254-A736-D3B8B9947340}"\r
+EndProject\r
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Charting", "Test\Charting\Charting.csproj", "{9E7C5CA0-2297-414C-B2EB-FC5418548E9D}"\r
+EndProject\r
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MonoCharting", "Test\MonoCharting\MonoCharting.csproj", "{2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}"\r
+EndProject\r
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ChartingTests", "Test\ChartingTests.csproj", "{D318CCA4-B16E-434D-B490-53A810FC949E}"\r
+EndProject\r
+Global\r
+       GlobalSection(SolutionConfigurationPlatforms) = preSolution\r
+               Debug|Any CPU = Debug|Any CPU\r
+               Debug|Mixed Platforms = Debug|Mixed Platforms\r
+               Debug|x86 = Debug|x86\r
+               Release|Any CPU = Release|Any CPU\r
+               Release|Mixed Platforms = Release|Mixed Platforms\r
+               Release|x86 = Release|x86\r
+       EndGlobalSection\r
+       GlobalSection(ProjectConfigurationPlatforms) = postSolution\r
+               {73F9BAEA-A04B-4254-A736-D3B8B9947340}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {73F9BAEA-A04B-4254-A736-D3B8B9947340}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {73F9BAEA-A04B-4254-A736-D3B8B9947340}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU\r
+               {73F9BAEA-A04B-4254-A736-D3B8B9947340}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU\r
+               {73F9BAEA-A04B-4254-A736-D3B8B9947340}.Debug|x86.ActiveCfg = Debug|Any CPU\r
+               {73F9BAEA-A04B-4254-A736-D3B8B9947340}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {73F9BAEA-A04B-4254-A736-D3B8B9947340}.Release|Any CPU.Build.0 = Release|Any CPU\r
+               {73F9BAEA-A04B-4254-A736-D3B8B9947340}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU\r
+               {73F9BAEA-A04B-4254-A736-D3B8B9947340}.Release|Mixed Platforms.Build.0 = Release|Any CPU\r
+               {73F9BAEA-A04B-4254-A736-D3B8B9947340}.Release|x86.ActiveCfg = Release|Any CPU\r
+               {9E7C5CA0-2297-414C-B2EB-FC5418548E9D}.Debug|Any CPU.ActiveCfg = Debug|x86\r
+               {9E7C5CA0-2297-414C-B2EB-FC5418548E9D}.Debug|Mixed Platforms.ActiveCfg = Debug|x86\r
+               {9E7C5CA0-2297-414C-B2EB-FC5418548E9D}.Debug|Mixed Platforms.Build.0 = Debug|x86\r
+               {9E7C5CA0-2297-414C-B2EB-FC5418548E9D}.Debug|x86.ActiveCfg = Debug|x86\r
+               {9E7C5CA0-2297-414C-B2EB-FC5418548E9D}.Debug|x86.Build.0 = Debug|x86\r
+               {9E7C5CA0-2297-414C-B2EB-FC5418548E9D}.Release|Any CPU.ActiveCfg = Release|x86\r
+               {9E7C5CA0-2297-414C-B2EB-FC5418548E9D}.Release|Mixed Platforms.ActiveCfg = Release|x86\r
+               {9E7C5CA0-2297-414C-B2EB-FC5418548E9D}.Release|Mixed Platforms.Build.0 = Release|x86\r
+               {9E7C5CA0-2297-414C-B2EB-FC5418548E9D}.Release|x86.ActiveCfg = Release|x86\r
+               {9E7C5CA0-2297-414C-B2EB-FC5418548E9D}.Release|x86.Build.0 = Release|x86\r
+               {2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}.Debug|Any CPU.ActiveCfg = Debug|x86\r
+               {2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}.Debug|Mixed Platforms.ActiveCfg = Debug|x86\r
+               {2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}.Debug|Mixed Platforms.Build.0 = Debug|x86\r
+               {2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}.Debug|x86.ActiveCfg = Debug|x86\r
+               {2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}.Debug|x86.Build.0 = Debug|x86\r
+               {2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}.Release|Any CPU.ActiveCfg = Release|x86\r
+               {2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}.Release|Mixed Platforms.ActiveCfg = Release|x86\r
+               {2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}.Release|Mixed Platforms.Build.0 = Release|x86\r
+               {2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}.Release|x86.ActiveCfg = Release|x86\r
+               {2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}.Release|x86.Build.0 = Release|x86\r
+               {D318CCA4-B16E-434D-B490-53A810FC949E}.Debug|Any CPU.ActiveCfg = Debug|Any CPU\r
+               {D318CCA4-B16E-434D-B490-53A810FC949E}.Debug|Any CPU.Build.0 = Debug|Any CPU\r
+               {D318CCA4-B16E-434D-B490-53A810FC949E}.Debug|Mixed Platforms.ActiveCfg = Debug|Any CPU\r
+               {D318CCA4-B16E-434D-B490-53A810FC949E}.Debug|Mixed Platforms.Build.0 = Debug|Any CPU\r
+               {D318CCA4-B16E-434D-B490-53A810FC949E}.Debug|x86.ActiveCfg = Debug|Any CPU\r
+               {D318CCA4-B16E-434D-B490-53A810FC949E}.Release|Any CPU.ActiveCfg = Release|Any CPU\r
+               {D318CCA4-B16E-434D-B490-53A810FC949E}.Release|Any CPU.Build.0 = Release|Any CPU\r
+               {D318CCA4-B16E-434D-B490-53A810FC949E}.Release|Mixed Platforms.ActiveCfg = Release|Any CPU\r
+               {D318CCA4-B16E-434D-B490-53A810FC949E}.Release|Mixed Platforms.Build.0 = Release|Any CPU\r
+               {D318CCA4-B16E-434D-B490-53A810FC949E}.Release|x86.ActiveCfg = Release|Any CPU\r
+       EndGlobalSection\r
+       GlobalSection(SolutionProperties) = preSolution\r
+               HideSolutionNode = FALSE\r
+       EndGlobalSection\r
+EndGlobal\r
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Properties/AssemblyInfo.cs b/mcs/class/System.Windows.Forms.DataVisualization/Properties/AssemblyInfo.cs
new file mode 100644 (file)
index 0000000..e416e83
--- /dev/null
@@ -0,0 +1,62 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle ("System.Windows.Forms.DataVisualization")]
+[assembly: AssemblyDescription ("")]
+[assembly: AssemblyConfiguration ("")]
+[assembly: AssemblyCompany ("Novell")]
+[assembly: AssemblyProduct ("System.Windows.Forms.DataVisualization")]
+[assembly: AssemblyCopyright ("Copyright © Novell 2009")]
+[assembly: AssemblyTrademark ("")]
+[assembly: AssemblyCulture ("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible (false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid ("37850c89-a099-4c14-b26d-23a67cc9c708")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers 
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion ("1.0.0.0")]
+[assembly: AssemblyFileVersion ("1.0.0.0")]
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnchorStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnchorStyle.cs
new file mode 100644 (file)
index 0000000..b050463
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum MarkerStyle
+       {
+               Simple = 0,
+               DoubleArrow = 1,
+               Tailed = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnnotationPathPoint.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnnotationPathPoint.cs
new file mode 100644 (file)
index 0000000..3bd7261
--- /dev/null
@@ -0,0 +1,53 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class AnnotationPathPoint : ChartElement
+       {
+               #region Constructors
+               public AnnotationPathPoint () : this (0, 0)
+               {
+               }
+
+               public AnnotationPathPoint (float x, float y) : this (x, y, 0)
+               {
+               }
+
+               public AnnotationPathPoint (float x, float y, byte type)
+               {
+                       X = x;
+                       Y = y;
+               }
+               #endregion
+
+               #region Public Properties
+               public float X { get; set; }
+               public float Y { get; set; }
+               #endregion
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnnotationPathPointCollection.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnnotationPathPointCollection.cs
new file mode 100644 (file)
index 0000000..081af0f
--- /dev/null
@@ -0,0 +1,52 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class AnnotationPathPointCollection : ChartElementCollection<AnnotationPathPoint>
+       {
+               #region Constructors
+               //public AnnotationPathPointCollection (PolylineAnnotation annotation)
+               //{
+               //}
+               #endregion
+
+               #region Public Methods
+               public override void Invalidate ()
+               {
+                       base.Invalidate ();
+               }
+               #endregion
+
+               #region Protected Methods
+               protected override void Dispose (bool disposing)
+               {
+                       base.Dispose (disposing);
+               }
+               #endregion
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnovaResult.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AnovaResult.cs
new file mode 100644 (file)
index 0000000..2683c58
--- /dev/null
@@ -0,0 +1,51 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class AnovaResult
+       {
+               #region Constructors
+               public AnovaResult ()
+               {
+               }
+               #endregion
+
+               #region Public Properties
+               public double DegreeOfFreedomBetweenGroups { get; private set; }
+               public double DegreeOfFreedomTotal { get; private set; }
+               public double DegreeOfFreedomWithinGroups { get; private set; }
+               public double FCriticalValue { get; private set; }
+               public double FRatio { get; private set; }
+               public double MeanSquareVarianceBetweenGroups { get; private set; }
+               public double MeanSquareVarianceWithinGroups { get; private set; }
+               public double SumOfSquaresBetweenGroups { get; private set; }
+               public double SumOfSquaresTotal { get; private set; }
+               public double SumOfSquaresWithinGroups { get; private set; }
+               #endregion
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AntiAliasingStyles.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AntiAliasingStyles.cs
new file mode 100644 (file)
index 0000000..660af52
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum AntiAliasingStyles
+       {
+               None = 0,
+               Text = 1,
+               Graphics = 2,
+               All = 3
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AreaAlignmentOrientations.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AreaAlignmentOrientations.cs
new file mode 100644 (file)
index 0000000..bd23bdb
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum AreaAlignmentOrientations
+       {
+               None = 0,
+               Vertical = 1,
+               Horizontal = 2,
+               All = 3
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AreaAlignmentStyles.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AreaAlignmentStyles.cs
new file mode 100644 (file)
index 0000000..c68b9dc
--- /dev/null
@@ -0,0 +1,39 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum AreaAlignmentStyles
+       {
+               None = 0,
+               Position = 1,
+               PlotPosition = 2,
+               AxesView = 4,
+               Cursor = 8,
+               All = 15
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ArrowAnnotation.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ArrowAnnotation.cs
new file mode 100644 (file)
index 0000000..31ad494
--- /dev/null
@@ -0,0 +1,54 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class ArrowAnnotation
+       {
+               private int arrow_size = 5;
+
+               #region Constructors
+               public ArrowAnnotation ()
+               {
+               }
+               #endregion
+
+               #region Public Properties
+               public virtual int ArrowSize {
+                       get { return arrow_size; }
+                       set {
+                               if (value <= 0)
+                                       throw new ArgumentOutOfRangeException ("ArrowSize", "ArrowSize must be >= 0.");
+
+                               arrow_size = value;
+                       }
+               }
+
+               public virtual ArrowStyle ArrowStyle { get; set; }
+               #endregion
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ArrowStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ArrowStyle.cs
new file mode 100644 (file)
index 0000000..5555eac
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ArrowStyle
+       {
+               Simple = 0,
+               DoubleArrow = 1,
+               Tailed = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisArrowStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisArrowStyle.cs
new file mode 100644 (file)
index 0000000..1b57bf5
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum AxisArrowStyle
+       {
+               None = 0,
+               Triangle = 1,
+               SharpTriangle = 2,
+               Lines = 3
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisEnabled.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisEnabled.cs
new file mode 100644 (file)
index 0000000..b1a709b
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum AxisEnabled
+       {
+               Auto = 0,
+               True = 1,
+               False = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisName.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisName.cs
new file mode 100644 (file)
index 0000000..051408f
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum AxisName
+       {
+               X = 0,
+               Y = 1,
+               X2 = 2,
+               Y2 = 3
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisScaleBreakStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisScaleBreakStyle.cs
new file mode 100644 (file)
index 0000000..3debe81
--- /dev/null
@@ -0,0 +1,60 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Drawing;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class AxisScaleBreakStyle
+       {
+               #region Constructors
+               public AxisScaleBreakStyle ()
+               {
+                       BreakLineStyle = BreakLineStyle.Ragged;
+                       CollapsibleSpaceThreshold = 25;
+                       Enabled = false;
+                       LineColor = Color.Black;
+                       LineDashStyle = ChartDashStyle.Solid;
+                       LineWidth = 1;
+                       MaxNumberOfBreaks = 2;
+                       Spacing = 1.5d;
+                       StartFromZero = StartFromZero.Auto;
+               }
+               #endregion
+
+               #region Public Properties
+               public BreakLineStyle BreakLineStyle { get; set; }
+               public int CollapsibleSpaceThreshold { get; set; }
+               public bool Enabled { get; set; }
+               public Color LineColor { get; set; }
+               public ChartDashStyle LineDashStyle { get; set; }
+               public int LineWidth { get; set; }
+               public int MaxNumberOfBreaks { get; set; }
+               public double Spacing { get; set; }
+               public StartFromZero StartFromZero { get; set; }
+               #endregion
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisType.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/AxisType.cs
new file mode 100644 (file)
index 0000000..6f7e25a
--- /dev/null
@@ -0,0 +1,35 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum AxisType
+       {
+               Primary = 0,
+               Secondary = 1
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/BorderSkinStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/BorderSkinStyle.cs
new file mode 100644 (file)
index 0000000..2da9d8c
--- /dev/null
@@ -0,0 +1,51 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum BorderSkinStyle
+       {
+               None = 0,
+               Emboss = 1,
+               Raised = 2,
+               Sunken = 3,
+               FrameThin1 = 4,
+               FrameThin2 = 5,
+               FrameThin3 = 6,
+               FrameThin4 = 7,
+               FrameThin5 = 8,
+               FrameThin6 = 9,
+               FrameTitle1 = 10,
+               FrameTitle2 = 11,
+               FrameTitle3 = 12,
+               FrameTitle4 = 13,
+               FrameTitle5 = 14,
+               FrameTitle6 = 15,
+               FrameTitle7 = 16,
+               FrameTitle8 = 17
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/BreakLineStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/BreakLineStyle.cs
new file mode 100644 (file)
index 0000000..1bf72e9
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum BreakLineStyle
+       {
+               None = 0,
+               Straight = 1,
+               Wave = 2,
+               Ragged = 3
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/CalloutStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/CalloutStyle.cs
new file mode 100644 (file)
index 0000000..1fef9bf
--- /dev/null
@@ -0,0 +1,40 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum CalloutStyle
+       {
+               SimpleLine = 0,
+               Borderline = 1,
+               Cloud = 2,
+               Rectangle = 3,
+               RoundedRectangle = 4,
+               Ellipse = 5,
+               Perspective = 6
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/Chart.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/Chart.cs
new file mode 100644 (file)
index 0000000..420dd7c
--- /dev/null
@@ -0,0 +1,56 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Collections.Generic;
+using System.Drawing;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class Chart : Control
+       {
+               public Chart ()
+               {
+                       BackColor = Color.White;
+                       ChartAreas = new List<ChartArea> ();
+                       Series = new List<Series> ();
+               }
+
+               public List<ChartArea> ChartAreas { get; private set; }
+               public List<Series> Series { get; private set; }
+
+               #region Protected Properties
+               protected override void OnPaint (PaintEventArgs e)
+               {
+                       base.OnPaint (e);
+               }
+
+               protected override void OnPaintBackground (PaintEventArgs pevent)
+               {
+                       base.OnPaintBackground (pevent);
+               }
+               #endregion
+       }
+}
\ No newline at end of file
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartArea.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartArea.cs
new file mode 100644 (file)
index 0000000..81d1e6a
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class ChartArea
+       {
+               public string Name { get; set; }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartColorPalette.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartColorPalette.cs
new file mode 100644 (file)
index 0000000..03bdb3b
--- /dev/null
@@ -0,0 +1,46 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ChartColorPalette
+       {
+               None = 0,
+               Bright = 1,
+               Grayscale = 2,
+               Excel = 3,
+               Light = 4,
+               Pastel = 5,
+               EarthTones = 6,
+               SemiTransparent = 7,
+               Berry = 8,
+               Chocolate = 9,
+               Fire = 10,
+               SeaGreen = 11,
+               BrightPastel = 12
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartDashStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartDashStyle.cs
new file mode 100644 (file)
index 0000000..cf108ce
--- /dev/null
@@ -0,0 +1,39 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ChartDashStyle
+       {
+               NotSet = 0,
+               Dash = 1,
+               DashDot = 2,
+               DashDotDot = 3,
+               Dot = 4,
+               Solid = 5
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartElement.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartElement.cs
new file mode 100644 (file)
index 0000000..c4169eb
--- /dev/null
@@ -0,0 +1,69 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public abstract class ChartElement
+       {
+               #region Constructors
+               protected ChartElement ()
+               {
+               }
+               #endregion
+
+               #region Public Properties
+               public object Tag { get; set; }
+               #endregion
+
+               #region Public Methods
+               public void Dispose ()
+               {
+               }
+
+               public override bool Equals (object obj)
+               {
+                       return base.Equals (obj);
+               }
+
+               public override int GetHashCode ()
+               {
+                       return base.GetHashCode ();
+               }
+
+               public override string ToString ()
+               {
+                       return GetType ().Name;
+               }
+               #endregion
+
+               #region Protected Methods
+               protected virtual void Dispose (bool disposing)
+               {
+               }
+               #endregion
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartElementCollection.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartElementCollection.cs
new file mode 100644 (file)
index 0000000..03564cf
--- /dev/null
@@ -0,0 +1,77 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Collections.ObjectModel;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public abstract class ChartElementCollection<T> : Collection<T> where T : ChartElement
+       {
+               #region Public Methods
+               public void Dispose ()
+               {
+               }
+
+               public virtual void Invalidate ()
+               {
+               }
+
+               public virtual void ResumeUpdates ()
+               {
+               }
+
+               public virtual void SuspendUpdates ()
+               {
+               }
+               #endregion
+
+               #region Protected Methods
+               protected override void ClearItems ()
+               {
+                       base.ClearItems ();
+               }
+
+               protected virtual void Dispose (bool disposing)
+               {
+               }
+
+               protected override void InsertItem (int index, T item)
+               {
+                       base.InsertItem (index, item);
+               }
+
+               protected override void RemoveItem (int index)
+               {
+                       base.RemoveItem (index);
+               }
+
+               protected override void SetItem (int index, T item)
+               {
+                       base.SetItem (index, item);
+               }
+               #endregion
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartElementType.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartElementType.cs
new file mode 100644 (file)
index 0000000..bd990e4
--- /dev/null
@@ -0,0 +1,56 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ChartElementType
+       {
+               Nothing = 0,
+               Title = 1,
+               PlottingArea = 2,
+               Axis = 3,
+               TickMarks = 4,
+               Gridlines = 5,
+               StripLines = 6,
+               AxisLabelImage = 7,
+               AxisLabels = 8,
+               AxisTitle = 9,
+               ScrollBarThumbTracker = 10,
+               ScrollBarSmallDecrement = 11,
+               ScrollBarSmallIncrement = 12,
+               ScrollBarLargeDecrement = 13,
+               ScrollBarLargeIncrement = 14,
+               ScrollBarZoomReset = 15,
+               DataPoint = 16,
+               DataPointLabel = 17,
+               LegendArea = 18,
+               LegendTitle = 19,
+               LegendHeader = 20,
+               LegendItem = 21,
+               Annotation = 22
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartHatchStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartHatchStyle.cs
new file mode 100644 (file)
index 0000000..b3e3333
--- /dev/null
@@ -0,0 +1,88 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ChartHatchStyle
+       {
+               None = 0,
+               BackwardDiagonal = 1,
+               Cross = 2,
+               DarkDownwardDiagonal = 3,
+               DarkHorizontal = 4,
+               DarkUpwardDiagonal = 5,
+               DarkVertical = 6,
+               DashedDownwardDiagonal = 7,
+               DashedHorizontal = 8,
+               DashedUpwardDiagonal = 9,
+               DashedVertical = 10,
+               DiagonalBrick = 11,
+               DiagonalCross = 12,
+               Divot = 13,
+               DottedDiamond = 14,
+               DottedGrid = 15,
+               ForwardDiagonal = 16,
+               Horizontal = 17,
+               HorizontalBrick = 18,
+               LargeCheckerBoard = 19,
+               LargeConfetti = 20,
+               LargeGrid = 21,
+               LightDownwardDiagonal = 22,
+               LightHorizontal = 23,
+               LightUpwardDiagonal = 24,
+               LightVertical = 25,
+               NarrowHorizontal = 26,
+               NarrowVertical = 27,
+               OutlinedDiamond = 28,
+               Percent05 = 29,
+               Percent10 = 30,
+               Percent20 = 31,
+               Percent25 = 32,
+               Percent30 = 33,
+               Percent40 = 34,
+               Percent50 = 35,
+               Percent60 = 36,
+               Percent70 = 37,
+               Percent75 = 38,
+               Percent80 = 39,
+               Percent90 = 40,
+               Plaid = 41,
+               Shingle = 42,
+               SmallCheckerBoard = 43,
+               SmallConfetti = 44,
+               SmallGrid = 45,
+               SolidDiamond = 46,
+               Sphere = 47,
+               Trellis = 48,
+               Vertical = 49,
+               Wave = 50,
+               Weave = 51,
+               WideDownwardDiagonal = 52,
+               WideUpwardDiagonal = 53,
+               ZigZag = 54
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartImageAlignmentStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartImageAlignmentStyle.cs
new file mode 100644 (file)
index 0000000..53c8587
--- /dev/null
@@ -0,0 +1,42 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ChartImageAlignmentStyle
+       {
+               TopLeft = 0,
+               Top = 1,
+               TopRight = 2,
+               Right = 3,
+               BottomRight = 4,
+               Bottom = 5,
+               BottomLeft = 6,
+               Left = 7,
+               Center = 8
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartImageFormat.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartImageFormat.cs
new file mode 100644 (file)
index 0000000..5258e97
--- /dev/null
@@ -0,0 +1,41 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ChartImageFormat
+       {
+               Jpeg = 0,
+               Png = 1,
+               Bmp = 2,
+               Tiff = 3,
+               Gif = 4,
+               Emf = 5,
+               EmfDual = 6,
+               EmfPlus = 7
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartImageWrapMode.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartImageWrapMode.cs
new file mode 100644 (file)
index 0000000..784c1cc
--- /dev/null
@@ -0,0 +1,39 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ChartImageWrapMode
+       {
+               Tile = 0,
+               TileFlipX = 1,
+               TileFlipY = 2,
+               TileFlipXY = 3,
+               Scaled = 4,
+               Unscaled = 100
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartNamedElement.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartNamedElement.cs
new file mode 100644 (file)
index 0000000..464fef6
--- /dev/null
@@ -0,0 +1,47 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public abstract class ChartNamedElement : ChartElement
+       {
+               #region Constructors
+               public ChartNamedElement ()
+               {
+               }
+
+               public ChartNamedElement (string name)
+               {
+                       Name = name;
+               }
+               #endregion
+
+               #region Public Properties
+               public virtual string Name { get; set; }
+               #endregion
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartNamedElementCollection.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartNamedElementCollection.cs
new file mode 100644 (file)
index 0000000..e66ef88
--- /dev/null
@@ -0,0 +1,33 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class ChartNamedElementCollection<T> where T : ChartNamedElement
+       {
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartValueType.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ChartValueType.cs
new file mode 100644 (file)
index 0000000..244d587
--- /dev/null
@@ -0,0 +1,45 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ChartValueType
+       {
+               Auto = 0,
+               Double = 1,
+               Single = 2,
+               Int32 = 3,
+               Int64 = 4,
+               UInt32 = 5,
+               UInt64 = 6,
+               String = 7,
+               DateTime = 8,
+               Date = 9,
+               Time = 10,
+               DateTimeOffset = 11
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/CompareMethod.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/CompareMethod.cs
new file mode 100644 (file)
index 0000000..caacdee
--- /dev/null
@@ -0,0 +1,39 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum CompareMethod
+       {
+               MoreThan = 0,
+               LessThan = 1,
+               EqualTo = 2,
+               MoreThanOrEqualTo = 3,
+               LessThanOrEqualTo = 4,
+               NotEqualTo = 5
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DataPoint.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DataPoint.cs
new file mode 100644 (file)
index 0000000..587cbdd
--- /dev/null
@@ -0,0 +1,115 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Linq;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       [MonoTODO ("Base class should be DataPointCustomProperties")]
+       public class DataPoint : ChartNamedElement
+       {
+               #region Constructors
+               public DataPoint ()
+               {
+               }
+
+               public DataPoint (double xValue, double yValue)
+               {
+                       XValue = xValue;
+                       YValue = new double[] { yValue };
+               }
+
+               public DataPoint (double xValue, double[] yValues)
+               {
+                       XValue = xValue;
+                       YValue = yValues;
+               }
+
+               [MonoTODO ()]
+               public DataPoint (Series series)
+               {
+               }
+               #endregion
+
+               #region Public Properties
+               public bool IsEmpty { get; set; }
+               public override string Name { get; set; }
+               public double XValue { get; set; }
+               public double[] YValue { get; set; }
+               #endregion
+
+               #region Public Methods
+               public DataPoint Clone ()
+               {
+                       DataPoint clone = new DataPoint (XValue, YValue);
+                       clone.IsEmpty = IsEmpty;
+                       clone.Name = Name;
+
+                       return clone;
+               }
+
+               public double GetValueByName (string valueName)
+               {
+                       if (valueName == null)
+                               throw new ArgumentNullException ("valueName");
+                       
+                       valueName = valueName.ToLowerInvariant ();
+
+                       if (valueName == "x")
+                               return XValue;
+
+                       if (valueName.StartsWith ("y")) {
+                               if (valueName.Length == 1)
+                                       return YValue[0];
+
+                               int index = 0;
+
+                               if (int.TryParse (valueName.Substring (1), out index)) {
+                                       if (index > YValue.Length)
+                                               throw new ArgumentException ("Y index greater than number of YValues");
+                                       if (index == 0)
+                                               throw new ArgumentException ("Y index must be greater than zero");
+
+                                       return YValue[index - 1];
+                               }
+                       }
+
+                       throw new ArgumentException ("valueName");
+               }
+
+               public void SetValueXY (object xValue, params object[] yValue)
+               {
+                       XValue = (double)xValue;
+                       YValue = yValue.Cast<double> ().ToArray ();
+               }
+
+               public void SetValueY (params object[] yValue)
+               {
+                       YValue = yValue.Cast<double> ().ToArray ();
+               }
+               #endregion
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DataPointCollection.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DataPointCollection.cs
new file mode 100644 (file)
index 0000000..0d2cc6a
--- /dev/null
@@ -0,0 +1,33 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class DataPointCollection : ChartElementCollection<DataPoint>
+       {
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DataPointCustomProperties.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DataPointCustomProperties.cs
new file mode 100644 (file)
index 0000000..18a2aca
--- /dev/null
@@ -0,0 +1,33 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class DataPointCustomProperties : ChartNamedElement
+       {
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DateRangeType.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DateRangeType.cs
new file mode 100644 (file)
index 0000000..fb0b10a
--- /dev/null
@@ -0,0 +1,39 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum DateRangeType
+       {
+               Year = 0,
+               Month = 1,
+               DayOfWeek = 2,
+               DayOfMonth = 3,
+               Hour = 4,
+               Minute = 5
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DateTimeIntervalType.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/DateTimeIntervalType.cs
new file mode 100644 (file)
index 0000000..68c5358
--- /dev/null
@@ -0,0 +1,44 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum DateTimeIntervalType
+       {
+               Auto = 0,
+               Number = 1,
+               Years = 2,
+               Months = 3,
+               Weeks = 4,
+               Days = 5,
+               Hours = 6,
+               Minutes = 7,
+               Seconds = 8,
+               Milliseconds = 9,
+               NotSet = 10
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/Docking.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/Docking.cs
new file mode 100644 (file)
index 0000000..e34d279
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum Docking
+       {
+               Top = 0,
+               Right = 1,
+               Bottom = 2,
+               Left = 3
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/FinancialFormula.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/FinancialFormula.cs
new file mode 100644 (file)
index 0000000..fa90017
--- /dev/null
@@ -0,0 +1,65 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum FinancialFormula
+       {
+               AccumulationDistribution = 0,
+               AverageTrueRange = 1,
+               BollingerBands = 2,
+               ChaikinOscillator = 3,
+               CommodityChannelIndex = 4,
+               DetrendedPriceOscillator = 5,
+               EaseOfMovement = 6,
+               Envelopes = 7,
+               ExponentialMovingAverage = 8,
+               Forecasting = 9,
+               MovingAverageConvergenceDivergence = 10,
+               MassIndex = 11,
+               MedianPrice = 12,
+               MoneyFlow = 13,
+               NegativeVolumeIndex = 14,
+               OnBalanceVolume = 15,
+               Performance = 16,
+               PositiveVolumeIndex = 17,
+               PriceVolumeTrend = 18,
+               RateOfChange = 19,
+               RelativeStrengthIndex = 20,
+               MovingAverage = 21,
+               StandardDeviation = 22,
+               StochasticIndicator = 23,
+               TriangularMovingAverage = 24,
+               TripleExponentialMovingAverage = 25,
+               TypicalPrice = 26,
+               VolatilityChaikins = 27,
+               VolumeOscillator = 28,
+               WeightedClose = 29,
+               WeightedMovingAverage = 30,
+               WilliamsR = 31
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/GradientStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/GradientStyle.cs
new file mode 100644 (file)
index 0000000..c021b5d
--- /dev/null
@@ -0,0 +1,41 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum GradientStyle
+       {
+               None = 0,
+               LeftRight = 1,
+               TopBottom = 2,
+               Center = 3,
+               DiagonalLeft = 4,
+               DiagonalRight = 5,
+               HorizontalCenter = 6,
+               VerticalCenter = 7
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/GridTickTypes.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/GridTickTypes.cs
new file mode 100644 (file)
index 0000000..f06435b
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum GridTickTypes
+       {
+               None = 0,
+               TickMark = 1,
+               Gridline = 2,
+               All = 3
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/IDataPointFilter.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/IDataPointFilter.cs
new file mode 100644 (file)
index 0000000..11fff42
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public interface IDataPointFilter
+       {
+               bool FilterDataPoint (DataPoint point, Series series, int pointIndex);
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/IntervalAutoMode.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/IntervalAutoMode.cs
new file mode 100644 (file)
index 0000000..2d1cb92
--- /dev/null
@@ -0,0 +1,35 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum IntervalAutoMode
+       {
+               FixedCount = 0,
+               VariableCount = 1
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/IntervalType.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/IntervalType.cs
new file mode 100644 (file)
index 0000000..8555118
--- /dev/null
@@ -0,0 +1,42 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum IntervalType
+       {
+               Number = 0,
+               Years = 1,
+               Months = 2,
+               Weeks = 3,
+               Days = 4,
+               Hours = 5,
+               Minutes = 6,
+               Seconds = 7,
+               Milliseconds = 8
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelAlignmentStyles.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelAlignmentStyles.cs
new file mode 100644 (file)
index 0000000..d1162a2
--- /dev/null
@@ -0,0 +1,42 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LabelAlignmentStyles
+       {
+               Top = 1,
+               Bottom = 2,
+               Right = 4,
+               Left = 8,
+               TopLeft = 16,
+               TopRight = 32,
+               BottomLeft = 64,
+               BottomRight = 128,
+               Center = 256
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelAutoFitStyles.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelAutoFitStyles.cs
new file mode 100644 (file)
index 0000000..7528af5
--- /dev/null
@@ -0,0 +1,41 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LabelAutoFitStyles
+       {
+               None = 0,
+               IncreaseFont = 1,
+               DecreaseFont = 2,
+               StaggeredLabels = 4,
+               LabelsAngleStep30 = 8,
+               LabelsAngleStep45 = 16,
+               LabelsAngleStep90 = 32,
+               WordWrap = 64
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelCalloutStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelCalloutStyle.cs
new file mode 100644 (file)
index 0000000..636a5d9
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LabelCalloutStyle
+       {
+               None = 0,
+               Underlined = 1,
+               Box = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelMarkStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelMarkStyle.cs
new file mode 100644 (file)
index 0000000..5f379e2
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LabelMarkStyle
+       {
+               None = 0,
+               SideMark = 1,
+               LineSideMark = 2,
+               Box = 3
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelOutsidePlotAreaStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LabelOutsidePlotAreaStyle.cs
new file mode 100644 (file)
index 0000000..58f6a57
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LabelOutsidePlotAreaStyle
+       {
+               Yes = 0,
+               No = 1,
+               Partial = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendCellColumnType.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendCellColumnType.cs
new file mode 100644 (file)
index 0000000..77fad07
--- /dev/null
@@ -0,0 +1,35 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LegendCellColumnType
+       {
+               Text = 0,
+               SeriesSymbol = 1
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendCellType.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendCellType.cs
new file mode 100644 (file)
index 0000000..a6594a7
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LegendCellType
+       {
+               Text = 0,
+               SeriesSymbol = 1,
+               Image = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendImageStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendImageStyle.cs
new file mode 100644 (file)
index 0000000..2b29f9d
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LegendImageStyle
+       {
+               Rectangle = 0,
+               Line = 1,
+               Marker = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendItemOrder.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendItemOrder.cs
new file mode 100644 (file)
index 0000000..c49b490
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LegendItemOrder
+       {
+               Auto = 0,
+               SameAsSeriesOrder = 1,
+               ReversedSeriesOrder = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendSeparatorStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendSeparatorStyle.cs
new file mode 100644 (file)
index 0000000..b96e8cb
--- /dev/null
@@ -0,0 +1,41 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LegendSeparatorStyle
+       {
+               None = 0,
+               Line = 1,
+               ThickLine = 2,
+               DoubleLine = 3,
+               DashLine = 4,
+               DotLine = 5,
+               GradientLine = 6,
+               ThickGradientLine = 7
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendStyle.cs
new file mode 100644 (file)
index 0000000..c277148
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LegendStyle
+       {
+               Column = 0,
+               Row = 1,
+               Table = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendTableStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LegendTableStyle.cs
new file mode 100644 (file)
index 0000000..cb3a377
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LegendTableStyle
+       {
+               Auto = 0,
+               Wide = 1,
+               Tall = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LightStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LightStyle.cs
new file mode 100644 (file)
index 0000000..fd36c27
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LightStyle
+       {
+               None = 0,
+               Simplistic = 1,
+               Realistic = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LineAnchorCapStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/LineAnchorCapStyle.cs
new file mode 100644 (file)
index 0000000..4edabb5
--- /dev/null
@@ -0,0 +1,38 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum LineAnchorCapStyle
+       {
+               None = 0,
+               Arrow = 1,
+               Diamond = 2,
+               Square = 3,
+               Round = 4
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/PointSortOrder.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/PointSortOrder.cs
new file mode 100644 (file)
index 0000000..ffdbbc8
--- /dev/null
@@ -0,0 +1,35 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum PointSortOrder
+       {
+               Ascending = 0,
+               Descending = 1
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ScrollBarButtonStyles.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ScrollBarButtonStyles.cs
new file mode 100644 (file)
index 0000000..27a3589
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ScrollBarButtonStyles
+       {
+               None = 0,
+               SmallScroll = 1,
+               ResetZoom = 2,
+               All = 3
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ScrollBarButtonType.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ScrollBarButtonType.cs
new file mode 100644 (file)
index 0000000..703bab4
--- /dev/null
@@ -0,0 +1,39 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ScrollBarButtonType
+       {
+               ThumbTracker = 0,
+               SmallDecrement = 1,
+               SmallIncrement = 2,
+               LargeDecrement = 3,
+               LargeIncrement = 4,
+               ZoomReset = 5
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ScrollType.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/ScrollType.cs
new file mode 100644 (file)
index 0000000..463e47c
--- /dev/null
@@ -0,0 +1,39 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum ScrollType
+       {
+               SmallDecrement = 0,
+               SmallIncrement = 1,
+               LargeDecrement = 2,
+               LargeIncrement = 3,
+               First = 4,
+               Last = 5
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SerializationContents.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SerializationContents.cs
new file mode 100644 (file)
index 0000000..e8b5f22
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum SerializationContents
+       {
+               Default = 1,
+               Data = 2,
+               Appearance = 4,
+               All = 7
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SerializationFormat.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SerializationFormat.cs
new file mode 100644 (file)
index 0000000..3c97fe5
--- /dev/null
@@ -0,0 +1,35 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum SerializationFormat
+       {
+               Xml = 0,
+               Binary = 1
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/Series.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/Series.cs
new file mode 100644 (file)
index 0000000..856bd4f
--- /dev/null
@@ -0,0 +1,41 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class Series : DataPointCustomProperties
+       {
+               public Series ()
+               {
+                       Points = new DataPointCollection ();
+               }
+
+               public string ChartArea { get; set; }
+               public override string Name { get; set; }
+               public DataPointCollection Points { get; private set; }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SeriesChartType.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SeriesChartType.cs
new file mode 100644 (file)
index 0000000..5abbb88
--- /dev/null
@@ -0,0 +1,68 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum SeriesChartType
+       {
+               Point = 0,
+               FastPoint = 1,
+               Bubble = 2,
+               Line = 3,
+               Spline = 4,
+               StepLine = 5,
+               FastLine = 6,
+               Bar = 7,
+               StackedBar = 8,
+               StackedBar100 = 9,
+               Column = 10,
+               StackedColumn = 11,
+               StackedColumn100 = 12,
+               Area = 13,
+               SplineArea = 14,
+               StackedArea = 15,
+               StackedArea100 = 16,
+               Pie = 17,
+               Doughnut = 18,
+               Stock = 19,
+               Candlestick = 20,
+               Range = 21,
+               SplineRange = 22,
+               RangeBar = 23,
+               RangeColumn = 24,
+               Radar = 25,
+               Polar = 26,
+               ErrorBar = 27,
+               BoxPlot = 28,
+               Renko = 29,
+               ThreeLineBreak = 30,
+               Kagi = 31,
+               PointAndFigure = 32,
+               Funnel = 33,
+               Pyramid = 34
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SeriesCollection.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/SeriesCollection.cs
new file mode 100644 (file)
index 0000000..cd95d0d
--- /dev/null
@@ -0,0 +1,33 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public class SeriesCollection : ChartNamedElementCollection<Series>
+       {
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/StartFromZero.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/StartFromZero.cs
new file mode 100644 (file)
index 0000000..0f7a4e3
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum StartFromZero
+       {
+               Auto = 0,
+               Yes = 1,
+               No = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TextAntiAliasingQuality.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TextAntiAliasingQuality.cs
new file mode 100644 (file)
index 0000000..7629dae
--- /dev/null
@@ -0,0 +1,36 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum TextAntiAliasingQuality
+       {
+               Normal = 0,
+               High = 1,
+               SystemDefault = 2
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TextOrientation.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TextOrientation.cs
new file mode 100644 (file)
index 0000000..e95c161
--- /dev/null
@@ -0,0 +1,38 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum TextOrientation
+       {
+               Auto = 0,
+               Horizontal = 1,
+               Rotated90 = 2,
+               Rotated270 = 3,
+               Stacked = 4
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TextStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TextStyle.cs
new file mode 100644 (file)
index 0000000..58a3bdc
--- /dev/null
@@ -0,0 +1,38 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum TextStyle
+       {
+               Default = 0,
+               Shadow = 1,
+               Emboss = 2,
+               Embed = 3,
+               Frame = 4
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TickMarkStyle.cs b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.Charting/TickMarkStyle.cs
new file mode 100644 (file)
index 0000000..240365e
--- /dev/null
@@ -0,0 +1,37 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+
+namespace System.Windows.Forms.DataVisualization.Charting
+{
+       public enum TickMarkStyle
+       {
+               None = 0,
+               OutsideArea = 1,
+               InsideArea = 2,
+               AcrossAxis = 3
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.csproj b/mcs/class/System.Windows.Forms.DataVisualization/System.Windows.Forms.DataVisualization.csproj
new file mode 100644 (file)
index 0000000..b87efa6
--- /dev/null
@@ -0,0 +1,134 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <PropertyGroup>\r
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
+    <ProductVersion>8.0.30703</ProductVersion>\r
+    <SchemaVersion>2.0</SchemaVersion>\r
+    <ProjectGuid>{73F9BAEA-A04B-4254-A736-D3B8B9947340}</ProjectGuid>\r
+    <OutputType>Library</OutputType>\r
+    <AppDesignerFolder>Properties</AppDesignerFolder>\r
+    <RootNamespace>System.Windows.Forms.DataVisualization.Charting</RootNamespace>\r
+    <AssemblyName>System.Windows.Forms.DataVisualization</AssemblyName>\r
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>\r
+    <FileAlignment>512</FileAlignment>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
+    <DebugSymbols>true</DebugSymbols>\r
+    <DebugType>full</DebugType>\r
+    <Optimize>false</Optimize>\r
+    <OutputPath>bin\Debug\</OutputPath>\r
+    <DefineConstants>DEBUG;TRACE</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
+    <DebugType>pdbonly</DebugType>\r
+    <Optimize>true</Optimize>\r
+    <OutputPath>bin\Release\</OutputPath>\r
+    <DefineConstants>TRACE</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <Reference Include="System" />\r
+    <Reference Include="System.Core" />\r
+    <Reference Include="System.Drawing" />\r
+    <Reference Include="System.Windows.Forms" />\r
+    <Reference Include="System.Xml.Linq" />\r
+    <Reference Include="System.Data.DataSetExtensions" />\r
+    <Reference Include="Microsoft.CSharp" />\r
+    <Reference Include="System.Data" />\r
+    <Reference Include="System.Xml" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Compile Include="common\MonoTODOAttribute.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AnchorStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AnnotationPathPoint.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AnnotationPathPointCollection.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AnovaResult.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AreaAlignmentOrientations.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AreaAlignmentStyles.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ArrowAnnotation.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ArrowStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AxisArrowStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AxisEnabled.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AxisName.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AxisScaleBreakStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AxisType.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\BorderSkinStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\BreakLineStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\CalloutStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\Chart.cs">\r
+      <SubType>Component</SubType>\r
+    </Compile>\r
+    <Compile Include="Properties\AssemblyInfo.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartArea.cs">\r
+      <SubType>Code</SubType>\r
+    </Compile>\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AntiAliasingStyles.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartColorPalette.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartDashStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartElement.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartElementCollection.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartElementType.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartHatchStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartImageAlignmentStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartImageFormat.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartImageWrapMode.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartNamedElement.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartNamedElementCollection.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartValueType.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\CompareMethod.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\DataPoint.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\DataPointCollection.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\DataPointCustomProperties.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\DateRangeType.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\DateTimeIntervalType.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\Docking.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\FinancialFormula.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\GradientStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\GridTickTypes.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\IDataPointFilter.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\IntervalAutoMode.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\IntervalType.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LabelAlignmentStyles.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LabelAutoFitStyles.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LabelCalloutStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LabelMarkStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LabelOutsidePlotAreaStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LegendCellColumnType.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LegendCellType.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LegendImageStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LegendItemOrder.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LegendSeparatorStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LegendStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LegendTableStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LightStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\LineAnchorCapStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\PointSortOrder.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ScrollBarButtonStyles.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ScrollBarButtonType.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ScrollType.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\SerializationContents.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\SerializationFormat.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\Series.cs">\r
+      <SubType>Code</SubType>\r
+    </Compile>\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\SeriesChartType.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\SeriesCollection.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\StartFromZero.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\TextAntiAliasingQuality.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\TextOrientation.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\TextStyle.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\TickMarkStyle.cs" />\r
+  </ItemGroup>\r
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
+       Other similar extension points exist, see Microsoft.Common.targets.\r
+  <Target Name="BeforeBuild">\r
+  </Target>\r
+  <Target Name="AfterBuild">\r
+  </Target>\r
+  -->\r
+</Project>
\ No newline at end of file
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Charting.csproj b/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Charting.csproj
new file mode 100644 (file)
index 0000000..7f1eb11
--- /dev/null
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <PropertyGroup>\r
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
+    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>\r
+    <ProductVersion>8.0.30703</ProductVersion>\r
+    <SchemaVersion>2.0</SchemaVersion>\r
+    <ProjectGuid>{9E7C5CA0-2297-414C-B2EB-FC5418548E9D}</ProjectGuid>\r
+    <OutputType>WinExe</OutputType>\r
+    <AppDesignerFolder>Properties</AppDesignerFolder>\r
+    <RootNamespace>WindowsFormsApplication1</RootNamespace>\r
+    <AssemblyName>Charting</AssemblyName>\r
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>\r
+    <TargetFrameworkProfile>Client</TargetFrameworkProfile>\r
+    <FileAlignment>512</FileAlignment>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">\r
+    <PlatformTarget>x86</PlatformTarget>\r
+    <DebugSymbols>true</DebugSymbols>\r
+    <DebugType>full</DebugType>\r
+    <Optimize>false</Optimize>\r
+    <OutputPath>bin\Debug\</OutputPath>\r
+    <DefineConstants>DEBUG;TRACE</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">\r
+    <PlatformTarget>x86</PlatformTarget>\r
+    <DebugType>pdbonly</DebugType>\r
+    <Optimize>true</Optimize>\r
+    <OutputPath>bin\Release\</OutputPath>\r
+    <DefineConstants>TRACE</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <Reference Include="System" />\r
+    <Reference Include="System.Core" />\r
+    <Reference Include="System.Windows.Forms.DataVisualization" />\r
+    <Reference Include="System.Xml.Linq" />\r
+    <Reference Include="System.Data.DataSetExtensions" />\r
+    <Reference Include="Microsoft.CSharp" />\r
+    <Reference Include="System.Data" />\r
+    <Reference Include="System.Deployment" />\r
+    <Reference Include="System.Drawing" />\r
+    <Reference Include="System.Windows.Forms" />\r
+    <Reference Include="System.Xml" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Compile Include="Form1.cs">\r
+      <SubType>Form</SubType>\r
+    </Compile>\r
+    <Compile Include="Form1.Designer.cs">\r
+      <DependentUpon>Form1.cs</DependentUpon>\r
+    </Compile>\r
+    <Compile Include="Program.cs" />\r
+    <Compile Include="Properties\AssemblyInfo.cs" />\r
+    <EmbeddedResource Include="Form1.resx">\r
+      <DependentUpon>Form1.cs</DependentUpon>\r
+    </EmbeddedResource>\r
+    <EmbeddedResource Include="Properties\Resources.resx">\r
+      <Generator>ResXFileCodeGenerator</Generator>\r
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>\r
+      <SubType>Designer</SubType>\r
+    </EmbeddedResource>\r
+    <Compile Include="Properties\Resources.Designer.cs">\r
+      <AutoGen>True</AutoGen>\r
+      <DependentUpon>Resources.resx</DependentUpon>\r
+    </Compile>\r
+    <None Include="Properties\Settings.settings">\r
+      <Generator>SettingsSingleFileGenerator</Generator>\r
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>\r
+    </None>\r
+    <Compile Include="Properties\Settings.Designer.cs">\r
+      <AutoGen>True</AutoGen>\r
+      <DependentUpon>Settings.settings</DependentUpon>\r
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>\r
+    </Compile>\r
+  </ItemGroup>\r
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
+       Other similar extension points exist, see Microsoft.Common.targets.\r
+  <Target Name="BeforeBuild">\r
+  </Target>\r
+  <Target Name="AfterBuild">\r
+  </Target>\r
+  -->\r
+</Project>
\ No newline at end of file
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Form1.Designer.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Form1.Designer.cs
new file mode 100644 (file)
index 0000000..48f4b1a
--- /dev/null
@@ -0,0 +1,74 @@
+namespace WindowsFormsApplication1
+{
+       partial class Form1
+       {
+               /// <summary>
+               /// Required designer variable.
+               /// </summary>
+               private System.ComponentModel.IContainer components;
+
+               /// <summary>
+               /// Clean up any resources being used.
+               /// </summary>
+               /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+               protected override void Dispose (bool disposing)
+               {
+                       if (disposing && (components != null)) {
+                               components.Dispose ();
+                       }
+                       base.Dispose (disposing);
+               }
+
+               #region Windows Form Designer generated code
+
+               /// <summary>
+               /// Required method for Designer support - do not modify
+               /// the contents of this method with the code editor.
+               /// </summary>
+               private void InitializeComponent ()
+               {
+                       System.Windows.Forms.DataVisualization.Charting.ChartArea chartArea1 = new System.Windows.Forms.DataVisualization.Charting.ChartArea ();
+                       System.Windows.Forms.DataVisualization.Charting.Series series1 = new System.Windows.Forms.DataVisualization.Charting.Series ();
+                       System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint1 = new System.Windows.Forms.DataVisualization.Charting.DataPoint (0D, 6D);
+                       System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint2 = new System.Windows.Forms.DataVisualization.Charting.DataPoint (0D, 9D);
+                       System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint3 = new System.Windows.Forms.DataVisualization.Charting.DataPoint (0D, 3D);
+                       System.Windows.Forms.DataVisualization.Charting.DataPoint dataPoint4 = new System.Windows.Forms.DataVisualization.Charting.DataPoint (0D, 5D);
+                       this.chart1 = new MyChart ();
+                       this.SuspendLayout ();
+                       // 
+                       // chart1
+                       // 
+                       chartArea1.Name = "ChartArea1";
+                       this.chart1.ChartAreas.Add (chartArea1);
+                       this.chart1.Location = new System.Drawing.Point (12, 44);
+                       this.chart1.Name = "chart1";
+                       series1.ChartArea = "ChartArea1";
+                       series1.Name = "Series1";
+                       series1.Points.Add (dataPoint1);
+                       series1.Points.Add (dataPoint2);
+                       series1.Points.Add (dataPoint3);
+                       series1.Points.Add (dataPoint4);
+                       this.chart1.Series.Add (series1);
+                       this.chart1.Size = new System.Drawing.Size (506, 303);
+                       this.chart1.TabIndex = 0;
+                       this.chart1.Text = "chart1";
+                       // 
+                       // Form1
+                       // 
+                       this.AutoScaleDimensions = new System.Drawing.SizeF (6F, 13F);
+                       this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+                       this.BackColor = System.Drawing.Color.SlateGray;
+                       this.ClientSize = new System.Drawing.Size (530, 386);
+                       this.Controls.Add (this.chart1);
+                       this.Name = "Form1";
+                       this.Text = "Form1";
+                       this.ResumeLayout (false);
+
+               }
+
+               #endregion
+
+               private System.Windows.Forms.DataVisualization.Charting.Chart chart1;
+       }
+}
+
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Form1.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Form1.cs
new file mode 100644 (file)
index 0000000..0498dd0
--- /dev/null
@@ -0,0 +1,78 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+using System.IO;
+using System.Windows.Forms.DataVisualization.Charting;
+
+namespace WindowsFormsApplication1
+{
+       public partial class Form1 : Form
+       {
+               public Form1 ()
+               {
+                       InitializeComponent ();
+
+                       Text = Path.GetFileNameWithoutExtension (Application.ExecutablePath);
+               }
+
+               private class MyChart : Chart
+               {
+                       protected override void OnPaintBackground (PaintEventArgs pevent)
+                       {
+                               base.OnPaintBackground (pevent);
+                       }
+
+                       protected override void OnPaint (PaintEventArgs e)
+                       {
+                               base.OnPaint (e);
+                       }
+
+                       //protected override void OnPrePaint (ChartPaintEventArgs e)
+                       //{
+                       //        if (e.ChartElement is Series)
+                       //                e.Position.X = 100;
+                       //        else
+                       //                Console.WriteLine (e.ChartElement);
+
+                       //        Console.WriteLine ("PRE: " + e.ChartElement.ToString () + " - " + e.Position.ToString ());
+                       //        base.OnPrePaint (e);
+                       //}
+
+                       //protected override void OnPostPaint (ChartPaintEventArgs e)
+                       //{
+                       //        Console.WriteLine ("POST: " + e.ChartElement.ToString ());
+                       //        base.OnPostPaint (e);
+                       //}
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Form1.resx b/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Form1.resx
new file mode 100644 (file)
index 0000000..29dcb1b
--- /dev/null
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<root>\r
+  <!-- \r
+    Microsoft ResX Schema \r
+    \r
+    Version 2.0\r
+    \r
+    The primary goals of this format is to allow a simple XML format \r
+    that is mostly human readable. The generation and parsing of the \r
+    various data types are done through the TypeConverter classes \r
+    associated with the data types.\r
+    \r
+    Example:\r
+    \r
+    ... ado.net/XML headers & schema ...\r
+    <resheader name="resmimetype">text/microsoft-resx</resheader>\r
+    <resheader name="version">2.0</resheader>\r
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>\r
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>\r
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>\r
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>\r
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">\r
+        <value>[base64 mime encoded serialized .NET Framework object]</value>\r
+    </data>\r
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>\r
+        <comment>This is a comment</comment>\r
+    </data>\r
+                \r
+    There are any number of "resheader" rows that contain simple \r
+    name/value pairs.\r
+    \r
+    Each data row contains a name, and value. The row also contains a \r
+    type or mimetype. Type corresponds to a .NET class that support \r
+    text/value conversion through the TypeConverter architecture. \r
+    Classes that don't support this are serialized and stored with the \r
+    mimetype set.\r
+    \r
+    The mimetype is used for serialized objects, and tells the \r
+    ResXResourceReader how to depersist the object. This is currently not \r
+    extensible. For a given mimetype the value must be set accordingly:\r
+    \r
+    Note - application/x-microsoft.net.object.binary.base64 is the format \r
+    that the ResXResourceWriter will generate, however the reader can \r
+    read any of the formats listed below.\r
+    \r
+    mimetype: application/x-microsoft.net.object.binary.base64\r
+    value   : The object must be serialized with \r
+            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter\r
+            : and then encoded with base64 encoding.\r
+    \r
+    mimetype: application/x-microsoft.net.object.soap.base64\r
+    value   : The object must be serialized with \r
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter\r
+            : and then encoded with base64 encoding.\r
+\r
+    mimetype: application/x-microsoft.net.object.bytearray.base64\r
+    value   : The object must be serialized into a byte array \r
+            : using a System.ComponentModel.TypeConverter\r
+            : and then encoded with base64 encoding.\r
+    -->\r
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">\r
+    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />\r
+    <xsd:element name="root" msdata:IsDataSet="true">\r
+      <xsd:complexType>\r
+        <xsd:choice maxOccurs="unbounded">\r
+          <xsd:element name="metadata">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" use="required" type="xsd:string" />\r
+              <xsd:attribute name="type" type="xsd:string" />\r
+              <xsd:attribute name="mimetype" type="xsd:string" />\r
+              <xsd:attribute ref="xml:space" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="assembly">\r
+            <xsd:complexType>\r
+              <xsd:attribute name="alias" type="xsd:string" />\r
+              <xsd:attribute name="name" type="xsd:string" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="data">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />\r
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />\r
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />\r
+              <xsd:attribute ref="xml:space" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="resheader">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" use="required" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+        </xsd:choice>\r
+      </xsd:complexType>\r
+    </xsd:element>\r
+  </xsd:schema>\r
+  <resheader name="resmimetype">\r
+    <value>text/microsoft-resx</value>\r
+  </resheader>\r
+  <resheader name="version">\r
+    <value>2.0</value>\r
+  </resheader>\r
+  <resheader name="reader">\r
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+  </resheader>\r
+  <resheader name="writer">\r
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+  </resheader>\r
+</root>
\ No newline at end of file
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Program.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Program.cs
new file mode 100644 (file)
index 0000000..423420b
--- /dev/null
@@ -0,0 +1,47 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Windows.Forms;
+using System.Windows.Forms.DataVisualization.Charting;
+
+namespace WindowsFormsApplication1
+{
+       static class Program
+       {
+               /// <summary>
+               /// The main entry point for the application.
+               /// </summary>
+               [STAThread]
+               static void Main ()
+               {
+                       Application.EnableVisualStyles ();
+                       Application.SetCompatibleTextRenderingDefault (false);
+                       Application.Run (new Form1 ());
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/AssemblyInfo.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/AssemblyInfo.cs
new file mode 100644 (file)
index 0000000..2d1e0d7
--- /dev/null
@@ -0,0 +1,61 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle ("WindowsFormsApplication1")]
+[assembly: AssemblyDescription ("")]
+[assembly: AssemblyConfiguration ("")]
+[assembly: AssemblyCompany ("Novell")]
+[assembly: AssemblyProduct ("WindowsFormsApplication1")]
+[assembly: AssemblyCopyright ("Copyright © Novell 2009")]
+[assembly: AssemblyTrademark ("")]
+[assembly: AssemblyCulture ("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible (false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid ("ae3fb114-8c19-431e-97a9-9148b4988b09")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers 
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion ("1.0.0.0")]
+[assembly: AssemblyFileVersion ("1.0.0.0")]
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Resources.Designer.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Resources.Designer.cs
new file mode 100644 (file)
index 0000000..b3a7294
--- /dev/null
@@ -0,0 +1,70 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.21006.1
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace WindowsFormsApplication1.Properties
+{
+
+
+       /// <summary>
+       ///   A strongly-typed resource class, for looking up localized strings, etc.
+       /// </summary>
+       // This class was auto-generated by the StronglyTypedResourceBuilder
+       // class via a tool like ResGen or Visual Studio.
+       // To add or remove a member, edit your .ResX file then rerun ResGen
+       // with the /str option, or rebuild your VS project.
+       [global::System.CodeDom.Compiler.GeneratedCodeAttribute ("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+       [global::System.Diagnostics.DebuggerNonUserCodeAttribute ()]
+       [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute ()]
+       internal class Resources
+       {
+
+               private static global::System.Resources.ResourceManager resourceMan;
+
+               private static global::System.Globalization.CultureInfo resourceCulture;
+
+               [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute ("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+               internal Resources ()
+               {
+               }
+
+               /// <summary>
+               ///   Returns the cached ResourceManager instance used by this class.
+               /// </summary>
+               [global::System.ComponentModel.EditorBrowsableAttribute (global::System.ComponentModel.EditorBrowsableState.Advanced)]
+               internal static global::System.Resources.ResourceManager ResourceManager
+               {
+                       get
+                       {
+                               if ((resourceMan == null)) {
+                                       global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager ("WindowsFormsApplication1.Properties.Resources", typeof (Resources).Assembly);
+                                       resourceMan = temp;
+                               }
+                               return resourceMan;
+                       }
+               }
+
+               /// <summary>
+               ///   Overrides the current thread's CurrentUICulture property for all
+               ///   resource lookups using this strongly typed resource class.
+               /// </summary>
+               [global::System.ComponentModel.EditorBrowsableAttribute (global::System.ComponentModel.EditorBrowsableState.Advanced)]
+               internal static global::System.Globalization.CultureInfo Culture
+               {
+                       get
+                       {
+                               return resourceCulture;
+                       }
+                       set
+                       {
+                               resourceCulture = value;
+                       }
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Resources.resx b/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Resources.resx
new file mode 100644 (file)
index 0000000..ffecec8
--- /dev/null
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<root>\r
+  <!-- \r
+    Microsoft ResX Schema \r
+    \r
+    Version 2.0\r
+    \r
+    The primary goals of this format is to allow a simple XML format \r
+    that is mostly human readable. The generation and parsing of the \r
+    various data types are done through the TypeConverter classes \r
+    associated with the data types.\r
+    \r
+    Example:\r
+    \r
+    ... ado.net/XML headers & schema ...\r
+    <resheader name="resmimetype">text/microsoft-resx</resheader>\r
+    <resheader name="version">2.0</resheader>\r
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>\r
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>\r
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>\r
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>\r
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">\r
+        <value>[base64 mime encoded serialized .NET Framework object]</value>\r
+    </data>\r
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>\r
+        <comment>This is a comment</comment>\r
+    </data>\r
+                \r
+    There are any number of "resheader" rows that contain simple \r
+    name/value pairs.\r
+    \r
+    Each data row contains a name, and value. The row also contains a \r
+    type or mimetype. Type corresponds to a .NET class that support \r
+    text/value conversion through the TypeConverter architecture. \r
+    Classes that don't support this are serialized and stored with the \r
+    mimetype set.\r
+    \r
+    The mimetype is used for serialized objects, and tells the \r
+    ResXResourceReader how to depersist the object. This is currently not \r
+    extensible. For a given mimetype the value must be set accordingly:\r
+    \r
+    Note - application/x-microsoft.net.object.binary.base64 is the format \r
+    that the ResXResourceWriter will generate, however the reader can \r
+    read any of the formats listed below.\r
+    \r
+    mimetype: application/x-microsoft.net.object.binary.base64\r
+    value   : The object must be serialized with \r
+            : System.Serialization.Formatters.Binary.BinaryFormatter\r
+            : and then encoded with base64 encoding.\r
+    \r
+    mimetype: application/x-microsoft.net.object.soap.base64\r
+    value   : The object must be serialized with \r
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter\r
+            : and then encoded with base64 encoding.\r
+\r
+    mimetype: application/x-microsoft.net.object.bytearray.base64\r
+    value   : The object must be serialized into a byte array \r
+            : using a System.ComponentModel.TypeConverter\r
+            : and then encoded with base64 encoding.\r
+    -->\r
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">\r
+    <xsd:element name="root" msdata:IsDataSet="true">\r
+      <xsd:complexType>\r
+        <xsd:choice maxOccurs="unbounded">\r
+          <xsd:element name="metadata">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" />\r
+              <xsd:attribute name="type" type="xsd:string" />\r
+              <xsd:attribute name="mimetype" type="xsd:string" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="assembly">\r
+            <xsd:complexType>\r
+              <xsd:attribute name="alias" type="xsd:string" />\r
+              <xsd:attribute name="name" type="xsd:string" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="data">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />\r
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />\r
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="resheader">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" use="required" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+        </xsd:choice>\r
+      </xsd:complexType>\r
+    </xsd:element>\r
+  </xsd:schema>\r
+  <resheader name="resmimetype">\r
+    <value>text/microsoft-resx</value>\r
+  </resheader>\r
+  <resheader name="version">\r
+    <value>2.0</value>\r
+  </resheader>\r
+  <resheader name="reader">\r
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+  </resheader>\r
+  <resheader name="writer">\r
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+  </resheader>\r
+</root>
\ No newline at end of file
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Settings.Designer.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Settings.Designer.cs
new file mode 100644 (file)
index 0000000..d3cffcf
--- /dev/null
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.21006.1
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace WindowsFormsApplication1.Properties
+{
+
+
+       [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute ()]
+       [global::System.CodeDom.Compiler.GeneratedCodeAttribute ("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
+       internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+       {
+
+               private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized (new Settings ())));
+
+               public static Settings Default
+               {
+                       get
+                       {
+                               return defaultInstance;
+                       }
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Settings.settings b/mcs/class/System.Windows.Forms.DataVisualization/Test/Charting/Properties/Settings.settings
new file mode 100644 (file)
index 0000000..abf36c5
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>\r
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">\r
+  <Profiles>\r
+    <Profile Name="(Default)" />\r
+  </Profiles>\r
+  <Settings />\r
+</SettingsFile>\r
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/ChartingTests.csproj b/mcs/class/System.Windows.Forms.DataVisualization/Test/ChartingTests.csproj
new file mode 100644 (file)
index 0000000..c7bf10c
--- /dev/null
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <PropertyGroup>\r
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
+    <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>\r
+    <ProductVersion>8.0.30703</ProductVersion>\r
+    <SchemaVersion>2.0</SchemaVersion>\r
+    <ProjectGuid>{D318CCA4-B16E-434D-B490-53A810FC949E}</ProjectGuid>\r
+    <OutputType>Library</OutputType>\r
+    <AppDesignerFolder>Properties</AppDesignerFolder>\r
+    <RootNamespace>ChartingTests</RootNamespace>\r
+    <AssemblyName>ChartingTests</AssemblyName>\r
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>\r
+    <FileAlignment>512</FileAlignment>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">\r
+    <DebugSymbols>true</DebugSymbols>\r
+    <DebugType>full</DebugType>\r
+    <Optimize>false</Optimize>\r
+    <OutputPath>bin\Debug\</OutputPath>\r
+    <DefineConstants>DEBUG;TRACE</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">\r
+    <DebugType>pdbonly</DebugType>\r
+    <Optimize>true</Optimize>\r
+    <OutputPath>bin\Release\</OutputPath>\r
+    <DefineConstants>TRACE</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <Reference Include="nunit.framework, Version=2.5.2.9222, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77, processorArchitecture=MSIL">\r
+      <SpecificVersion>False</SpecificVersion>\r
+      <HintPath>..\..\..\..\..\..\..\Program Files (x86)\NUnit 2.5.2\bin\net-2.0\framework\nunit.framework.dll</HintPath>\r
+    </Reference>\r
+    <Reference Include="System" />\r
+    <Reference Include="System.Core" />\r
+    <Reference Include="System.Drawing" />\r
+    <Reference Include="System.Windows.Forms.DataVisualization" />\r
+    <Reference Include="System.Xml.Linq" />\r
+    <Reference Include="System.Data.DataSetExtensions" />\r
+    <Reference Include="Microsoft.CSharp" />\r
+    <Reference Include="System.Data" />\r
+    <Reference Include="System.Xml" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Compile Include="Properties\AssemblyInfo.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AnnotationPathPointTest.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AnovaResultTest.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ArrowAnnotationTest.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\AxisScaleBreakStyleTest.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\ChartElementTest.cs" />\r
+    <Compile Include="System.Windows.Forms.DataVisualization.Charting\DataPointTest.cs" />\r
+  </ItemGroup>\r
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
+       Other similar extension points exist, see Microsoft.Common.targets.\r
+  <Target Name="BeforeBuild">\r
+  </Target>\r
+  <Target Name="AfterBuild">\r
+  </Target>\r
+  -->\r
+</Project>
\ No newline at end of file
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Form1.Designer.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Form1.Designer.cs
new file mode 100644 (file)
index 0000000..d4cb2bb
--- /dev/null
@@ -0,0 +1,38 @@
+namespace MonoCharting
+{
+       partial class Form1
+       {
+               /// <summary>
+               /// Required designer variable.
+               /// </summary>
+               private System.ComponentModel.IContainer components;
+
+               /// <summary>
+               /// Clean up any resources being used.
+               /// </summary>
+               /// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
+               protected override void Dispose (bool disposing)
+               {
+                       if (disposing && (components != null)) {
+                               components.Dispose ();
+                       }
+                       base.Dispose (disposing);
+               }
+
+               #region Windows Form Designer generated code
+
+               /// <summary>
+               /// Required method for Designer support - do not modify
+               /// the contents of this method with the code editor.
+               /// </summary>
+               private void InitializeComponent ()
+               {
+                       this.components = new System.ComponentModel.Container ();
+                       this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
+                       this.Text = "Form1";
+               }
+
+               #endregion
+       }
+}
+
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Form1.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Form1.cs
new file mode 100644 (file)
index 0000000..21fa171
--- /dev/null
@@ -0,0 +1,19 @@
+using System;
+using System.Collections.Generic;
+using System.ComponentModel;
+using System.Data;
+using System.Drawing;
+using System.Linq;
+using System.Text;
+using System.Windows.Forms;
+
+namespace MonoCharting
+{
+       public partial class Form1 : Form
+       {
+               public Form1 ()
+               {
+                       InitializeComponent ();
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/MonoCharting.csproj b/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/MonoCharting.csproj
new file mode 100644 (file)
index 0000000..cf0390c
--- /dev/null
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">\r
+  <PropertyGroup>\r
+    <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>\r
+    <Platform Condition=" '$(Platform)' == '' ">x86</Platform>\r
+    <ProductVersion>8.0.30703</ProductVersion>\r
+    <SchemaVersion>2.0</SchemaVersion>\r
+    <ProjectGuid>{2DF0C530-64FF-4125-B03C-B79F7A5E1F7E}</ProjectGuid>\r
+    <OutputType>WinExe</OutputType>\r
+    <AppDesignerFolder>Properties</AppDesignerFolder>\r
+    <RootNamespace>MonoCharting</RootNamespace>\r
+    <AssemblyName>MonoCharting</AssemblyName>\r
+    <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>\r
+    <TargetFrameworkProfile>Client</TargetFrameworkProfile>\r
+    <FileAlignment>512</FileAlignment>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' ">\r
+    <PlatformTarget>x86</PlatformTarget>\r
+    <DebugSymbols>true</DebugSymbols>\r
+    <DebugType>full</DebugType>\r
+    <Optimize>false</Optimize>\r
+    <OutputPath>bin\Debug\</OutputPath>\r
+    <DefineConstants>DEBUG;TRACE</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+  </PropertyGroup>\r
+  <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' ">\r
+    <PlatformTarget>x86</PlatformTarget>\r
+    <DebugType>pdbonly</DebugType>\r
+    <Optimize>true</Optimize>\r
+    <OutputPath>bin\Release\</OutputPath>\r
+    <DefineConstants>TRACE</DefineConstants>\r
+    <ErrorReport>prompt</ErrorReport>\r
+    <WarningLevel>4</WarningLevel>\r
+  </PropertyGroup>\r
+  <ItemGroup>\r
+    <Reference Include="System" />\r
+    <Reference Include="System.Core" />\r
+    <Reference Include="System.Xml.Linq" />\r
+    <Reference Include="System.Data.DataSetExtensions" />\r
+    <Reference Include="Microsoft.CSharp" />\r
+    <Reference Include="System.Data" />\r
+    <Reference Include="System.Deployment" />\r
+    <Reference Include="System.Drawing" />\r
+    <Reference Include="System.Windows.Forms" />\r
+    <Reference Include="System.Xml" />\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <Compile Include="..\Charting\Form1.cs">\r
+      <SubType>Form</SubType>\r
+    </Compile>\r
+    <Compile Include="..\Charting\Form1.Designer.cs">\r
+      <DependentUpon>Form1.cs</DependentUpon>\r
+    </Compile>\r
+    <Compile Include="Program.cs" />\r
+    <Compile Include="Properties\AssemblyInfo.cs" />\r
+    <EmbeddedResource Include="Properties\Resources.resx">\r
+      <Generator>ResXFileCodeGenerator</Generator>\r
+      <LastGenOutput>Resources.Designer.cs</LastGenOutput>\r
+      <SubType>Designer</SubType>\r
+    </EmbeddedResource>\r
+    <Compile Include="Properties\Resources.Designer.cs">\r
+      <AutoGen>True</AutoGen>\r
+      <DependentUpon>Resources.resx</DependentUpon>\r
+    </Compile>\r
+    <None Include="Properties\Settings.settings">\r
+      <Generator>SettingsSingleFileGenerator</Generator>\r
+      <LastGenOutput>Settings.Designer.cs</LastGenOutput>\r
+    </None>\r
+    <Compile Include="Properties\Settings.Designer.cs">\r
+      <AutoGen>True</AutoGen>\r
+      <DependentUpon>Settings.settings</DependentUpon>\r
+      <DesignTimeSharedInput>True</DesignTimeSharedInput>\r
+    </Compile>\r
+  </ItemGroup>\r
+  <ItemGroup>\r
+    <ProjectReference Include="..\..\System.Windows.Forms.DataVisualization.csproj">\r
+      <Project>{73F9BAEA-A04B-4254-A736-D3B8B9947340}</Project>\r
+      <Name>System.Windows.Forms.DataVisualization</Name>\r
+    </ProjectReference>\r
+  </ItemGroup>\r
+  <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />\r
+  <!-- To modify your build process, add your task inside one of the targets below and uncomment it. \r
+       Other similar extension points exist, see Microsoft.Common.targets.\r
+  <Target Name="BeforeBuild">\r
+  </Target>\r
+  <Target Name="AfterBuild">\r
+  </Target>\r
+  -->\r
+</Project>
\ No newline at end of file
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Program.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Program.cs
new file mode 100644 (file)
index 0000000..b5a9243
--- /dev/null
@@ -0,0 +1,46 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Windows.Forms;
+
+namespace MonoCharting
+{
+       static class Program
+       {
+               /// <summary>
+               /// The main entry point for the application.
+               /// </summary>
+               [STAThread]
+               static void Main ()
+               {
+                       Application.EnableVisualStyles ();
+                       Application.SetCompatibleTextRenderingDefault (false);
+                       Application.Run (new WindowsFormsApplication1.Form1 ());
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/AssemblyInfo.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/AssemblyInfo.cs
new file mode 100644 (file)
index 0000000..6a6f0f1
--- /dev/null
@@ -0,0 +1,61 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle ("MonoCharting")]
+[assembly: AssemblyDescription ("")]
+[assembly: AssemblyConfiguration ("")]
+[assembly: AssemblyCompany ("Novell")]
+[assembly: AssemblyProduct ("MonoCharting")]
+[assembly: AssemblyCopyright ("Copyright © Novell 2009")]
+[assembly: AssemblyTrademark ("")]
+[assembly: AssemblyCulture ("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible (false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid ("f1cb3952-d225-4fa1-ab54-01d8d27a07be")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers 
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion ("1.0.0.0")]
+[assembly: AssemblyFileVersion ("1.0.0.0")]
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Resources.Designer.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Resources.Designer.cs
new file mode 100644 (file)
index 0000000..953cad2
--- /dev/null
@@ -0,0 +1,70 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.21006.1
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MonoCharting.Properties
+{
+
+
+       /// <summary>
+       ///   A strongly-typed resource class, for looking up localized strings, etc.
+       /// </summary>
+       // This class was auto-generated by the StronglyTypedResourceBuilder
+       // class via a tool like ResGen or Visual Studio.
+       // To add or remove a member, edit your .ResX file then rerun ResGen
+       // with the /str option, or rebuild your VS project.
+       [global::System.CodeDom.Compiler.GeneratedCodeAttribute ("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+       [global::System.Diagnostics.DebuggerNonUserCodeAttribute ()]
+       [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute ()]
+       internal class Resources
+       {
+
+               private static global::System.Resources.ResourceManager resourceMan;
+
+               private static global::System.Globalization.CultureInfo resourceCulture;
+
+               [global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute ("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
+               internal Resources ()
+               {
+               }
+
+               /// <summary>
+               ///   Returns the cached ResourceManager instance used by this class.
+               /// </summary>
+               [global::System.ComponentModel.EditorBrowsableAttribute (global::System.ComponentModel.EditorBrowsableState.Advanced)]
+               internal static global::System.Resources.ResourceManager ResourceManager
+               {
+                       get
+                       {
+                               if ((resourceMan == null)) {
+                                       global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager ("MonoCharting.Properties.Resources", typeof (Resources).Assembly);
+                                       resourceMan = temp;
+                               }
+                               return resourceMan;
+                       }
+               }
+
+               /// <summary>
+               ///   Overrides the current thread's CurrentUICulture property for all
+               ///   resource lookups using this strongly typed resource class.
+               /// </summary>
+               [global::System.ComponentModel.EditorBrowsableAttribute (global::System.ComponentModel.EditorBrowsableState.Advanced)]
+               internal static global::System.Globalization.CultureInfo Culture
+               {
+                       get
+                       {
+                               return resourceCulture;
+                       }
+                       set
+                       {
+                               resourceCulture = value;
+                       }
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Resources.resx b/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Resources.resx
new file mode 100644 (file)
index 0000000..ffecec8
--- /dev/null
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="utf-8"?>\r
+<root>\r
+  <!-- \r
+    Microsoft ResX Schema \r
+    \r
+    Version 2.0\r
+    \r
+    The primary goals of this format is to allow a simple XML format \r
+    that is mostly human readable. The generation and parsing of the \r
+    various data types are done through the TypeConverter classes \r
+    associated with the data types.\r
+    \r
+    Example:\r
+    \r
+    ... ado.net/XML headers & schema ...\r
+    <resheader name="resmimetype">text/microsoft-resx</resheader>\r
+    <resheader name="version">2.0</resheader>\r
+    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>\r
+    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>\r
+    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>\r
+    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>\r
+    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">\r
+        <value>[base64 mime encoded serialized .NET Framework object]</value>\r
+    </data>\r
+    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">\r
+        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>\r
+        <comment>This is a comment</comment>\r
+    </data>\r
+                \r
+    There are any number of "resheader" rows that contain simple \r
+    name/value pairs.\r
+    \r
+    Each data row contains a name, and value. The row also contains a \r
+    type or mimetype. Type corresponds to a .NET class that support \r
+    text/value conversion through the TypeConverter architecture. \r
+    Classes that don't support this are serialized and stored with the \r
+    mimetype set.\r
+    \r
+    The mimetype is used for serialized objects, and tells the \r
+    ResXResourceReader how to depersist the object. This is currently not \r
+    extensible. For a given mimetype the value must be set accordingly:\r
+    \r
+    Note - application/x-microsoft.net.object.binary.base64 is the format \r
+    that the ResXResourceWriter will generate, however the reader can \r
+    read any of the formats listed below.\r
+    \r
+    mimetype: application/x-microsoft.net.object.binary.base64\r
+    value   : The object must be serialized with \r
+            : System.Serialization.Formatters.Binary.BinaryFormatter\r
+            : and then encoded with base64 encoding.\r
+    \r
+    mimetype: application/x-microsoft.net.object.soap.base64\r
+    value   : The object must be serialized with \r
+            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter\r
+            : and then encoded with base64 encoding.\r
+\r
+    mimetype: application/x-microsoft.net.object.bytearray.base64\r
+    value   : The object must be serialized into a byte array \r
+            : using a System.ComponentModel.TypeConverter\r
+            : and then encoded with base64 encoding.\r
+    -->\r
+  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">\r
+    <xsd:element name="root" msdata:IsDataSet="true">\r
+      <xsd:complexType>\r
+        <xsd:choice maxOccurs="unbounded">\r
+          <xsd:element name="metadata">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" />\r
+              <xsd:attribute name="type" type="xsd:string" />\r
+              <xsd:attribute name="mimetype" type="xsd:string" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="assembly">\r
+            <xsd:complexType>\r
+              <xsd:attribute name="alias" type="xsd:string" />\r
+              <xsd:attribute name="name" type="xsd:string" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="data">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" msdata:Ordinal="1" />\r
+              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />\r
+              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+          <xsd:element name="resheader">\r
+            <xsd:complexType>\r
+              <xsd:sequence>\r
+                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />\r
+              </xsd:sequence>\r
+              <xsd:attribute name="name" type="xsd:string" use="required" />\r
+            </xsd:complexType>\r
+          </xsd:element>\r
+        </xsd:choice>\r
+      </xsd:complexType>\r
+    </xsd:element>\r
+  </xsd:schema>\r
+  <resheader name="resmimetype">\r
+    <value>text/microsoft-resx</value>\r
+  </resheader>\r
+  <resheader name="version">\r
+    <value>2.0</value>\r
+  </resheader>\r
+  <resheader name="reader">\r
+    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+  </resheader>\r
+  <resheader name="writer">\r
+    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>\r
+  </resheader>\r
+</root>
\ No newline at end of file
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Settings.Designer.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Settings.Designer.cs
new file mode 100644 (file)
index 0000000..e9cfe3a
--- /dev/null
@@ -0,0 +1,30 @@
+//------------------------------------------------------------------------------
+// <auto-generated>
+//     This code was generated by a tool.
+//     Runtime Version:4.0.21006.1
+//
+//     Changes to this file may cause incorrect behavior and will be lost if
+//     the code is regenerated.
+// </auto-generated>
+//------------------------------------------------------------------------------
+
+namespace MonoCharting.Properties
+{
+
+
+       [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute ()]
+       [global::System.CodeDom.Compiler.GeneratedCodeAttribute ("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
+       internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
+       {
+
+               private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized (new Settings ())));
+
+               public static Settings Default
+               {
+                       get
+                       {
+                               return defaultInstance;
+                       }
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Settings.settings b/mcs/class/System.Windows.Forms.DataVisualization/Test/MonoCharting/Properties/Settings.settings
new file mode 100644 (file)
index 0000000..abf36c5
--- /dev/null
@@ -0,0 +1,7 @@
+<?xml version='1.0' encoding='utf-8'?>\r
+<SettingsFile xmlns="http://schemas.microsoft.com/VisualStudio/2004/01/settings" CurrentProfile="(Default)">\r
+  <Profiles>\r
+    <Profile Name="(Default)" />\r
+  </Profiles>\r
+  <Settings />\r
+</SettingsFile>\r
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/Properties/AssemblyInfo.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/Properties/AssemblyInfo.cs
new file mode 100644 (file)
index 0000000..22506b1
--- /dev/null
@@ -0,0 +1,61 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System.Reflection;
+using System.Runtime.CompilerServices;
+using System.Runtime.InteropServices;
+
+// General Information about an assembly is controlled through the following 
+// set of attributes. Change these attribute values to modify the information
+// associated with an assembly.
+[assembly: AssemblyTitle ("ChartingTests")]
+[assembly: AssemblyDescription ("")]
+[assembly: AssemblyConfiguration ("")]
+[assembly: AssemblyCompany ("Novell")]
+[assembly: AssemblyProduct ("ChartingTests")]
+[assembly: AssemblyCopyright ("Copyright © Novell 2009")]
+[assembly: AssemblyTrademark ("")]
+[assembly: AssemblyCulture ("")]
+
+// Setting ComVisible to false makes the types in this assembly not visible 
+// to COM components.  If you need to access a type in this assembly from 
+// COM, set the ComVisible attribute to true on that type.
+[assembly: ComVisible (false)]
+
+// The following GUID is for the ID of the typelib if this project is exposed to COM
+[assembly: Guid ("a541a183-f8be-488a-bb1d-9979c1333ad0")]
+
+// Version information for an assembly consists of the following four values:
+//
+//      Major Version
+//      Minor Version 
+//      Build Number
+//      Revision
+//
+// You can specify all the values or you can default the Build and Revision Numbers 
+// by using the '*' as shown below:
+// [assembly: AssemblyVersion("1.0.*")]
+[assembly: AssemblyVersion ("1.0.0.0")]
+[assembly: AssemblyFileVersion ("1.0.0.0")]
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/AnnotationPathPointTest.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/AnnotationPathPointTest.cs
new file mode 100644 (file)
index 0000000..1933373
--- /dev/null
@@ -0,0 +1,93 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Windows.Forms.DataVisualization.Charting;
+using NUnit.Framework;
+
+namespace ChartingTests
+{
+       [TestFixture]
+       public class AnnotationPathPointTest
+       {
+               [Test]
+               public void Constructor1 ()
+               {
+                       AnnotationPathPoint app = new AnnotationPathPoint ();
+
+                       Assert.AreEqual (0, app.X, "A1");
+                       Assert.AreEqual (0, app.Y, "A2");
+                       Assert.AreEqual (null, app.Tag, "A3");
+               }
+
+               [Test]
+               public void Constructor2 ()
+               {
+                       AnnotationPathPoint app = new AnnotationPathPoint (3, 3);
+
+                       Assert.AreEqual (3, app.X, "A1");
+                       Assert.AreEqual (3, app.Y, "A2");
+                       Assert.AreEqual (null, app.Tag, "A3");
+               }
+
+               [Test]
+               public void Constructor3 ()
+               {
+                       AnnotationPathPoint app = new AnnotationPathPoint (5, 5, 2);
+
+                       Assert.AreEqual (5, app.X, "A1");
+                       Assert.AreEqual (5, app.Y, "A2");
+                       Assert.AreEqual (null, app.Tag, "A3");
+               }
+
+               [Test]
+               public void XProperty ()
+               {
+                       AnnotationPathPoint app = new AnnotationPathPoint ();
+
+                       Assert.AreEqual (0, app.X, "A1");
+
+                       app.X = 5;
+                       Assert.AreEqual (5, app.X, "A2");
+
+                       app.X = -5;
+                       Assert.AreEqual (-5, app.X, "A3");
+               }
+
+               [Test]
+               public void YProperty ()
+               {
+                       AnnotationPathPoint app = new AnnotationPathPoint ();
+
+                       Assert.AreEqual (0, app.Y, "A1");
+
+                       app.Y = 5;
+                       Assert.AreEqual (5, app.Y, "A2");
+
+                       app.Y = -5;
+                       Assert.AreEqual (-5, app.Y, "A3");
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/AnovaResultTest.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/AnovaResultTest.cs
new file mode 100644 (file)
index 0000000..8a146d2
--- /dev/null
@@ -0,0 +1,52 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Windows.Forms.DataVisualization.Charting;
+using NUnit.Framework;
+
+namespace ChartingTests
+{
+       [TestFixture]
+       public class AnovaResultTest
+       {
+               [Test]
+               public void Constructor ()
+               {
+                       AnovaResult ar = new AnovaResult ();
+                       
+                       Assert.AreEqual (0, ar.DegreeOfFreedomBetweenGroups, "A1");
+                       Assert.AreEqual (0, ar.DegreeOfFreedomTotal, "A2");
+                       Assert.AreEqual (0, ar.DegreeOfFreedomWithinGroups, "A3");
+                       Assert.AreEqual (0, ar.FCriticalValue, "A4");
+                       Assert.AreEqual (0, ar.FRatio, "A5");
+                       Assert.AreEqual (0, ar.MeanSquareVarianceBetweenGroups, "A6");
+                       Assert.AreEqual (0, ar.MeanSquareVarianceWithinGroups, "A7");
+                       Assert.AreEqual (0, ar.SumOfSquaresBetweenGroups, "A8");
+                       Assert.AreEqual (0, ar.SumOfSquaresTotal, "A9");
+                       Assert.AreEqual (0, ar.SumOfSquaresWithinGroups, "A10");
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/ArrowAnnotationTest.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/ArrowAnnotationTest.cs
new file mode 100644 (file)
index 0000000..ccc5700
--- /dev/null
@@ -0,0 +1,76 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Windows.Forms.DataVisualization.Charting;
+using NUnit.Framework;
+
+namespace ChartingTests
+{
+       [TestFixture]
+       public class ArrowAnnotationTest
+       {
+               [Test]
+               public void Constructor ()
+               {
+                       ArrowAnnotation aa = new ArrowAnnotation ();
+
+                       Assert.AreEqual (5, aa.ArrowSize, "A1");
+                       Assert.AreEqual (ArrowStyle.Simple, aa.ArrowStyle, "A2");
+               }
+
+               [Test]
+               public void ArrowSizeProperty ()
+               {
+                       ArrowAnnotation aa = new ArrowAnnotation ();
+
+                       Assert.AreEqual (5, aa.ArrowSize, "A1");
+
+                       aa.ArrowSize = 3;
+                       Assert.AreEqual (3, aa.ArrowSize, "A2");
+               }
+
+               [Test]
+               [ExpectedException (typeof (ArgumentOutOfRangeException))]
+               public void ArrowSizePropertyAOORE ()
+               {
+                       ArrowAnnotation aa = new ArrowAnnotation ();
+                       
+                       aa.ArrowSize = 0;
+               }
+
+
+               [Test]
+               public void ArrowStyleProperty ()
+               {
+                       ArrowAnnotation aa = new ArrowAnnotation ();
+
+                       Assert.AreEqual (ArrowStyle.Simple, aa.ArrowStyle, "A1");
+
+                       aa.ArrowStyle = ArrowStyle.DoubleArrow;
+                       Assert.AreEqual (ArrowStyle.DoubleArrow, aa.ArrowStyle, "A2");
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/AxisScaleBreakStyleTest.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/AxisScaleBreakStyleTest.cs
new file mode 100644 (file)
index 0000000..e820427
--- /dev/null
@@ -0,0 +1,52 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Windows.Forms.DataVisualization.Charting;
+using NUnit.Framework;
+using System.Drawing;
+
+namespace ChartingTests
+{
+       [TestFixture]
+       public class AxisScaleBreakStyleTest
+       {
+               [Test]
+               public void Constructor ()
+               {
+                       AxisScaleBreakStyle asbs = new AxisScaleBreakStyle ();
+
+                       Assert.AreEqual (BreakLineStyle.Ragged, asbs.BreakLineStyle, "A1");
+                       Assert.AreEqual (25, asbs.CollapsibleSpaceThreshold, "A2");
+                       Assert.AreEqual (false, asbs.Enabled, "A3");
+                       Assert.AreEqual (Color.Black, asbs.LineColor, "A4");
+                       Assert.AreEqual (ChartDashStyle.Solid, asbs.LineDashStyle, "A5");
+                       Assert.AreEqual (1, asbs.LineWidth, "A6");
+                       Assert.AreEqual (2, asbs.MaxNumberOfBreaks, "A7");
+                       Assert.AreEqual (1.5d, asbs.Spacing, "A8");
+                       Assert.AreEqual (StartFromZero.Auto, asbs.StartFromZero, "A9");
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/ChartElementTest.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/ChartElementTest.cs
new file mode 100644 (file)
index 0000000..c7053c6
--- /dev/null
@@ -0,0 +1,66 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Windows.Forms.DataVisualization.Charting;
+using NUnit.Framework;
+
+namespace ChartingTests
+{
+       [TestFixture]
+       public class ChartElementTest
+       {
+               [Test]
+               public void Constructor ()
+               {
+                       ChartElement ce = new MyChartElement ();
+
+                       Assert.AreEqual (null, ce.Tag, "A1");
+               }
+
+               [Test]
+               public void TagProperty ()
+               {
+                       ChartElement ce = new MyChartElement ();
+
+                       Assert.AreEqual (null, ce.Tag, "A1");
+
+                       ce.Tag = "hi";
+                       Assert.AreEqual ("hi", ce.Tag, "A2");
+               }
+
+               [Test]
+               public void ToStringMethod ()
+               {
+                       ChartElement ce = new MyChartElement ();
+
+                       Assert.AreEqual ("MyChartElement", ce.ToString (), "A1");
+               }
+
+               private class MyChartElement : ChartElement
+               {
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/DataPointTest.cs b/mcs/class/System.Windows.Forms.DataVisualization/Test/System.Windows.Forms.DataVisualization.Charting/DataPointTest.cs
new file mode 100644 (file)
index 0000000..5431d77
--- /dev/null
@@ -0,0 +1,197 @@
+//
+// Authors:
+// Jonathan Pobst (monkey@jpobst.com)
+//
+// Copyright (C) 2009 Novell, Inc (http://www.novell.com) 
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+using System;
+using System.Windows.Forms.DataVisualization.Charting;
+using NUnit.Framework;
+
+namespace ChartingTests
+{
+       [TestFixture]
+       public class DataPointTest
+       {
+               [Test]
+               public void Constructor1 ()
+               {
+                       DataPoint dp = new DataPoint ();
+
+                       Assert.AreEqual (false, dp.IsEmpty, "A1");
+                       Assert.AreEqual ("DataPoint", dp.Name, "A2");
+                       Assert.AreEqual (0, dp.XValue, "A3");
+                       Assert.AreEqual (new double[] { 0.0d }, dp.YValues, "A4");
+               }
+
+               [Test]
+               public void Constructor2 ()
+               {
+                       DataPoint dp = new DataPoint (1d, 2d);
+
+                       Assert.AreEqual (false, dp.IsEmpty, "A1");
+                       Assert.AreEqual ("DataPoint", dp.Name, "A2");
+                       Assert.AreEqual (1d, dp.XValue, "A3");
+                       Assert.AreEqual (new double[] { 2d }, dp.YValues, "A4");
+               }
+
+               [Test]
+               public void Constructor3 ()
+               {
+                       DataPoint dp = new DataPoint (1d, new double[] { 2d, 3d });
+
+                       Assert.AreEqual (false, dp.IsEmpty, "A1");
+                       Assert.AreEqual ("DataPoint", dp.Name, "A2");
+                       Assert.AreEqual (1d, dp.XValue, "A3");
+                       Assert.AreEqual (new double[] { 2d, 3d }, dp.YValues, "A4");
+               }
+
+               [Test]
+               public void IsEmptyProperty ()
+               {
+                       DataPoint dp = new DataPoint (1d, 2d);
+
+                       Assert.AreEqual (false, dp.IsEmpty, "A1");
+                       Assert.AreEqual (1d, dp.XValue, "A2");
+                       Assert.AreEqual (new double[] { 2d }, dp.YValues, "A3");
+
+                       dp.IsEmpty = true;
+
+                       Assert.AreEqual (true, dp.IsEmpty, "A4");
+                       Assert.AreEqual (1d, dp.XValue, "A5");
+                       Assert.AreEqual (new double[] { 2d }, dp.YValues, "A6");
+
+                       dp.XValue = 6d;
+                       dp.YValues = new double[] { 7d };
+
+                       Assert.AreEqual (true, dp.IsEmpty, "A7");
+               }
+
+               [Test]
+               public void NameProperty ()
+               {
+                       DataPoint dp = new DataPoint (1d, 2d);
+                       Assert.AreEqual ("DataPoint", dp.Name, "A1");
+
+                       dp.Name = "Point";
+                       Assert.AreEqual ("DataPoint", dp.Name, "A2");
+               }
+
+               [Test]
+               public void XValueProperty ()
+               {
+                       DataPoint dp = new DataPoint (1d, 2d);
+                       Assert.AreEqual (1d, dp.XValue, "A1");
+
+                       dp.XValue = 2d;
+                       Assert.AreEqual (2d, dp.XValue, "A2");
+               }
+
+               [Test]
+               public void YValueProperty ()
+               {
+                       DataPoint dp = new DataPoint (1d, 2d);
+                       Assert.AreEqual (new double[] { 2d }, dp.YValues, "A1");
+
+                       dp.YValues = new double[] { 2d, 3d };
+                       Assert.AreEqual (new double[] { 2d, 3d }, dp.YValues, "A2");
+               }
+
+               [Test]
+               public void CloneMethod ()
+               {
+                       DataPoint dp = new DataPoint ();
+
+                       Assert.AreEqual (false, dp.IsEmpty, "A1");
+                       Assert.AreEqual ("DataPoint", dp.Name, "A2");
+                       Assert.AreEqual (0, dp.XValue, "A3");
+                       Assert.AreEqual (new double[] { 0.0d }, dp.YValues, "A4");
+
+                       DataPoint dp2 = (DataPoint)dp.Clone ();
+                       Assert.AreEqual (false, dp2.IsEmpty, "A5");
+                       Assert.AreEqual ("DataPoint", dp2.Name, "A6");
+                       Assert.AreEqual (0, dp2.XValue, "A7");
+                       Assert.AreEqual (new double[] { 0.0d }, dp2.YValues, "A8");
+               }
+
+               [Test]
+               public void GetValueByNameMethod ()
+               {
+                       DataPoint dp = new DataPoint (1d, new double[] { 2d, 3d });
+
+                       Assert.AreEqual (1d, dp.GetValueByName ("X"), "A1");
+                       Assert.AreEqual (2d, dp.GetValueByName ("Y"), "A2");
+                       Assert.AreEqual (2d, dp.GetValueByName ("Y1"), "A3");
+                       Assert.AreEqual (3d, dp.GetValueByName ("Y2"), "A4");
+
+                       Assert.AreEqual (1d, dp.GetValueByName ("x"), "A5");
+                       Assert.AreEqual (2d, dp.GetValueByName ("y"), "A6");
+                       Assert.AreEqual (2d, dp.GetValueByName ("y1"), "A7");
+                       Assert.AreEqual (3d, dp.GetValueByName ("y2"), "A8");
+               }
+
+               [Test]
+               [ExpectedException (typeof (ArgumentException))]
+               public void GetValueByNameMethodAE ()
+               {
+                       DataPoint dp = new DataPoint (1d, new double[] { 2d, 3d });
+
+                       Assert.AreEqual (1d, dp.GetValueByName ("X1"), "A1");
+               }
+
+               [Test]
+               [ExpectedException (typeof (ArgumentException))]
+               public void GetValueByNameMethodAE2 ()
+               {
+                       DataPoint dp = new DataPoint (1d, new double[] { 2d, 3d });
+
+                       Assert.AreEqual (1d, dp.GetValueByName ("Y4"), "A1");
+               }
+
+               [Test]
+               [ExpectedException (typeof (ArgumentNullException))]
+               public void GetValueByNameMethodANE ()
+               {
+                       DataPoint dp = new DataPoint (1d, new double[] { 2d, 3d });
+
+                       Assert.AreEqual (1d, dp.GetValueByName (null), "A1");
+               }
+
+               [Test]
+               [ExpectedException (typeof (ArgumentException))]
+               public void GetValueByNameMethodAE3 ()
+               {
+                       DataPoint dp = new DataPoint (1d, new double[] { 2d, 3d });
+
+                       Assert.AreEqual (1d, dp.GetValueByName (string.Empty), "A1");
+               }
+
+               [Test]
+               [ExpectedException (typeof (ArgumentException))]
+               public void GetValueByNameMethodAE4 ()
+               {
+                       DataPoint dp = new DataPoint (1d, new double[] { 2d, 3d });
+
+                       Assert.AreEqual (1d, dp.GetValueByName ("Y0"), "A1");
+               }
+       }
+}
diff --git a/mcs/class/System.Windows.Forms.DataVisualization/common/MonoTODOAttribute.cs b/mcs/class/System.Windows.Forms.DataVisualization/common/MonoTODOAttribute.cs
new file mode 100644 (file)
index 0000000..ca23aa7
--- /dev/null
@@ -0,0 +1,100 @@
+//
+// MonoTODOAttribute.cs
+//
+// Authors:
+//   Ravi Pratap (ravi@ximian.com)
+//   Eyal Alaluf <eyala@mainsoft.com> 
+//
+// (C) Ximian, Inc.  http://www.ximian.com
+//
+
+//
+// Copyright (C) 2004 Novell, Inc (http://www.novell.com)
+// Copyright (C) 2006 Mainsoft, Inc (http://www.mainsoft.com)
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+namespace System {
+       
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       internal class MonoTODOAttribute : Attribute {
+
+               string comment;
+               
+               public MonoTODOAttribute ()
+               {
+               }
+
+               public MonoTODOAttribute (string comment)
+               {
+                       this.comment = comment;
+               }
+
+               public string Comment {
+                       get { return comment; }
+               }
+       }
+
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       internal class MonoDocumentationNoteAttribute : MonoTODOAttribute {
+
+               public MonoDocumentationNoteAttribute (string comment)
+                       : base (comment)
+               {
+               }
+       }
+
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       internal class MonoExtensionAttribute : MonoTODOAttribute {
+
+               public MonoExtensionAttribute (string comment)
+                       : base (comment)
+               {
+               }
+       }
+
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       internal class MonoInternalNoteAttribute : MonoTODOAttribute {
+
+               public MonoInternalNoteAttribute (string comment)
+                       : base (comment)
+               {
+               }
+       }
+
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       internal class MonoLimitationAttribute : MonoTODOAttribute {
+
+               public MonoLimitationAttribute (string comment)
+                       : base (comment)
+               {
+               }
+       }
+
+       [AttributeUsage (AttributeTargets.All, AllowMultiple=true)]
+       internal class MonoNotSupportedAttribute : MonoTODOAttribute {
+
+               public MonoNotSupportedAttribute (string comment)
+                       : base (comment)
+               {
+               }
+       }
+}