/// <inheritdoc /> public bool Equals([AllowNull] Line other) { if (other == null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Color == other.Color || Color != null && Color.Equals(other.Color) ) && ( Width == other.Width || Width != null && Width.Equals(other.Width) ) && ( Shape == other.Shape || Shape != null && Shape.Equals(other.Shape) ) && ( Smoothing == other.Smoothing || Smoothing != null && Smoothing.Equals(other.Smoothing) ) && ( Dash == other.Dash || Dash != null && Dash.Equals(other.Dash) ) && ( Simplify == other.Simplify || Simplify != null && Simplify.Equals(other.Simplify) )); }
/// <inheritdoc /> public bool Equals([AllowNull] AAxis other) { if (other == null) { return(false); } if (ReferenceEquals(this, other)) { return(true); } return (( Color == other.Color || Color != null && Color.Equals(other.Color) ) && ( Smoothing == other.Smoothing || Smoothing != null && Smoothing.Equals(other.Smoothing) ) && ( Title == other.Title || Title != null && Title.Equals(other.Title) ) && ( Type == other.Type || Type != null && Type.Equals(other.Type) ) && ( AutoTypeNumbers == other.AutoTypeNumbers || AutoTypeNumbers != null && AutoTypeNumbers.Equals(other.AutoTypeNumbers) ) && ( AutoRange == other.AutoRange || AutoRange != null && AutoRange.Equals(other.AutoRange) ) && ( RangeMode == other.RangeMode || RangeMode != null && RangeMode.Equals(other.RangeMode) ) && ( Equals(Range, other.Range) || Range != null && other.Range != null && Range.SequenceEqual(other.Range) ) && ( FixedRange == other.FixedRange || FixedRange != null && FixedRange.Equals(other.FixedRange) ) && ( CheaterType == other.CheaterType || CheaterType != null && CheaterType.Equals(other.CheaterType) ) && ( TickMode == other.TickMode || TickMode != null && TickMode.Equals(other.TickMode) ) && ( NTicks == other.NTicks || NTicks != null && NTicks.Equals(other.NTicks) ) && ( Equals(TickVals, other.TickVals) || TickVals != null && other.TickVals != null && TickVals.SequenceEqual(other.TickVals) ) && ( Equals(TickText, other.TickText) || TickText != null && other.TickText != null && TickText.SequenceEqual(other.TickText) ) && ( ShowTickLabels == other.ShowTickLabels || ShowTickLabels != null && ShowTickLabels.Equals(other.ShowTickLabels) ) && ( TickFont == other.TickFont || TickFont != null && TickFont.Equals(other.TickFont) ) && ( TickAngle == other.TickAngle || TickAngle != null && TickAngle.Equals(other.TickAngle) ) && ( TickPrefix == other.TickPrefix || TickPrefix != null && TickPrefix.Equals(other.TickPrefix) ) && ( ShowTickPrefix == other.ShowTickPrefix || ShowTickPrefix != null && ShowTickPrefix.Equals(other.ShowTickPrefix) ) && ( TickSuffix == other.TickSuffix || TickSuffix != null && TickSuffix.Equals(other.TickSuffix) ) && ( ShowTickSuffix == other.ShowTickSuffix || ShowTickSuffix != null && ShowTickSuffix.Equals(other.ShowTickSuffix) ) && ( ShowExponent == other.ShowExponent || ShowExponent != null && ShowExponent.Equals(other.ShowExponent) ) && ( ExponentFormat == other.ExponentFormat || ExponentFormat != null && ExponentFormat.Equals(other.ExponentFormat) ) && ( MinExponent == other.MinExponent || MinExponent != null && MinExponent.Equals(other.MinExponent) ) && ( SeparateThousands == other.SeparateThousands || SeparateThousands != null && SeparateThousands.Equals(other.SeparateThousands) ) && ( TickFormat == other.TickFormat || TickFormat != null && TickFormat.Equals(other.TickFormat) ) && ( Equals(TickFormatStops, other.TickFormatStops) || TickFormatStops != null && other.TickFormatStops != null && TickFormatStops.SequenceEqual(other.TickFormatStops) ) && ( CategoryOrder == other.CategoryOrder || CategoryOrder != null && CategoryOrder.Equals(other.CategoryOrder) ) && ( Equals(CategoryArray, other.CategoryArray) || CategoryArray != null && other.CategoryArray != null && CategoryArray.SequenceEqual(other.CategoryArray) ) && ( LabelPadding == other.LabelPadding || LabelPadding != null && LabelPadding.Equals(other.LabelPadding) ) && ( LabelPrefix == other.LabelPrefix || LabelPrefix != null && LabelPrefix.Equals(other.LabelPrefix) ) && ( LabelSuffix == other.LabelSuffix || LabelSuffix != null && LabelSuffix.Equals(other.LabelSuffix) ) && ( ShowLine == other.ShowLine || ShowLine != null && ShowLine.Equals(other.ShowLine) ) && ( LineColor == other.LineColor || LineColor != null && LineColor.Equals(other.LineColor) ) && ( LineWidth == other.LineWidth || LineWidth != null && LineWidth.Equals(other.LineWidth) ) && ( GridColor == other.GridColor || GridColor != null && GridColor.Equals(other.GridColor) ) && ( GridWidth == other.GridWidth || GridWidth != null && GridWidth.Equals(other.GridWidth) ) && ( ShowGrid == other.ShowGrid || ShowGrid != null && ShowGrid.Equals(other.ShowGrid) ) && ( MinorGridCount == other.MinorGridCount || MinorGridCount != null && MinorGridCount.Equals(other.MinorGridCount) ) && ( MinorGridWidth == other.MinorGridWidth || MinorGridWidth != null && MinorGridWidth.Equals(other.MinorGridWidth) ) && ( MinorGridColor == other.MinorGridColor || MinorGridColor != null && MinorGridColor.Equals(other.MinorGridColor) ) && ( StartLine == other.StartLine || StartLine != null && StartLine.Equals(other.StartLine) ) && ( StartLineColor == other.StartLineColor || StartLineColor != null && StartLineColor.Equals(other.StartLineColor) ) && ( StartLineWidth == other.StartLineWidth || StartLineWidth != null && StartLineWidth.Equals(other.StartLineWidth) ) && ( EndLine == other.EndLine || EndLine != null && EndLine.Equals(other.EndLine) ) && ( EndlineWidth == other.EndlineWidth || EndlineWidth != null && EndlineWidth.Equals(other.EndlineWidth) ) && ( EndlineColor == other.EndlineColor || EndlineColor != null && EndlineColor.Equals(other.EndlineColor) ) && ( Tick0 == other.Tick0 || Tick0 != null && Tick0.Equals(other.Tick0) ) && ( DTick == other.DTick || DTick != null && DTick.Equals(other.DTick) ) && ( ArrayTick0 == other.ArrayTick0 || ArrayTick0 != null && ArrayTick0.Equals(other.ArrayTick0) ) && ( ArrayDTick == other.ArrayDTick || ArrayDTick != null && ArrayDTick.Equals(other.ArrayDTick) ) && ( TickValsSrc == other.TickValsSrc || TickValsSrc != null && TickValsSrc.Equals(other.TickValsSrc) ) && ( TickTextSrc == other.TickTextSrc || TickTextSrc != null && TickTextSrc.Equals(other.TickTextSrc) ) && ( CategoryArraySrc == other.CategoryArraySrc || CategoryArraySrc != null && CategoryArraySrc.Equals(other.CategoryArraySrc) )); }