Marker Y axis data

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
phil1995
Newbie
Newbie
Posts: 31
Joined: Fri Dec 16, 2005 12:00 am
Location: Hattiesburg, Ms.
Contact:

Marker Y axis data

Post by phil1995 » Tue Jul 22, 2008 6:17 pm

Posted: 22 Jul 2008 18:11 Post subject: Show Y axis data instead of X on barchart

--------------------------------------------------------------------------------

Can someone tell me how to show the Y axis data on a callout instead of the X axis data. I have tried everyway I know, with no effect. I want the marker to read the MyNums(X) value instead of the month.

Bar1.Title = "Total Cards"
Bar1.Marks.Visible = True

Bar1.Add(CDbl(MyNums(0)), "Jan")
Bar1.Add(CDbl(MyNums(1)), "Feb")
Bar1.Add(CDbl(MyNums(2)), "Mar")
Bar1.Add(CDbl(MyNums(3)), "Apr")
Bar1.Add(CDbl(MyNums(4)), "May")
Bar1.Add(CDbl(MyNums(5)), "Jun")
Bar1.Add(CDbl(MyNums(6)), "Jul")
Bar1.Add(CDbl(MyNums(7)), "Aug")
Bar1.Add(CDbl(MyNums(), "Sep")
Bar1.Add(CDbl(MyNums(9)), "Oct")
Bar1.Add(CDbl(MyNums(10)), "Nov")
Bar1.Add(CDbl(MyNums(11)), "Dec")

WebChart1.Chart.Series.Add(Bar1)

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 Jul 23, 2008 7:26 am

Hi phil1995,

Please try using this:

Code: Select all

			Bar1.Marks.Style = Steema.TeeChart.Styles.MarksStyles.XValue
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

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 Jul 23, 2008 7:49 am

Hi phil1995,

Sorry, I misunderstood your question, you should use this:

Code: Select all

			Bar1.Marks.Style = Steema.TeeChart.Styles.MarksStyles.Value
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

Post Reply