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
410
how to use winchart in my project ?
posted

hi

 

i have to show that the data on graphs format in grid for that i am using winchart .  i am returning data through dataset (or i have to use datatable) . can i bind the data through dataset to winchart . if  its possible how can i show in graphs

 

Thanks

 

N.ravikumar

Parents
  • 26458
    Verified Answer
    Offline posted

    Binding the chart to a data table or a dataset is fairly simple.

    chart.Data.DataSource = someDataTable;
    chart.Data.DataBind();

    or if you're using a dataset:
    chart.Data.DataSource = someDataSet;
    chart.Data.DataMember = "someMemberPath";
    chart.Data.DataBind();

    I suggest downloading NetAdvantage samples, as there are many examples on how to use the chart.

Reply Children
No Data