/// <summary>
        /// Initializes static members of the <see cref="PolylineAnnotation"/> class.
        /// </summary>
        static PolylineAnnotation()
        {
            TextColorProperty.OverrideDefaultValue <PolylineAnnotation>(MoreColors.Automatic);
            TextColorProperty.Changed.AddClassHandler <PolylineAnnotation>(AppearanceChanged);
            TextHorizontalAlignmentProperty.OverrideDefaultValue <PolylineAnnotation>(HorizontalAlignment.Right);
            TextHorizontalAlignmentProperty.Changed.AddClassHandler <PolylineAnnotation>(AppearanceChanged);
            TextVerticalAlignmentProperty.OverrideDefaultValue <PolylineAnnotation>(VerticalAlignment.Top);
            TextVerticalAlignmentProperty.Changed.AddClassHandler <PolylineAnnotation>(AppearanceChanged);

            InterpolationAlgorithmProperty.Changed.AddClassHandler <PolylineAnnotation>(DataChanged);
        }
        /// <summary>
        /// Initializes static members of the <see cref="FunctionAnnotation"/> class.
        /// </summary>
        static FunctionAnnotation()
        {
            TextColorProperty.OverrideDefaultValue <FunctionAnnotation>(MoreColors.Automatic);
            TextColorProperty.Changed.AddClassHandler <FunctionAnnotation>(AppearanceChanged);
            TextHorizontalAlignmentProperty.OverrideDefaultValue <FunctionAnnotation>(HorizontalAlignment.Right);
            TextHorizontalAlignmentProperty.Changed.AddClassHandler <FunctionAnnotation>(AppearanceChanged);
            TextVerticalAlignmentProperty.OverrideDefaultValue <FunctionAnnotation>(VerticalAlignment.Top);
            TextVerticalAlignmentProperty.Changed.AddClassHandler <FunctionAnnotation>(AppearanceChanged);

            TypeProperty.Changed.AddClassHandler <FunctionAnnotation>(DataChanged);
        }
        /// <summary>
        /// Initializes static members of the <see cref = "TextAnnotation" /> class.
        /// </summary>
        static TextAnnotation()
        {
            TextColorProperty.OverrideDefaultValue <TextAnnotation>(MoreColors.Automatic);
            TextColorProperty.Changed.AddClassHandler <TextAnnotation>(AppearanceChanged);
            TextHorizontalAlignmentProperty.OverrideDefaultValue <TextAnnotation>(HorizontalAlignment.Right);
            TextHorizontalAlignmentProperty.Changed.AddClassHandler <TextAnnotation>(AppearanceChanged);
            TextVerticalAlignmentProperty.OverrideDefaultValue <TextAnnotation>(VerticalAlignment.Top);
            TextVerticalAlignmentProperty.Changed.AddClassHandler <TextAnnotation>(AppearanceChanged);

            BackgroundProperty.Changed.AddClassHandler <TextAnnotation>(AppearanceChanged);
            OffsetProperty.Changed.AddClassHandler <TextAnnotation>(AppearanceChanged);
            PaddingProperty.Changed.AddClassHandler <TextAnnotation>(AppearanceChanged);
            StrokeProperty.Changed.AddClassHandler <TextAnnotation>(AppearanceChanged);
            StrokeThicknessProperty.Changed.AddClassHandler <TextAnnotation>(AppearanceChanged);
        }
        /// <summary>
        /// Initializes static members of the <see cref="LineAnnotation"/> class.
        /// </summary>
        static LineAnnotation()
        {
            TextColorProperty.OverrideDefaultValue <LineAnnotation>(MoreColors.Automatic);
            TextColorProperty.Changed.AddClassHandler <LineAnnotation>(AppearanceChanged);
            TextHorizontalAlignmentProperty.OverrideDefaultValue <LineAnnotation>(HorizontalAlignment.Right);
            TextHorizontalAlignmentProperty.Changed.AddClassHandler <LineAnnotation>(AppearanceChanged);
            TextVerticalAlignmentProperty.OverrideDefaultValue <LineAnnotation>(VerticalAlignment.Top);
            TextVerticalAlignmentProperty.Changed.AddClassHandler <LineAnnotation>(AppearanceChanged);

            TypeProperty.Changed.AddClassHandler <LineAnnotation>(DataChanged);
            InterceptProperty.Changed.AddClassHandler <LineAnnotation>(DataChanged);
            MaximumXProperty.Changed.AddClassHandler <LineAnnotation>(DataChanged);
            MaximumYProperty.Changed.AddClassHandler <LineAnnotation>(DataChanged);
            MinimumXProperty.Changed.AddClassHandler <LineAnnotation>(DataChanged);
            MinimumYProperty.Changed.AddClassHandler <LineAnnotation>(DataChanged);
            SlopeProperty.Changed.AddClassHandler <LineAnnotation>(DataChanged);
            XProperty.Changed.AddClassHandler <LineAnnotation>(DataChanged);
            YProperty.Changed.AddClassHandler <LineAnnotation>(DataChanged);
        }