/// <summary> /// This method fills the Other Social-Emotional Screens by Score Type chart with data /// </summary> private void BindScoreTypeChart() { using (PyramidContext context = new PyramidContext()) { //Get the score type data var scoreTypeDate = context.spGetOtherSEScreensByScoreType(string.Join(",", currentProgramRole.ProgramFKs), DateTime.Now.AddYears(-1), DateTime.Now) .ToList(); //Bind the chart to the data chartScoreType.DataSource = scoreTypeDate; chartScoreType.DataBind(); } }