Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

picture box to plot a chart

Posted on 2000-04-01
8
Medium Priority
?
477 Views
Last Modified: 2008-03-17
hi experts,

I tried to plot data to a mschart control. I have to refresh the
chart control a lot time. but if I do this, the chart flickers.

I have read that I can use the picture box control.

can you give me an example of creating a chart with the picture
box control?

thanks

0
Comment
Question by:micha71
8 Comments
 
LVL 28

Accepted Solution

by:
AzraSound earned 1600 total points
ID: 2676884
you may find this interesting:
http://www.vbsquare.com/demos/graph-demo/
0
 

Expert Comment

by:TheMask
ID: 2676902
What type of chart you want to use ?
0
 

Author Comment

by:micha71
ID: 2676981
simple line charts containing three graphs
two linear (constant value vor max/min range)
 and one sine like.

do you have another suggestion to realize the
chart?
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 4

Expert Comment

by:gcs001
ID: 2677235
You could try to disable or make the chart invisible each time you want to refresh it and then re-enable/visible once refreshed - this should fix the flickering problem.

Abut using the picture box as a chart I'm not too sure how you would go about doing this, but I'm certain it must be possible.  Probably a lot of coding though, as you would have to probably draw all the lins yourself (within code).
0
 

Author Comment

by:micha71
ID: 2677314
sorry it doesn't work. setting to invisible makes it worst and setting the enabled property is the same as before
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2677322
are you refreshing it everytime it changes?  does its repaint property make it any better?
0
 

Author Comment

by:micha71
ID: 2679132
the features for the gaphlite control are very
poor, but its better then the flickering of the
chart control.

it was a very helpful tip.

lot thanks
0
 
LVL 28

Expert Comment

by:AzraSound
ID: 2679140
Anytime  =)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

783 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question