Highlighting a point on a OWC chart

V

Vinayan3

Hi,
I was wondering if it was possible to hightlight a point on a OWC
chart. I have a chart of a function y = x from 0 - 10. I want to make a
red dot or some type of highlighting at x = 2, and y = 2. Is this
possible?
 
A

Alvin Bruney - ASP.NET MVP

yup, have a look at the chpoints object.

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

Vinayan3

Hi,
I have taken a look at the object and I'm having trouble manipulating
the data. I attempted to change the color of a specific point by doing
this:
Chart1_Series1.Points(tempIndex).Interior.SetSolid("RED")

I accessed the series's point collection at a specific index, then set
the interior to a solid color. However, on screen I see no difference.
All the points are still blue.
I attempted to set all the points to red by using
Chart1_Series1.Interior.Color = "red"
I assumed that if I set the interior color of the series then all the
points should turn red. However the chart on screen remains blue.
Any help?
Thank you,
Vinay
 

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