picture box to plot a chart

Posted on 2000-04-01
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?


Question by:micha71
LVL 28

Accepted Solution

AzraSound earned 400 total points
ID: 2676884
you may find this interesting:

Expert Comment

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

Author Comment

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


Expert Comment

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

Author Comment

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

Expert Comment

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

Author Comment

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

Expert Comment

ID: 2679140
Anytime  =)

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