Page 1 of 1

Marker Y axis data

Posted: Tue Jul 22, 2008 6:17 pm
by 9639571
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)

Posted: Wed Jul 23, 2008 7:26 am
by narcis
Hi phil1995,

Please try using this:

Code: Select all

			Bar1.Marks.Style = Steema.TeeChart.Styles.MarksStyles.XValue

Posted: Wed Jul 23, 2008 7:49 am
by narcis
Hi phil1995,

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

Code: Select all

			Bar1.Marks.Style = Steema.TeeChart.Styles.MarksStyles.Value