OWC11- X Axes

K

ksyong17

Hi There,

I need to plot a graph using OWC11 with 52 weeks of values. However, I want
the x-axes to display values only in every month basis. In other words, I
want to see 52 points in the graph but only 12 months of date values on the
x-axes.

From my understanding, OWC needs to plot every single value using both
catogories and values together. In other words, the graph would show every
single week value in x-axes.
chart.Charts(0).SeriesCollection(0).SetData chConstants.chDimCategories,
chConstants.chDataLiteral, categories
chart.Charts(0).SeriesCollection(0).SetData chConstants.chDimValues,
chConstants.chDataLiteral, values

Any Idea of doing this??

Thanks
 
A

Alvin Bruney [ASP.NET MVP]

Have a look at the ticklabel and tickspacing objects.

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

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
 

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