private void ChangeGridLinesStyle()
        {
            if (this.GridLinesStyle == GridLinesStyles.Dotted)
            {
                this.GridLinesStyle = GridLinesStyles.Dash;
                this.ToastPresenter.Show("Dash", ToastDisplayDuration.Short);
            }
            else if (this.GridLinesStyle == GridLinesStyles.Dash)
            {
                this.GridLinesStyle = GridLinesStyles.Solid;
                this.ToastPresenter.Show("Solid", ToastDisplayDuration.Short);
            }
            else
            {
                this.GridLinesStyle = GridLinesStyles.Dotted;
                this.ToastPresenter.Show("Dotted", ToastDisplayDuration.Short);
            }

            NumericAxis independentAxis = Axis.CreateDefaultIndependentAxis <NumericAxis>
                                              (o =>
            {
                o.GridLinesStyle = this.GridLinesStyle;
            });

            this.Chart.IndependentAxis = independentAxis;
            this.Chart.Refresh();
        }
 public GridLinesStyleViewModel()
 {
     this.GridLinesStyle = GridLinesStyles.Dotted;
 }