Files
Francis Fisher 699ef5e948 Boilerplate implementation of Charting
Implemented enough of
System.Windows.Forms.DataVisualization.Charting to get two pieces of
software to compile: the charting examples from MSDN and the windows OSS
EVEMon.

This patch contains the majority of properties defined, and many methods
stubbed - I have avoided implementing any functionality in this patch.

All this work is under the MIT Licence.
2013-08-11 15:07:55 +01:00

98 lines
3.3 KiB
C#

//
// Authors:
// Jonathan Pobst ([email protected])
// Francis Fisher ([email protected])
//
// 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 ChartArea : ChartNamedElement
{
public ChartArea() {}
public ChartArea( string name ){
Name = name;
}
public AreaAlignmentOrientations AlignmentOrientation { get; set; }
public AreaAlignmentStyles AlignmentStyle { get; set; }
public string AlignWithChartArea { get; set; }
public ChartArea3DStyle Area3DStyle { get; set; }
public Axis[] Axes { get; set; }
public Axis AxisX { get; set; }
public Axis AxisX2 { get; set; }
public Axis AxisY { get; set; }
public Axis AxisY2 { get; set; }
public Color BackColor { get; set; }
public GradientStyle BackGradientStyle { get; set; }
public ChartHatchStyle BackHatchStyle { get; set; }
public string BackImage { get; set; }
public ChartImageAlignmentStyle BackImageAlignment { get; set; }
public Color BackImageTransparentColor { get; set; }
public ChartImageWrapMode BackImageWrapMode { get; set; }
public Color BackSecondaryColor { get; set; }
public Color BorderColor { get; set; }
public ChartDashStyle BorderDashStyle { get; set; }
public int BorderWidth { get; set; }
public Cursor CursorX { get; set; }
public Cursor CursorY { get; set; }
public ElementPosition InnerPlotPosition { get; set; }
public bool IsSameFontSizeForAllAxes { get; set; }
public override string Name { get; set; }
public ElementPosition Position { get; set; }
public Color ShadowColor { get; set; }
public int ShadowOffset { get; set; }
public virtual bool Visible { get; set; }
[MonoTODO]
protected override void Dispose (bool disposing)
{
throw new NotImplementedException ();
}
[MonoTODO]
public float GetSeriesDepth (Series series )
{
throw new NotImplementedException();
}
[MonoTODO]
public float GetSeriesZPosition (Series series)
{
throw new NotImplementedException ();
}
[MonoTODO]
public void RecalculateAxesScale ()
{
throw new NotImplementedException();
}
[MonoTODO]
public void TransformPoints (Point3D[] points)
{
throw new NotImplementedException ();
}
}
}