Graph and coordinates Values missing

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
gs
Newbie
Newbie
Posts: 84
Joined: Mon Mar 20, 2006 12:00 am
Location: US

Graph and coordinates Values missing

Post by gs » Mon Sep 10, 2007 6:13 pm

Hi,

I just created a WebChart in Visual Studio 2005. I cannot see any values on the X and Y axes/coordinates. Please let me now how to get the values printed on the coordinates and graph as well.

Thanks
Gagan

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Sep 12, 2007 9:23 am

Hi Gagan,

As I told you in the other thread you started, to have axes values appearing you should have, at least, one series in the chart and populate the series with data.

Another option would be that you manually set left and bottom axes minimum and maximum values, for example:

Code: Select all

WebChart1.Chart.Axes.Left.SetMinMax(0,100);
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

gs
Newbie
Newbie
Posts: 84
Joined: Mon Mar 20, 2006 12:00 am
Location: US

Post by gs » Wed Sep 12, 2007 12:20 pm

Narcís,

Thanks a lot for your reply. I have already added a series in the chart with data and getting the axes values but what I need is to display the X and Y coordinate values on the graph for every X,Y pair in the coordinate when its value changes in the graph. I hope I am able to explain you my need.

Thanks
Gagan[/img]

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Wed Sep 12, 2007 12:55 pm

Hi Gagan,

I'm not 100% sure about what do you mean but you could try setting series marks like this:

Code: Select all

			foreach (Steema.TeeChart.Styles.Series s in WebChart1.Chart.Series)
			{
				s.Marks.Visible = true;
				s.Marks.Style = Steema.TeeChart.Styles.MarksStyles.XY;
			}
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

gs
Newbie
Newbie
Posts: 84
Joined: Mon Mar 20, 2006 12:00 am
Location: US

Post by gs » Wed Sep 12, 2007 1:06 pm

:D ....Thanks a lot Marcis for giving me the perfect solution.

I really appreciate your kind response.

Gagan

Post Reply