private void namRadioButton_CheckedChanged(object sender, EventArgs e) { if (namRadioButton.Checked) { thangComboBox.Visible = false; thangLabel.Visible = false; namComboBox.Visible = false; namLabel.Visible = false; doanhThuChart.Series[0].Name = "Doanh thu năm"; doanhThuChart.Series[0].Points.Clear(); for (int year = minYear; year <= maxYear; year++) { doanhThuChart.Series["Doanh thu năm"].Points.AddXY(year, BillBUS.GetTotalByYear(year)); } } }