Conditional Formatting a Chart

A

Andrew Ofthesong

Hi... i found that OWC10 don't have these 2 properties for a .Serie object
(as does VBA): .XValues and .Value

So how can i get the values being represented by each point?

I'm programming a OWC chart, and i want to format each column conditionally
to a value...

Thanks,
 
T

Thao Moua [ms]

To get the value from each point, you need to execute
this code:

set c=webchart.constants
msgbox webchart.charts(0).seriescollection(0).points
(0).getvalue(c.chDimValues)

Depending on what chart type the series is, you'll need
to change the GetValue() method's argument.


Thao Moua
OWC Webchart Support

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.htm
 

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