protected void btWeekreport_Click(object sender, EventArgs e) { dlPlan dlpl = new dlPlan(); int followTotal = dlpl.getTotalFollowed(); this.ChrtWeekly.Series["Followed"].Points.AddXY("Followed", dlpl.getTotalFollowed()); this.ChrtWeekly.Series["Unfollowed"].Points.AddXY("Unfollowed", (7-dlpl.getTotalFollowed())); }
protected void btWeekreport_Click(object sender, EventArgs e) { dlPlan dlpl = new dlPlan(); int followTotal = dlpl.getTotalFollowed(); this.ChrtWeekly.Series["Followed"].Points.AddXY("Followed", dlpl.getTotalFollowed()); this.ChrtWeekly.Series["Unfollowed"].Points.AddXY("Unfollowed", (7 - dlpl.getTotalFollowed())); }
protected void Button1_Click(object sender, EventArgs e) { dlPlan dlpl = new dlPlan(); int followTotal=dlpl.getTotalFollowed(); this.chrtAnual.Series["Followed"].Points.AddXY("Followed", dlpl.getTotalFollowed()); this.chrtAnual.Series["Unfollowed"].Points.AddXY("UnFollowed", dlpl.gettotaldays()-dlpl.getTotalFollowed()); Label1.Text = "So far, You used our software " + dlpl.gettotaldays() + " days, and you followed your " + dlpl.getTotalFollowed() + " diet daily plans "; // this.chrtAnual.Series["UnFollowed"].Points.AddXY("UnFollowed", dlpl.getTotalDays()); }
protected void Button1_Click(object sender, EventArgs e) { dlPlan dlpl = new dlPlan(); int followTotal = dlpl.getTotalFollowed(); this.chrtAnual.Series["Followed"].Points.AddXY("Followed", dlpl.getTotalFollowed()); this.chrtAnual.Series["Unfollowed"].Points.AddXY("UnFollowed", dlpl.gettotaldays() - dlpl.getTotalFollowed()); Label1.Text = "So far, You used our software " + dlpl.gettotaldays() + " days, and you followed your " + dlpl.getTotalFollowed() + " diet daily plans "; // this.chrtAnual.Series["UnFollowed"].Points.AddXY("UnFollowed", dlpl.getTotalDays()); }