Jump to content
Software FX Community

axis hide


User (Legacy)

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

Archived

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

×
×
  • Create New...