Hi, everybody!
I'm working in Visual Basic 6 (NOT for excel application). I'm quite new in this and I'm trying to plot some curves in a graph. The point is that when I plot the curve the second time, the curve for the first time is still there!!! And I don't know how to erase it. I tried with "erase" command, but it doesn't work. I thought that maybe with "mychart.clear" or something like that could work, but there is not "clear" command to do that.
Any help??
Thanks in advance.
mariegomez84
0
Newbie Poster
Recommended Answers
Jump to PostIt would depend on what 'chart' you are using....is it MSChart from the MSChart Control (MSCHRT20.ocx)?
If so did you try:
myChart.Data = 0
Let me know if that works for you :)
Jump to PostHi,
If MSChart then, you can also use :
MSChart1.ToDefaults
Regards
Veena
Jump to PostOK Marie,
Let's backup first;
Exactly which Chart object are you using and is that object currently residing on a VB form?
If MSChart as I mentioned aboce, what 'chartType' have you set it for?
Can you post some of the code; I'll be happy to …
All 10 Replies
themaj
10
Newbie Poster
QVeen72
104
Posting Shark
mariegomez84
0
Newbie Poster
themaj
10
Newbie Poster
mariegomez84
0
Newbie Poster
themaj
10
Newbie Poster
mariegomez84
0
Newbie Poster
themaj
10
Newbie Poster
mariegomez84
0
Newbie Poster
mariegomez84
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.