Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automating MSGraph
Message
From
14/09/2004 08:51:05
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Automating MSGraph
Miscellaneous
Thread ID:
00941870
Message ID:
00941870
Views:
63
I need help in removing a trendline on my graph. I phyisically added the trend line in my ole control on my form. Now when I run the form the trendline displays. I can't seem to find the right syntax to add to the rest of my automation code to remove it.

x123 = THISFORM.Olecontrol1.SeriesCollection(1)
x123.Trendlines.Add(1) &&Adds the trendline

But
x123.TrendLines.Item(1).Delete &&Will not remove it

And I can't find a way to remove it from the physical ole control either, just how to add one.
Next
Reply
Map
View

Click here to load this message in the networking platform