Jump to content
Software FX Community

scrolling in realtime charts

User (Legacy)

Recommended Posts

I'm using realtime charts with scrolling, But while I'm scrolling, I see the curve cutted, and parts of the legands being erased

I don't know why despite I'm using

AxChartFX1.TypeEx = AxChartFX1.TypeEx Or CfxTypeEx.CTE_SMOOTH

I tried to solve this by calling AxChartFX1.refreash() in the UserScroll event, but it does not work well

So how can I override this?

Link to comment
Share on other sites

A few things:

1) AxChartFX1.TypeEx = AxChartFX1.TypeEx Or CfxTypeEx.CTE_SMOOTH

Does NOT affect the behavior of the legend box. Refreshing the legend box frequently will cause flickering regardless of this setting.

2) When you say " I see the curve cutted" what do you mean ? can you provide with a sample program or screen shot ?



Software FX

Link to comment
Share on other sites

  • 8 months later...

I am getting the same thing.  Cutted lines (45 deg angle) will appear for 

about ten samples and then redraw into the actual line. I can't get a

screen shoot captured, as soon as I stop the graph, it will redraw.

Is there a buffer that has to be filled before updating the line that is

controllable? If I turn off evenspacing, then the graph will just jump by

every 10 samples.



Link to comment
Share on other sites

> as soon as I stop the graph, it will redraw

If the chart redraws is because you are making it redraw. Make sure you

eliminate all code that sets properties to chart wherever you are "stopping"

your real-time process. Also make sure no window comes on top of the chart

when this happens.

Are you using a Curve Chart ? Curve charts are not recommended for Real-Time

as the curvature of previous points is affected by new values. Use line

instead or you need to refresh the whole chart everytime you add a new




Software FX

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