User (Legacy) Posted March 10, 2004 Report Share Posted March 10, 2004 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 More sharing options...
Software FX Posted March 10, 2004 Report Share Posted March 10, 2004 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 ? -- FP Software FX Link to comment Share on other sites More sharing options...
User (Legacy) Posted November 24, 2004 Author Report Share Posted November 24, 2004 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. Thanks, Jim Link to comment Share on other sites More sharing options...
Software FX Posted November 24, 2004 Report Share Posted November 24, 2004 > 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 point. -- FP Software FX Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.