Solved

picture box to plot a chart

Posted on 2000-04-01
8
463 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 400 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
Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

 
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

774 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