public sealed override void InitializePlot()
        {
            _plot = new PlotModel()
            {
                Title = ""
            };

            var series = new LineSeries();

            series.LineStyle          = LineStyle.Dot;
            series.ItemsSource        = new List <DataPoint>();
            _plot.TextColor           = OxyColor.FromRgb(255, 255, 255);
            _plot.PlotAreaBorderColor = OxyColor.FromRgb(255, 255, 255);
            _plot.SubtitleColor       = OxyColor.FromRgb(255, 255, 255);
            _plot.TitleColor          = OxyColor.FromRgb(255, 255, 255);
            _plot.PlotAreaBorderColor = OxyColor.FromRgb(255, 255, 255);
            _plot.Series.Add(series);

            var xAxis = new UserLinearAxis()
            {
                Position = AxisPosition.Bottom,

                IntervalLength     = 60,
                MajorGridlineStyle = LineStyle.Solid,
                MinorGridlineStyle = LineStyle.Solid,
                Key                = "X",
                AxislineColor      = OxyColor.FromRgb(255, 255, 255),
                TextColor          = OxyColor.FromRgb(255, 255, 255),
                TicklineColor      = OxyColor.FromRgb(255, 255, 255),
                MajorGridlineColor = OxyColor.FromRgb(165, 165, 165),
                MinorGridlineColor = OxyColor.FromRgb(165, 165, 165)
            };

            if (TitleX)
            {
                xAxis.Title = "Дистанция, [м]";
            }
            xAxis.IsAxisVisible = VisionX;
            var yAxis = new UserLinearAxis()
            {
                MajorGridlineStyle = LineStyle.Solid,
                MinorGridlineStyle = LineStyle.Solid,
                IntervalLength     = 40,
                Position           = AxisPosition.Left,
                AxislineColor      = OxyColor.FromRgb(255, 255, 255),
                TextColor          = OxyColor.FromRgb(255, 255, 255),
                ExtraGridlineColor = OxyColor.FromRgb(255, 255, 255),
                TicklineColor      = OxyColor.FromRgb(255, 255, 255),
                MajorGridlineColor = OxyColor.FromRgb(165, 165, 165),
                MinorGridlineColor = OxyColor.FromRgb(165, 165, 165),
                //Title = "2",
                Key = "Y"
            };

            yAxis.IsAxisVisible = VisionY;
            _plot.Axes.Add(xAxis);
            _plot.Axes.Add(yAxis);
        }
 private void SetYAxis(UserLinearAxis yAxis)
 {
     yAxis.Title   = _opcDimension.Demenision;
     _isAxisSetted = true;
 }