Displaying Average Not Sum For Values and Grouping

T

Tim McGue

I am creating an OWC 11.0 chart. The series is coming up as a SUM of the values. I want it to be an AVERAGE. I also want to group the timescale axis on hours and days. How can I do these things programatically

Thank You
Tim McGue
 
T

Thao Moua [ms]

Use this cod

set c=Chartspace.constant
Chartspace.charts(0).axes(c.chCategoryAxis).GroupingTotalFunction =c.chfunctionav
Chartspace.charts(0).axes(c.chCategoryAxis).GroupingUnitType = c.chAxisUnitDay

Chartspace does not support grouping by Hours. We only support Day, Month, Quarter, Week, and Year.

Thao Mou
OWC Webchart Suppor

This posting is provided "AS IS" with no warranties, and
confers no rights. Use of included script samples are
subject to the terms specified at
http://www.microsoft.com/info/cpyright.ht

----- Tim McGue wrote: ----

I am creating an OWC 11.0 chart. The series is coming up as a SUM of the values. I want it to be an AVERAGE. I also want to group the timescale axis on hours and days. How can I do these things programatically

Thank You
Tim McGue
 

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