Click to See Complete Forum and Search --> : how to use own labels with MSchart


faamugol
03-26-2004, 04:58 AM
Dear guys,

I have a MSchart in ASP page and I want to know if it is possible to use my own labels on the Xas. I mean to show the text a have defined myself on the Xas.

Thank you for any reaction

buntine
03-26-2004, 05:55 AM
You will have to use the AxisTitle.text property.

Hmm. After some searching, i have found that Microsoft have a good tutorial/example at the MSDN site. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mschrt/html/vbobjVtChartObject.asp

Regards,
Andrew Buntine.

faamugol
03-26-2004, 06:35 AM
thank you buntine for all the your time,

I have seen the example....it works very good

In my case I want specify the Labels on the Xas with one string, not to give "June", "August", "September" at the same time as the data in the MSchart because later I want to change
only the Labels on the Xas with a my own string like 1, 2, 3 intead of "June", "August", "September".

with other words somthing like:

MSChart1(1).RowLabelIndex(1).RowLabel = "tex1"
MSChart1(1).RowLabelIndex(2).RowLabel = "tex2"
MSChart1(1).RowLabelIndex(3).RowLabel = "tex3"

PS it just what I think but it' not working

Thank you for any reaction