Sign in to follow this  
gv_subash

How to Display x-axis value in a chart

Recommended Posts

Hi Friends,

 

 

 

In my x-axis and y-axis i am passing values from database. I am able to plot correctly.in Y-axis the values displayed are 1,2,3,4,5,6,7,......100. for each value in x-axis its geetting exactly mapped to y-axis values. but due to 100 values in x-axis the values are getting overlap. i need the values displayed as 5,10,15,20,...... How to define values in x-axis as 5,10,15,20...

 

ix for each pixel it should take value 1.

 

 

 

Please help me in resolving this issue.my code is

 

 

 

String XMLDataS = string.Empty;

 

XMLDataS = String.Format("", "For Node no:" + Node, TimeFrom, TimeTo);

 

XMLDataS = XMLDataS + "";

 

 

 

foreach (DataRow dr in ds.Tables[0].Rows)

 

{

 

XMLDataS = XMLDataS + String.Format("", dr["TIMESTAMP"].ToString());

 

}

 

XMLDataS = XMLDataS + "";

 

 

 

if (sen11)

 

{

 

XMLDataS = XMLDataS + String.Format("");

 

foreach (DataRow dr in ds.Tables[0].Rows)

 

{

 

 

 

XMLDataS = XMLDataS + String.Format("", dr["SENSOR1"].ToString());

 

}

 

XMLDataS = XMLDataS + "";

 

 

 

}

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this