Peter T
12/19/2006 3:00:00 PM
Hi Alok,
Thanks for looking but I think I'm on the way with Jon's tip to compare
arrays of XValues with respective CategoryNames.
Regards,
Peter T
"Alok" <Alok@discussions.microsoft.com> wrote in message
news:3FBFC2E9-78FF-4F92-BA52-FE6E7EC8404C@microsoft.com...
> Peter
> Just a suggestion. As you are probably aware when the chart displays
> x-values they are always numeric. On the other hand category labels can
> either be numeric or alphanumeric. If in your situation you can either
ensure
> that Category Labels are always alphanumeric then you can do this test on
the
> first Category Label
>
> if TypeName(ActiveChart.Axes(xlCategory,
> xlPrimary).CategoryNames(1))="String" then
> Msgbox "Category Labels are actual labels"
> else
> Msgbox "Category Labels are numeric values"
> End if
>
> Alok
>
>
> "Peter T" wrote:
>
> > Hi All,
> >
> > First to pre-empt confusion, there's a potential difference between
terms
> > XValues and x-values in the following.
> >
> > Typically series XValues are 1st or 2nd Category X-axis labels. However
in
> > some types of charts the XValues are actual x-values, not labels.
> >
> > In the chart wizard category labels are shown at the bottom of the
dialog.
> > Labels are common to the chart rather than individual series. If a
series
> > does not have its 'own' x-values it's XValues are labels related to its
> > AxisGroup (xlPrimary or xlSecondary).
> >
> > X-values are shown in the box between Name & Y-Values, mid right of the
> > dialog (the box only appears if the series is capable of having its
'own'
> > x-values). These are unique to the series.
> >
> > If a series has XValues I want to determine if these are its own
x-values as
> > distinct from common category labels.
> >
> > Regards,
> > Peter T
> >
> >
> >