Jump to content
Software FX Community

Large real time charts using dll

User (Legacy)

Recommended Posts

When I try to change the number of values in a realtime chart the chart area 

automatically changes its size on the screen. I change this by setting the

MaxValues property to a new value. Because of this, when the chart area

becomes too big, something happens and it shrinks into a single vertical


I figure this has something to do with the CT_EVENSPACING flag.

If I place the chart on the dialog in the resource editor I can set the

number of values high but since I am creating the chart in runtime I have to

change this property after creating the chart object and thereby reducing

the chart to a single vertical line as mentioned before.

My question is if there is some way for me to lock the size of the charting

area so it does not change when I change the number of values?

If not what method do you suggest for creating a real time chart with about

5000 elements in runtime? If i exclude the CT_EVENSPACING flag the chart

flickers and takes up 100% of CPU when the number of values exceed 600.

I am using VC++ 6.0.


Erik Alsmyr erik.alsmyr@home.se

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...