Show Y axis data instead of X on barchart

TeeChart for ActiveX, COM and ASP
Post Reply
phil1995
Newbie
Newbie
Posts: 31
Joined: Fri Dec 16, 2005 12:00 am
Location: Hattiesburg, Ms.
Contact:

Show Y axis data instead of X on barchart

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

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(8)), "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:36 am

Hi phil1995,

Please see my reply at the other thread you posted.
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