protected void Button1_Click(object sender, EventArgs e) { ClsGraficos grafico = new ClsGraficos(); Chart1.DataSource = grafico.llenarGraficoRedondo(int.Parse(ddlCentroMedico.SelectedValue)); Chart1.Series["Series1"].XValueMember = "Usuario"; Chart1.Series["Series1"].YValueMembers = "Cantidad"; Chart1.Visible = true; }
protected void Button1_Click(object sender, EventArgs e) { ClsGraficos grafico = new ClsGraficos(); chtGrafico.DataSource = grafico.llenarGrafico(Calendar1.SelectedDate, Calendar2.SelectedDate); chtGrafico.Series["Series1"].XValueMember = "Mes"; chtGrafico.Series["Series1"].YValueMembers = "Cantidad"; chtGrafico.Visible = true; }