private void GeneratePoints()
 {
     try
     {
         SequenceGenerator selectedSequence = mainViewModel.SelectedSequence;
         mainViewModel.ChartTitle = selectedSequence.Description;
         mainViewModel.Points     = selectedSequence.GeneratePoints(mainViewModel.DimensionCount,
                                                                    mainViewModel.PointCount,
                                                                    mainViewModel.XDimension,
                                                                    mainViewModel.YDimension);
     }
     catch (Exception ex)
     {
         messageService.ShowError(mainViewModel.View, ex.Message);
     }
 }