Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
400
how to display the data values on the chart columns during runtime
posted

Hi,

The following is my coding

 

            UltraChart ultrachart1 = new UltraChart();
            ultrachart1.Parent = this;
            ultrachart1 .Location = new Point (20,20);
            ultrachart1.Size = new Size(800,700);

 

            SqlConnection con = new SqlConnection("Server=xxx;DataBase = xxxx;Uid=xx;Pwd=xx;");
            SqlCommand StrCmd3 = new SqlCommand("Select * From xxx", con);
            SqlDataAdapter StrAdp3 = new SqlDataAdapter(StrCmd3);
            DataSet StrDs3 = new DataSet();
            StrAdp3.Fill(StrDs3);
            ultraChart2.DataSource = StrDs3;
            ultraChart2.DataBind();

 

I am getting the display but the chart does not shows the data label values on the chart. how to display the data value on each column. kindly go through my coding  above and provide me the solution.

Thanks in advance.