how to remove no dataseries in ChartArea

2 posts, 0 answers
  1. manimaran
    manimaran avatar
    2 posts
    Member since:
    Aug 2011

    Posted 13 Feb 2012 Link to this post

    hi 

    Plz can u tell me how to remove no dataseries  while my chart is loading.
    While i run my program first it shows no dataseries, after few seconds only my values are display as a graph( plz refer my first attachment)

    if i use nodataseries property. It comes like this. plz refer my attachment 2 


    thanks

    Mani
  2. Rahul
    Rahul avatar
    116 posts
    Member since:
    Feb 2011

    Posted 13 Feb 2012 Link to this post

    Hi manimaran

      Please check out below Code for your requirement.

    chart.DefaultView.ChartArea.IsNoDataMessageEnabled = false;
    or
    chart.DefaultView.ChartArea.NoDataString = string.empty;


    Regards
    Rahul
  3. DevCraft banner
Back to Top