/// <summary>
 /// Plots the graphs using the Disc score results.
 /// </summary>
 /// <param name="results">The results.</param>
 private void PlotGraph( SpiritualGiftService.TestResults results )
 {
     // Plot the Natural graph
     SpiritualGiftService.PlotOneGraph( giftScore_Prophecy, giftScore_Ministry, giftScore_Teaching, giftScore_Encouragement, giftScore_Giving, giftScore_Leadership, giftScore_Mercy,
         results.Prophecy, results.Ministry, results.Teaching, results.Encouragement, results.Giving, results.Leadership, results.Mercy, 20 );
 }
        /// <summary>
        /// Shows the results of the assessment test.
        /// </summary>
        /// <param name="savedScores">The saved scores.</param>
        private void ShowResults( SpiritualGiftService.TestResults savedScores )
        {
            pnlInstructions.Visible = false;
            pnlQuestions.Visible = false;
            pnlResults.Visible = true;

            if ( CurrentPersonId == _targetPerson.Id )
            {
                lPrintTip.Visible = true;
            }
            lHeading.Text = string.Format( "<div class='disc-heading'><h1>{0}</h1><h4>Spiritual Gift: {1}</h4></div>", _targetPerson.FullName, savedScores.Gifting );

            // Show re-take test button if MinimumDaysToRetake has passed...
            double days = GetAttributeValue( "MinimumDaysToRetake" ).AsDouble();
            if ( savedScores.LastSaveDate.AddDays( days ) <= RockDateTime.Now )
            {
                btnRetakeTest.Visible = true;
            }

            PlotGraph( savedScores );

            ShowExplaination( savedScores.Gifting );
        }
        /// <summary>
        /// Shows the results of the assessment test.
        /// </summary>
        /// <param name="savedScores">The saved scores.</param>
        private void ShowResults( SpiritualGiftService.TestResults savedScores )
        {
            // Plot the Natural graph
            SpiritualGiftService.PlotOneGraph( giftScore_Prophecy, giftScore_Ministry, giftScore_Teaching, giftScore_Encouragement, giftScore_Giving, giftScore_Leadership, giftScore_Mercy,
                savedScores.Prophecy, savedScores.Ministry, savedScores.Teaching, savedScores.Encouragement, savedScores.Giving, savedScores.Leadership, savedScores.Mercy, 20 );
            ShowExplaination( savedScores.Gifting );

            hlTestDate.Text = String.Format( "Test Date: {0}", savedScores.LastSaveDate.ToShortDateString() );
            lPersonName.Text = _targetPerson.FullName;

            lHeading.Text = string.Format( "<div class='disc-heading'><h1>{0}</h1><h4>Spiritual Gifting: {1}</h4></div>", _targetPerson.FullName, savedScores.Gifting );
        }