This is a migrated thread and some comments may be shown as answers.

how to remove no dataseries in ChartArea

1 Answer 34 Views
Chart
This is a migrated thread and some comments may be shown as answers.
manimaran
Top achievements
Rank 1
manimaran asked on 13 Feb 2012, 07:50 AM
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

1 Answer, 1 is accepted

Sort by
0
Rahul
Top achievements
Rank 2
answered on 13 Feb 2012, 01:25 PM
Hi manimaran

  Please check out below Code for your requirement.

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


Regards
Rahul
Tags
Chart
Asked by
manimaran
Top achievements
Rank 1
Answers by
Rahul
Top achievements
Rank 2
Share this question
or