cannot set category labels for chart

V

Valeriy Kozlov

Hi all,
I have following problem - i can't set category labels for chart - I
have no idea how to do this. I need to set datetime values as labels for X
axis.

I use OWC11 lib, I checked SetData() method of Series object - there is no
corresponding value in Dimension enum.
CategoryLabels colection of Axis label is read-only, so I can't modify it.
:(
Any ideas how to implement this?

Thanks, Valeriy
 
A

Alvin Bruney - ASP.NET MVP

you need to manipulate the chlabels object attached to the category axis

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
 
V

Valeriy Kozlov

thanks for advice, but I could not find ChLabels object (neither in OWC 11
help, nor in drowdown list of VStudio).
There is only DataLabels property of ChDataLabels type in Series object

so I'm a bit confused :(



Alvin Bruney - ASP.NET MVP said:
you need to manipulate the chlabels object attached to the category axis

--
Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The Microsoft Office Web Components Black Book with .NET
Now Available @ www.lulu.com/owc
Forth-coming VSTO.NET - Wrox/Wiley 2006
-------------------------------------------------------



Valeriy Kozlov said:
Hi all,
I have following problem - i can't set category labels for chart - I
have no idea how to do this. I need to set datetime values as labels for
X
axis.

I use OWC11 lib, I checked SetData() method of Series object - there is
no
corresponding value in Dimension enum.
CategoryLabels colection of Axis label is read-only, so I can't modify it.
:(
Any ideas how to implement this?

Thanks, Valeriy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top