public void loadData() { // Set palette this.chart1.Palette = ChartColorPalette.EarthTones; // Set title this.chart1.Titles.Add("Animals"); ConexionBd spQuery = new ConexionBd("Mascotasd"); spQuery.setCommand("dbo.pb_getMascotas"); DataTable Data = spQuery.Cargar_Data(); chart1.DataSource = Data; Console.Write(Data); chart1.DataBind(); }