Jump to content
Software FX Community

Re: X-axis lables not showing, except first one


User (Legacy)

Recommended Posts

Thanks for the tip Steve, but that didn't do it.  Here's what did though:

I think the problem stemmed from using COleDateTime (DATE variant) time

values as the x-values of the chart. Once I explicitly set the x-axis min

and max, major and minor step, and set the LabelValue to the same number as

the STEP value, the labels showed up on the major tick marks.

SteveT wrote in message ...

Try:

objChart1.Axis(AXIS_X).Style = AS_2LEVELS

or:

objChart1.Axis(AXIS_X).Style = AS_2LEVELS Or AS_SHOWENDS

to see if that will give the object more

room to place the labels.

Steve

Edward Evans <eevans@pacsim.com> wrote in message

news:FS##UcdIAHA.2224@sfxserver.softwarefx.com...

> Hi,

>

> I'm trying to set a text label for every point in my x/y chart. The

x-axis

> is AF_DATETIME formatted.

>

> Only the very first label is shown. On a lark, I set the x values to the

> integers 0,1,2,...,n rather than their usual OLE data time values, and

then

> all the labels showed up. There also seems to be some relationship

between

> the axis min and max and the labels disappearing, but I can't nail it

down.

>

> Any ideas?

>

> Thanks,

>

> Ed Evans

>

>

>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...