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