func (this *StatisticsController) Get() {

	// title := models.GetStatisticsSprintTableHeader()

	title := []string{
		"Date",
		"Estimated",
		"Executed",
		"Remaining",
	}

	rs := models.GetStatisticsSprint()

	// sp := make([]Sprint, 0)
	// for i := 0; i < 5; i++ {
	// 	var tmp Sprint
	// 	tmp.SprintName = spname[i]
	// 	tmp.Planed = planed[i]
	// 	tmp.Executed = executed[i]
	// 	tmp.CompletedRate = completed[i]

	// 	sp = append(sp, tmp)
	// }

	this.Data["Caption"] = "tdp_sprint7_burndown"
	this.Data["Title"] = title
	this.Data["Sprint"] = rs
	this.TplNames = "statistics_sprint.tpl"
}
func (this *StatisticsController) Sprint() {

	sp := models.GetStatisticsSprint()
	// sp := make([]Sprint, 0)
	// for i := 0; i < 5; i++ {
	// 	var tmp Sprint
	// 	tmp.SprintName = spname[i]
	// 	tmp.Planed = planed[i]
	// 	tmp.Executed = executed[i]
	// 	tmp.CompletedRate = completed[i]

	// 	sp = append(sp, tmp)
	// }

	this.Data["json"] = sp
	this.ServeJson()

	// this.Data["Title"] = title
	// this.Data["Sprint"] = sp

	// this.TplNames = "statistics_sprint.tpl"
}