#define Graph_And_Chart_PRO
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace ChartAndGraph
{
///
/// defines a vertical axis for the chart componenet attached to the same object
///
public class VerticalAxis : AxisBase
{
protected override Action Assign
{
get
{
return (x, clear) =>
{
if (clear)
{
if (x.VerticalAxis == this)
x.VerticalAxis = null;
}
else
{
if (x.VerticalAxis != this)
x.VerticalAxis = this;
}
};
}
}
}
}