Chart TickLabels

T

Tom Youngquist

To All
Again trying to find documentation on chart with .NET but having trouble. Does anyone know how to set the "TickLabel
properties? I have been using the following code
MyChart1.Axes(0).TickLabels.NumberFormat = "$#,##0.00
and
MyChart1.Axes(0).TickLabels.Orientation = 4
but keep getting the error
Public member 'TickLabels' on type 'ChAxis' not found
Any ideas? Thank
Tom Youngquist
 
T

Thao Moua [ms]

The tick label is the little vertical tick mark on the category axis. From the looks of the code it seems you want to set the formatting on the value axis. If so then your code should just b

MyChart1.Axes(0).NumberFormat = "$#,##0.00
MyChart1.Axes(0).Orientation = 4

The Orientation property can only accept values {-90, 0, 90

Thao Mou
OWC Webchart Suppor

This posting is provided "AS IS" with no warranties, and
confers no rights. Use of included script samples are
subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top