public DateTimeTickSpacing() { _majorTicks = new List <AltaxoVariant>(); _minorTicks = new List <AltaxoVariant>(); _suppressedMajorTicks = new SuppressedTicks() { ParentObject = this }; _suppressedMinorTicks = new SuppressedTicks() { ParentObject = this }; _additionalMajorTicks = new AdditionalTicks() { ParentObject = this }; _additionalMinorTicks = new AdditionalTicks() { ParentObject = this }; }
public LinearTickSpacing() { _majorTicks = new List <double>(); _minorTicks = new List <double>(); _suppressedMajorTicks = new SuppressedTicks() { ParentObject = this }; _suppressedMinorTicks = new SuppressedTicks() { ParentObject = this }; _additionalMajorTicks = new AdditionalTicks() { ParentObject = this }; _additionalMinorTicks = new AdditionalTicks() { ParentObject = this }; }
protected virtual SuppressedTicks SDeserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { SuppressedTicks s = null != o ? (SuppressedTicks)o : new SuppressedTicks(); int count; count = info.OpenArray("ByValues"); for (int i = 0; i < count; i++) { s._suppressedTickValues.Add((AltaxoVariant)info.GetValue("e", s)); } info.CloseArray(count); count = info.OpenArray("ByNumbers"); for (int i = 0; i < count; i++) { s._suppressedTicksByNumber.Add(info.GetInt32("e")); } info.CloseArray(count); return(s); }
public object Deserialize(object o, Altaxo.Serialization.Xml.IXmlDeserializationInfo info, object parent) { SuppressedTicks s = SDeserialize(o, info, parent); return(s); }
public SuppressedTicks(SuppressedTicks from) { CopyFrom(from); }