Jump to content
Software FX Community

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


User (Legacy)
 Share

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

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