Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

picture box to plot a chart

Posted on 2000-04-01
8
Medium Priority
?
474 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Hire Technology Freelancers with Gigs

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

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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 process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

722 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