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