Jump to content
Software FX Community

axis hide


User (Legacy)
 Share

Recommended Posts

AXIS_X is defined as 2.

--

Regards,

JC

"Michael" <gtcg@yahoo.com> wrote in message

news:RV3vHfoUBHA.2408@webserver1.softwarefx.com...

> using the activex control, I can go in, selecting Axes tab, X-Axis from

the

> dropdown and unchecking the visible checkbox.

>

> I can't seem to do this programmatically. I should be able to by using the

> following:

>

> Chart.Axis(3).Style = Chart.Axis(3).Style or AS_HIDE

>

> Any ideas?

>

>

Link to comment
Share on other sites

That does not work. "Ch.Axis(2).Style = Ch.Axis(2).Style or AS_HIDE" still

does not work, nor does "Ch.Axis(AXIS_X).Style = Ch.Axis(AXIS_X).Style or

AS_HIDE" as the documentation says it should.

I can get it to look the way I want it to look by editing using the ActiveX

control, but I still can't get it to work programmatically.

-Michael

"SoftwareFX Support" <support@softwarefx.com> wrote in message

news:SjXxy4oUBHA.2672@webserver1.softwarefx.com...

> AXIS_X is defined as 2.

>

> --

> Regards,

>

> JC

> "Michael" <gtcg@yahoo.com> wrote in message

> news:RV3vHfoUBHA.2408@webserver1.softwarefx.com...

> > using the activex control, I can go in, selecting Axes tab, X-Axis from

> the

> > dropdown and unchecking the visible checkbox.

> >

> > I can't seem to do this programmatically. I should be able to by using

the

> > following:

> >

> > Chart.Axis(3).Style = Chart.Axis(3).Style or AS_HIDE

> >

> > Any ideas?

> >

> >

>

>

Link to comment
Share on other sites

Solved with

Ch.Axis(2).visible = false

I guessed my way to it - didn't find it in the documentation anywhere !?!?

"Michael" <gtcg@yahoo.com> wrote in message

news:UAiihapUBHA.2672@webserver1.softwarefx.com...

> That does not work. "Ch.Axis(2).Style = Ch.Axis(2).Style or AS_HIDE" still

> does not work, nor does "Ch.Axis(AXIS_X).Style = Ch.Axis(AXIS_X).Style or

> AS_HIDE" as the documentation says it should.

>

> I can get it to look the way I want it to look by editing using the

ActiveX

> control, but I still can't get it to work programmatically.

>

> -Michael

>

>

>

> "SoftwareFX Support" <support@softwarefx.com> wrote in message

> news:SjXxy4oUBHA.2672@webserver1.softwarefx.com...

> > AXIS_X is defined as 2.

> >

> > --

> > Regards,

> >

> > JC

> > "Michael" <gtcg@yahoo.com> wrote in message

> > news:RV3vHfoUBHA.2408@webserver1.softwarefx.com...

> > > using the activex control, I can go in, selecting Axes tab, X-Axis

from

> > the

> > > dropdown and unchecking the visible checkbox.

> > >

> > > I can't seem to do this programmatically. I should be able to by using

> the

> > > following:

> > >

> > > Chart.Axis(3).Style = Chart.Axis(3).Style or AS_HIDE

> > >

> > > Any ideas?

> > >

> > >

> >

> >

>

>

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...