i have code for a pie chart but ehn i run i cant see the pie chartit showig white box when i drag the pie chart area the code is below plz help me
- "Chart1" runat="server" ImageType="Jpeg">
-
- "Series1" ChartType="Pie" IsValueShownAsLabel="True">
-
- "ChartArea1">
- "True" LightStyle="Realistic" />
-
- SqlConnection con = new SqlConnection(ppd);
- SqlCommand cmd = new SqlCommand("Some query, con);
- cmd.Parameters.AddWithValue("@userid", output);
- Series series = Chart1.Series["Series1"];
- con.Open();
- SqlDataReader rdr = cmd.ExecuteReader();
- while (rdr.Read())
- {
- series.Points.AddXY(rdr["schemeid"].ToString(), rdr["scheme"]);
- }


Raja TRank #685 · 3.5K reputationPosted Mar 10, 2019, 8:45 PM EDT
Salman BegRank #284 · 8.8K reputationPosted Mar 11, 2019, 5:50 AM EDT
alice yangRank #2,329 · 607 reputationPosted Mar 13, 2019, 6:34 PM EDT
Subin ThomasRank #724 · 3.2K reputationPosted Mar 10, 2019, 11:45 PM EDT