void loadChartChucVu() { try { DataTable data = new DataTable(); data = thongKe.GetListSLChucVu(); crtChucVu.ChartAreas["ChartArea1"].AxisX.Title = "Chức Vụ"; crtChucVu.ChartAreas["ChartArea1"].AxisY.Title = "Số Lượng User"; crtChucVu.Series["Số Lượng User"]["DrawingStyle"] = "Cylinder"; for (int i = 0; i < data.Rows.Count; i++) { crtChucVu.Series["Số Lượng User"].Points.AddXY(data.Rows[i]["ChucVu"], data.Rows[i]["Số Lượng User"]); } } catch { } }