Jump to content
Software FX Community

ClearLabels property causes error

User (Legacy)

Recommended Posts

Is the data that you use for the x-axis numerical or categorical??  I

believe that the ClearLabels method only clears the categorical labels, not

the entire label itself. When you use ClearLabels on a categorical axis, it

prints numbers that represent the data number. If you want to get rid of

any label entirely on a certain axis, use the Style property for the axis.

ChartFX1.Axis(AXIS_X).Style = AS_HIDETEXT

That will clear the labels from your x-axis. Then you'll have to also not

show the tick marks if you don't want those either.

Hope this helps.

Blair Allen

"Sripresanna Narayanasamy" <presannan@ARTHRITIS.ARIZONA.EDU> wrote in

message news:NZBCWbw7CHA.2164@webserver1.softwarefx.com...

> Hi,


> I do not want to diplay labels on the X-Axis in Gantt charts and so use


> ChartFX1.Axis(AXIS_X).ClearLabels;


> But a run time error occurs:


> Microsoft JScript runtime (0x800A01B6)

> Object doesn't support this property or method


> Can you help ?

> Thanks,

> Sri





Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...