public void Add(AxisStyle value) { if (value != null) { value.ParentObject = this; if (_cachedCoordinateSystem != null) { value.CachedAxisInformation = _cachedCoordinateSystem.GetAxisStyleInformation(value.StyleID); } _axisStyles.Add(value); OnChanged(); } }
public void UpdateCoordinateSystem(G2DCoordinateSystem cs) { _cachedCoordinateSystem = cs; foreach (AxisStyle style in this._axisStyles) { style.CachedAxisInformation = _cachedCoordinateSystem.GetAxisStyleInformation(style.StyleID); } }