Jump to content
Software FX Community

ClearLabels property causes error


User (Legacy)
 Share

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...